home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / programm / 12533 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  1.5 KB

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