home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / UnzpHist.zip / History.315 < prev    next >
Text File  |  1990-09-06  |  3KB  |  65 lines

  1. v3.15 BETA, 6 Sep 90
  2. *******************
  3.  
  4. From: jpd@pc.usl.edu (Dugal James P.)
  5. Date: Wed, 5 Sep 90 15:03:10 -0500
  6. To: info-zip@wsmr-simtel20.army.mil
  7. Subject: 3.14 Makefile diff for Pyramid
  8.  
  9. The recent change regarding -DZMEM necessitated the following change
  10. for the pyramid entry in the Makefile.  I also tried #defining
  11. memcpy as bcopy and memset as a conditional bzero, but the payback was
  12. minimal for the added complexity in unzip.h.  And using the att universe
  13. which knows about mem* routines led to a bigger and slower binary!
  14. -- James Dugal, jpd@usl.edu
  15. =========================================================
  16. *** Makefile.orig    Wed Sep  5 14:42:29 1990
  17. --- Makefile    Wed Sep  5 14:52:07 1990
  18. [posted to Makefile, saved as MakeDiff.315 in patches archive]
  19.  
  20. ...................
  21.  
  22. Date: Thu, 30 Aug 90 09:58:35 -0500
  23. From: jpd@pc.usl.edu (Dugal James P.)
  24. To: kirsch@usasoc.soc.mil
  25. Subject: expls122.zip problem fixed [I think]
  26.  
  27. David, I believe I have fixed the problem with unshrink that expls122.zip
  28. revealed.  At least, it seems to work and hasn't failed on any other zipfiles
  29. I've tried.  The problem is that I am not an LZW expert!  So let me describe
  30. the symptoms of the problem so that others may judge my solution:
  31.  
  32. In line 120 of unshrink.c, code is assigned prefix_of[code].  This results
  33. in a value of -1 when outcnt is near 1775 in processing EXPLOSIV.COM.
  34. Later at line 123 finchar is assigned suffix_of[code], so an illegal index
  35. of -1 is used.  Based on the code up at line 112, which deals with the -1
  36. case, I made the following changes [context diff follows]:
  37.  
  38. *** unshrink.c.orig    Wed Aug 29 17:31:39 1990
  39. --- unshrink.c    Wed Aug 29 18:12:46 1990
  40. [posted to unshrink.c, saved as unshrink.315 in patches archive]
  41.  
  42. ................
  43.  
  44. Date: Thu, 30 Aug 90 10:38:01 EDT
  45. From: Larry Jones <sdrc!scjones%thor@uunet.UU.NET>
  46. Subject: Created Directory mode
  47.  
  48. I just noticed that the code in mapname.c to create directories
  49. uses a mode of 0755.  This seems inappropriate to me.  Since
  50. mkdir always removes any permissions specified in the current
  51. umask just like creat does, I propose that we change it to
  52. mode 0777.  This would be in keeping with using mode 0666 on
  53. the creat in file_io.c.  Any other opinions?
  54.  
  55. From: jpd@pc.usl.edu (Dugal James P.)
  56. Subject: Re: Created Directory mode
  57.  
  58. Larry, changing to 0777 is OK by me!  I guess it is more in
  59. keeping with the Unix traditions.  But woe to he who hasn't learned
  60. about setting umask!
  61.  
  62. So: 0777 mode posted to mapname.c, saved as dirmode.315 in patches archive.
  63. David Kirschbaum
  64.  
  65.