home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!uvaarpa!adastra!mbs
- From: mbs@adastra.cvl.va.us (Michael B. Smith)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: compress for amiga-FOUND! Where is uncompress?
- Message-ID: <mbs.0vkh@adastra.cvl.va.us>
- Date: 21 Aug 92 10:51:40 GMT
- References: <1992Aug13.193129.29796@CS.ORST.EDU> <1992Aug13.215928.19059@fcom.cc.utah.edu> <1992Aug21.063726.26546@midway.uchicago.edu>
- Distribution: usa
- Organization: Private UUCP Node
- Lines: 19
- X-NewsSoftware: GRn 1.16f (beta) by Mike Schwartz & Michael B. Smith
-
- In article <1992Aug21.063726.26546@midway.uchicago.edu> dgc3@ellis.uchicago.edu (milovan djilas) writes:
- > BTW, I tried to compile Unix compress with GCC, and it has no problem
- > with hanging. However, when time comes to remove the old file (i.e.,
- > the file you're compressing or decompressing), it says
- > "compressedfile.Z: File exists" (no .Z if I'm compressing). My guess
- > is that something's wrong with either the ixemul.library's unlink(),
- > or compress.c's use of it, although I haven't investigated this much.
-
- compress.c tries to do the unlink() while the file is still open. AmigaDOS
- declares this function illegal (object is in use, is the specific error).
-
- Later versions of ixemul.library try to deal with this more intelligently
- (if the file is open, it closes it under many circumstances).
-
- This is one of the things that has to be looked for when porting Unix code
- to the Amiga....
- --
- // Michael B. Smith
- \X/ mbs@adastra.cvl.va.us -or- uunet.uu.net!virginia.edu!adastra!mbs
-