home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 17710 < prev    next >
Encoding:
Internet Message Format  |  1992-11-24  |  1.6 KB

  1. Path: sparky!uunet!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!ariel.ucs.unimelb.EDU.AU!not-for-mail
  2. From: duty@ariel.ucs.unimelb.EDU.AU (Duty Programmer)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: GNU (?) compress (4.0.1) -c bug
  5. Date: 24 Nov 1992 10:38:15 +1100
  6. Organization: Information Technology Services, University of Melbourne
  7. Lines: 22
  8. Sender: rab@tauon.ph.unimelb.EDU.AU
  9. Distribution: world
  10. Message-ID: <1erq17INNe6u@ariel.ucs.unimelb.EDU.AU>
  11. References: <1epqqeINN3s7@ariel.ucs.unimelb.EDU.AU>
  12. Reply-To: rab@tauon.ph.unimelb.EDU.AU
  13. NNTP-Posting-Host: ariel.ucs.unimelb.edu.au
  14.  
  15. In article <1epqqeINN3s7@ariel.ucs.unimelb.EDU.AU> rab@tauon.ph.unimelb.EDU.AU writes:
  16. >The 'bug' is this: (un)compress has a '-c' switch, which is supposed
  17. >to mean "write output on standard output, don't delete original".
  18. >When used with compress, '-c' makes compress act like zcat.
  19.  
  20. Actually, now that i have looked at this more closely, it seems the bug
  21. is not in the compress source code itself. In fact, it works quite
  22. happily on our AIX system. Even worse, it works just fine when run
  23. under gdb, but displays the error when run stand-alone (-g or not).
  24.  
  25. Very strange, and rather tricky to know what's going on ... Maybe my
  26. argv is getting overwritten somewhere?
  27.  
  28. I'll throw in some printf's and see what's going on ... BTW, this is with
  29. gcc 2.2.2d and linux 0.98 pl5.
  30.  
  31. rab
  32. ------------------------------------------------------------------------
  33. Richard Brown                     | E-mail: rab@tauon.ph.unimelb.EDU.AU
  34. School of Physics                 | Phone : +61 3 344 5081
  35. University of Melbourne           | Fax   : +61 3 347 4783
  36. Parkville Victoria AUSTRALIA 3052 | Telex : AA35185
  37.