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