🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #851

tar-1.11

#851
From: Frank Warmerdam
Date: Tue, 15 Sep 1992 04:53
31 lines
1864 bytes
Gentlemen,

I have succesfully built GNU tar 1.11 under IRIX 4.0.1, and run into
a problem with the simple command "tar cvf src.tar rmt.c".  From dbx
I see the following:

(dbx) where
>  0 quote_copy_string(string = (nil)) ["/usr/r_d/warmerdam/tar-1.11/port.c":784, 0x410094]
   1 print_header() ["/usr/r_d/warmerdam/tar-1.11/list.c":536, 0x40d304]
   2 finish_header(header = 0x10018008) ["/usr/r_d/warmerdam/tar-1.11/create.c":1276, 0x404bcc]
   3 dump_file(p = 0x7fffc7f0 = "tar.c", curdev = -1, toplevel = 1) ["/usr/r_d/warmerdam/tar-1.11/create.c":488, 0x403434]

(the stack seems to have been corrupted since the trace does not go
 all the way back up to main())

The problem seems to be producing verbose output while _creating_ an
archive.  The global current_file_name is NULL.  I tried tracing the
use of current_file_name to find out why, but became rather frustrated.
The only place I can that the pointer current_file_name is actually
set is in list.c, function read_header() which does not seem to be
invoked when creating an archive.

If you have any trouble reproducing this error please feel free to ask
for more details.  I will get the code and executables handy for 
a few days.  

Later,

-------------------------------------------------------------------------------
Frank Warmerdam | Who can give them back their lives | warmerda@pci.on.ca    
Software Artist | and all those wasted years? - Rush | 
Technical Details
Message-ID: <m0mUcP2-0007ZoC@pci.on.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!know!hri.com!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pci.on.CA!warmerda

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!know!hri.com!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pci.on.CA!warmerda
From: warmerda@pci.on.CA (Frank Warmerdam)
Newsgroups: gnu.utils.bug
Subject: tar-1.11
Message-ID: <m0mUcP2-0007ZoC@pci.on.ca>
Date: 15 Sep 92 04:53:00 GMT
Sender: gnulists@ai.mit.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 31
Approved: bug-gnu-utils@prep.ai.mit.edu