[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::fortran

Title:Digital Fortran
Notice:Read notes 1.* for important information
Moderator:QUARK::LIONEL
Created:Thu Jun 01 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1333
Total number of notes:6734

1162.0. "Null character in .lis file" by HYDRA::NEWMAN (Chuck Newman, 508/467-5499 (DTN 297), MRO1-3/F26) Wed Feb 05 1997 14:19

I compile -migrate -source_listing -machine_code to get a
listing file.  I tried doing dxdiff on a couple of these .lis
files and got a "syntax error" message from dxdiff.

Turns out there is a null character at the end of the listing
file name (with the -V option).  See it here as "^@" in the
following extract.

								-- Chuck Newman

  -I    path : .f,.for,.FOR,,/usr/include/.f,/usr/include/.for,/usr/include/.FOR,/usr/include/
  -V    filename : test_fixup.lis^@
  -o    filename : test_fixup.o
  -ana  filename : none
  -diag filename : none
  -feedback file : none
T.RTitleUserPersonal
Name
DateLines
1162.1I can see that too - but not in viTLE::WHITLOCKStan WhitlockWed Feb 05 1997 16:443
I see this with f77... we'll take a look and get it fixed.

Thanks			/Stan
1162.2Thanks. I can use vi and the w! command to "fix" the file.HYDRA::NEWMANChuck Newman, 508/467-5499 (DTN 297), MRO1-3/F26Thu Feb 06 1997 09:485
You don't see it in vi, but vi does tell you that there was a null character.
I used an NFS mounted disk and looked at it in EDT on OpenVMS.  A good DUMP
utility on Unix, if there were one, would have been another way.

								-- Chuck Newman
1162.3QUARRY::nethCraig NethThu Feb 06 1997 10:174
> A good DUMP
>utility on Unix, if there were one, would have been another way.

od -a?
1162.4Yup, that does itHYDRA::NEWMANChuck Newman, 508/467-5499 (DTN 297), MRO1-3/F26Thu Feb 06 1997 10:507
0044420    e   /  nl  sp  sp   -   V  sp  sp  sp  sp   f   i   l   e   n
0044440    a   m   e  sp   :  sp   f   i   x   u   p   _   i   n   t   .
0044460    l   i   s nul  nl  sp  sp   -   o  sp  sp  sp  sp   f   i   l

		      ^
		      |
		There's the null		      
1162.5TLE::LUCIAhttp://asaab.zko.dec.com/~lucia/biography.htmlThu Feb 06 1997 11:023
I noticed this recently also, emacs will show it as \000.

Tim
1162.6TLE::EKLUNDAlways smiling on the inside!Thu Feb 06 1997 13:037
    	I've analyzed the bug, and have passed it along the the
    right group.  There is no workaround I can see (the user has
    no way to affect the behavior).
    
    Cheers!
    Dave Eklund
    
1162.7FixedTLE::EKLUNDAlways smiling on the inside!Thu Feb 06 1997 18:025
    	Fixed.  Should appear in a future kit.
    
    Cheers!
    Dave Eklund