home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / misc / volume29 / unzip / part12 < prev    next >
Encoding:
Text File  |  1992-04-02  |  49.0 KB  |  1,554 lines

  1. Newsgroups: comp.sources.misc
  2. From: info-zip@cs.ucla.edu (Info-Zip)
  3. Subject:  v29i042:  unzip - Info-ZIP's portable UnZip v4.2, Part12/12
  4. Message-ID: <1992Apr3.063434.29441@sparky.imd.sterling.com>
  5. X-Md4-Signature: 5a155f5c7510be19d240b4487df26a4c
  6. Date: Fri, 3 Apr 1992 06:34:34 GMT
  7. Approved: kent@sparky.imd.sterling.com
  8.  
  9. Submitted-by: info-zip@cs.ucla.edu (Info-Zip)
  10. Posting-number: Volume 29, Issue 42
  11. Archive-name: unzip/part12
  12. Environment: Unix, VMS, OS/2, MS-DOS, Amiga, Macintosh
  13. Supersedes: unzip, Volume 19, Issues 96-101
  14.  
  15. #! /bin/sh
  16. # This is a shell archive.  Remove anything before this line, then feed it
  17. # into a shell via "sh file" or similar.  To overwrite existing files,
  18. # type "sh file -c".
  19. # The tool that generated this appeared in the comp.sources.unix newsgroup;
  20. # send mail to comp-sources-unix@uunet.uu.net if you want that tool.
  21. # Contents:  AMIGA/Contents AMIGA/DMakefile AMIGA/DMakefile.cr
  22. #   AMIGA/lmkfile AMIGA/lmkfile.cr AMIGA/patch.pw AMIGA/readme.pw
  23. #   ATARI/Contents ATARI/Makefile.st ATARI/makeit ATARI/unzip.lnk
  24. #   ATARI/unzip.prj MAC/Contents MAC/macstat.h MAC/make.aztec.uu
  25. #   MSDOS/bcc/makeship.bat.u
  26. #   MSDOS/bcc/unz42_bc.dif MSDOS/bcc/unzip.dsk.uu MSDOS/bcc/unzip.mak
  27. #   MSDOS/bcc/unzip_cr.dsk.u MSDOS/bcc/unzip_cr.mak
  28. #   MSDOS/bcc/zipinfo.dsk.uu MSDOS/bcc/zipinfo.mak
  29. #   MSDOS/tcc/makeship.bat.u MSDOS/tcc/unzip.prj
  30. #   MSDOS/tcc/unzip_cr.prj OS2/ship.def OS2/unzip.cs OS2/unzip.def.uu
  31. #   OS2/zipinfo.cs OS2/zipinfo.def.uu VMS/Contents VMS/VMSmunch.h
  32. #   VMS/bilf/make_bilf.com VMS/crypt/make_unzip_vaxc.com VMS/fjndef.h
  33. #   VMS/make_unzip_gcc.com VMS/vmsshare.opt cray.dif zip.h
  34. # Wrapped by kent@sparky on Mon Mar 30 01:45:57 1992
  35. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  36. echo If this archive is complete, you will see the following message:
  37. echo '          "shar: End of archive 12 (of 12)."'
  38. if test -f 'AMIGA/Contents' -a "${1}" != "-c" ; then 
  39.   echo shar: Will not clobber existing file \"'AMIGA/Contents'\"
  40. else
  41.   echo shar: Extracting \"'AMIGA/Contents'\" \(1318 characters\)
  42.   sed "s/^X//" >'AMIGA/Contents' <<'END_OF_FILE'
  43. XContents of the AMIGA sub-archive for UnZip 4.2 and later:
  44. X
  45. X  Contents      this file
  46. X  DMakefile     DICE compiler makefile for regular UnZip
  47. X  DMakefile.cr  DICE compiler makefile for UnZip with decryption (need crypt.c)
  48. X  lmkfile       SAS/C makefile for regular UnZip
  49. X  lmkfile.cr    SAS/C makefile for UnZip with decryption (need crypt.c)
  50. X  patch.pw      Paul Wells _TZ patch, subsequently modified (see below)
  51. X  readme.pw     Paul Wells comments
  52. X  stat.c        stat() function for Paul Wells port
  53. X  utime.c       utime() function for Paul Wells port
  54. X
  55. XNotes:  Paul Wells' original Amiga port for SAS/C and Lattice C (I think)
  56. Xwas subsequently modified for another compiler (probably DICE by Georg
  57. XSassen), and possibly no longer compiles under the original compilers.
  58. XThe suspect code is in file_io.c and has to do with Paul's _TZ code, which
  59. Xis presently commented out and replaced by a specialized SetFileDate call.
  60. XThe file patch.pw will give you some idea of how the code originally looked.
  61. XPresumably all three compilers have predefined macros which identify them,
  62. Xso there need not be any conflict; but there may be one at the moment.
  63. X
  64. XNote also that the DICE compiler version does not require either of the
  65. Xtwo source files included here, and that none of the Amiga stuff has been
  66. Xtested since UnZip 4.1.
  67. END_OF_FILE
  68.   if test 1318 -ne `wc -c <'AMIGA/Contents'`; then
  69.     echo shar: \"'AMIGA/Contents'\" unpacked with wrong size!
  70.   fi
  71.   # end of 'AMIGA/Contents'
  72. fi
  73. if test -f 'AMIGA/DMakefile' -a "${1}" != "-c" ; then 
  74.   echo shar: Will not clobber existing file \"'AMIGA/DMakefile'\"
  75. else
  76.   echo shar: Extracting \"'AMIGA/DMakefile'\" \(715 characters\)
  77.   sed "s/^X//" >'AMIGA/DMakefile' <<'END_OF_FILE'
  78. X# DMakefile for UnZip 4.2 with Amiga DICE compiler
  79. X# Version:  no crypt + no inflate   [29 Feb 92]
  80. X#
  81. X# Not tested for v4.2.  Edit directories as required.
  82. X#
  83. X#Georg Sassen, D-5100 Aachen,+49-241-875158 subnet: georg@bluemoon.tunix.sub.org
  84. X#georg@bluemoon.GUN.de, georg@cip-s01.informatik.rwth-aachen.de, 2:242/7.11@fido
  85. X
  86. XEXE = DH0:bin/unzip
  87. XOD  = dtmp:unzip/
  88. XSRC1 = unzip.c extract.c file_io.c mapname.c match.c misc.c
  89. XSRC2 = unimplod.c unreduce.c unshrink.c
  90. XSRCS = $(SRC1) $(SRC2)
  91. XCFLAGS = -mD
  92. XOBJS = $(SRCS:"*.c":"$(OD)*.o") $(SRCS:"*.a":"$(OD)*.o")
  93. X
  94. Xall : $(EXE)
  95. X
  96. X$(OBJS) : $(SRCS) unzip.h
  97. X    dcc $(CFLAGS) -c -o %(left) %(right)
  98. X
  99. X$(EXE) : $(OBJS)
  100. X    dcc $(CFLAGS) -o %(left) %(right)
  101. X
  102. Xclean:
  103. X    rm -v $(OBJS)
  104. END_OF_FILE
  105.   if test 715 -ne `wc -c <'AMIGA/DMakefile'`; then
  106.     echo shar: \"'AMIGA/DMakefile'\" unpacked with wrong size!
  107.   fi
  108.   # end of 'AMIGA/DMakefile'
  109. fi
  110. if test -f 'AMIGA/DMakefile.cr' -a "${1}" != "-c" ; then 
  111.   echo shar: Will not clobber existing file \"'AMIGA/DMakefile.cr'\"
  112. else
  113.   echo shar: Extracting \"'AMIGA/DMakefile.cr'\" \(734 characters\)
  114.   sed "s/^X//" >'AMIGA/DMakefile.cr' <<'END_OF_FILE'
  115. X# DMakefile for UnZip 4.2 with Amiga DICE compiler
  116. X# Version:  crypt + no inflate   [29 Feb 92]
  117. X#
  118. X# Not tested for v4.2.  Edit directories as required.
  119. X#
  120. X#Georg Sassen, D-5100 Aachen,+49-241-875158 subnet: georg@bluemoon.tunix.sub.org
  121. X#georg@bluemoon.GUN.de, georg@cip-s01.informatik.rwth-aachen.de, 2:242/7.11@fido
  122. X
  123. XEXE = DH0:bin/unzip
  124. XOD  = dtmp:unzip/
  125. XSRC1 = unzip.c crypt.c extract.c file_io.c mapname.c match.c misc.c
  126. XSRC2 = unimplod.c unreduce.c unshrink.c
  127. XSRCS = $(SRC1) $(SRC2)
  128. XCFLAGS = -mD -DCRYPT
  129. XOBJS = $(SRCS:"*.c":"$(OD)*.o") $(SRCS:"*.a":"$(OD)*.o")
  130. X
  131. Xall : $(EXE)
  132. X
  133. X$(OBJS) : $(SRCS) unzip.h zip.h
  134. X    dcc $(CFLAGS) -c -o %(left) %(right)
  135. X
  136. X$(EXE) : $(OBJS)
  137. X    dcc $(CFLAGS) -o %(left) %(right)
  138. X
  139. Xclean:
  140. X    rm -v $(OBJS)
  141. END_OF_FILE
  142.   if test 734 -ne `wc -c <'AMIGA/DMakefile.cr'`; then
  143.     echo shar: \"'AMIGA/DMakefile.cr'\" unpacked with wrong size!
  144.   fi
  145.   # end of 'AMIGA/DMakefile.cr'
  146. fi
  147. if test -f 'AMIGA/lmkfile' -a "${1}" != "-c" ; then 
  148.   echo shar: Will not clobber existing file \"'AMIGA/lmkfile'\"
  149. else
  150.   echo shar: Extracting \"'AMIGA/lmkfile'\" \(1346 characters\)
  151.   sed "s/^X//" >'AMIGA/lmkfile' <<'END_OF_FILE'
  152. X# Makefile for UnZip 4.2 using SAS/C 5.10a
  153. X# [no crypt + no inflate]
  154. X#
  155. X# Not tested since UnZip 4.1.  May need to change directory names for stat.c
  156. X# and utime.c.
  157. X
  158. X#####################
  159. X# MACRO DEFINITIONS #
  160. X#####################
  161. X
  162. XCC = lc
  163. XCFLAGS = -O -DUNIX -v -m0t -cuaisfr -rr
  164. XLD = blink
  165. XLDFLAGS = TO unzip FROM LIB:c.o
  166. XLDFLAGS2 = LIB LIB:lc.lib LIB:amiga.lib
  167. XEXE =
  168. XO = .o
  169. XOBJS = unzip$O extract$O file_io$O mapname$O match$O misc$O\
  170. X       unimplod$O unreduce$O unshrink$O utime$O stat$O
  171. X
  172. X###############################################
  173. X# BASIC COMPILE INSTRUCTIONS AND DEPENDENCIES #
  174. X###############################################
  175. X
  176. X.c$O :
  177. X        $(CC) -o$@ $(CFLAGS) $*.c
  178. X
  179. Xunzip$(EXE):    $(OBJS)
  180. X        $(LD) $(LDFLAGS) $(OBJS) $(LDFLAGS2)
  181. X
  182. Xunzip$O:        unzip.c unzip.h
  183. Xcrypt$O:        crypt.c unzip.h zip.h    # may or may not be in distribution
  184. Xextract$O:      extract.c unzip.h
  185. Xfile_io$O:      file_io.c unzip.h
  186. Xinflate$O:      inflate.c unzip.h    # may or may not be in distribution
  187. Xmapname$O:      mapname.c unzip.h
  188. Xmatch$O:        match.c unzip.h
  189. Xmisc$O:         misc.c unzip.h
  190. Xunimplod$O:     unimplod.c unzip.h
  191. Xunreduce$O:     unreduce.c unzip.h
  192. Xunshrink$O:     unshrink.c unzip.h
  193. Xstat$O:         amiga/stat.c    # may need to change or remove directory name
  194. Xutime$O:        amiga/utime.c    # may need to change or remove directory name
  195. END_OF_FILE
  196.   if test 1346 -ne `wc -c <'AMIGA/lmkfile'`; then
  197.     echo shar: \"'AMIGA/lmkfile'\" unpacked with wrong size!
  198.   fi
  199.   # end of 'AMIGA/lmkfile'
  200. fi
  201. if test -f 'AMIGA/lmkfile.cr' -a "${1}" != "-c" ; then 
  202.   echo shar: Will not clobber existing file \"'AMIGA/lmkfile.cr'\"
  203. else
  204.   echo shar: Extracting \"'AMIGA/lmkfile.cr'\" \(1359 characters\)
  205.   sed "s/^X//" >'AMIGA/lmkfile.cr' <<'END_OF_FILE'
  206. X# Makefile for UnZip 4.2 using SAS/C 5.10a
  207. X# [crypt + no inflate]
  208. X#
  209. X# Not tested since UnZip 4.1.  May need to change directory names for stat.c
  210. X# and utime.c.
  211. X
  212. X#####################
  213. X# MACRO DEFINITIONS #
  214. X#####################
  215. X
  216. XCC = lc
  217. XCFLAGS = -O -DUNIX -DCRYPT -v -m0t -cuaisfr -rr
  218. XLD = blink
  219. XLDFLAGS = TO unzip FROM LIB:c.o
  220. XLDFLAGS2 = LIB LIB:lc.lib LIB:amiga.lib
  221. XEXE =
  222. XO = .o
  223. XOBJS = unzip$O crypt$O extract$O file_io$O mapname$O match$O misc$O\
  224. X       unimplod$O unreduce$O unshrink$O utime$O stat$O
  225. X
  226. X###############################################
  227. X# BASIC COMPILE INSTRUCTIONS AND DEPENDENCIES #
  228. X###############################################
  229. X
  230. X.c$O :
  231. X        $(CC) -o$@ $(CFLAGS) $*.c
  232. X
  233. Xunzip$(EXE):    $(OBJS)
  234. X        $(LD) $(LDFLAGS) $(OBJS) $(LDFLAGS2)
  235. X
  236. Xunzip$O:        unzip.c unzip.h
  237. Xcrypt$O:        crypt.c unzip.h zip.h    # may or may not be in distribution
  238. Xextract$O:      extract.c unzip.h
  239. Xfile_io$O:      file_io.c unzip.h
  240. Xinflate$O:      inflate.c unzip.h    # may or may not be in distribution
  241. Xmapname$O:      mapname.c unzip.h
  242. Xmatch$O:        match.c unzip.h
  243. Xmisc$O:         misc.c unzip.h
  244. Xunimplod$O:     unimplod.c unzip.h
  245. Xunreduce$O:     unreduce.c unzip.h
  246. Xunshrink$O:     unshrink.c unzip.h
  247. Xstat$O:         amiga/stat.c    # may need to change or remove directory name
  248. Xutime$O:        amiga/utime.c    # may need to change or remove directory name
  249. END_OF_FILE
  250.   if test 1359 -ne `wc -c <'AMIGA/lmkfile.cr'`; then
  251.     echo shar: \"'AMIGA/lmkfile.cr'\" unpacked with wrong size!
  252.   fi
  253.   # end of 'AMIGA/lmkfile.cr'
  254. fi
  255. if test -f 'AMIGA/patch.pw' -a "${1}" != "-c" ; then 
  256.   echo shar: Will not clobber existing file \"'AMIGA/patch.pw'\"
  257. else
  258.   echo shar: Extracting \"'AMIGA/patch.pw'\" \(786 characters\)
  259.   sed "s/^X//" >'AMIGA/patch.pw' <<'END_OF_FILE'
  260. X*** v41/file_io.c Mon May 20 22:01:51 1991
  261. X--- v41a/file_io.c Mon May 20 22:53:32 1991
  262. X***************
  263. X*** 719,727 ****
  264. X  #ifdef BSD
  265. X      static struct timeb tbp;
  266. X  #else
  267. X      extern long timezone;
  268. X  #endif
  269. X! 
  270. X  
  271. X      close(outfd);
  272. X  
  273. X--- 720,731 ----
  274. X  #ifdef BSD
  275. X      static struct timeb tbp;
  276. X  #else
  277. X+ #ifdef AMIGA
  278. X+     extern char *_TZ;
  279. X+ #else
  280. X      extern long timezone;
  281. X  #endif
  282. X! #endif
  283. X  
  284. X      close(outfd);
  285. X  
  286. X***************
  287. X*** 794,799 ****
  288. X--- 798,806 ----
  289. X     ftime(&tbp);
  290. X     m_time += tbp.timezone * 60L;
  291. X  #else                                   /* !BSD */
  292. X+ #ifdef AMIGA
  293. X+     _TZ = getenv("TZ");
  294. X+ #endif
  295. X      tzset();                            /* Set `timezone'. */
  296. X      m_time += timezone;                 /* account for timezone differences */
  297. X  #endif
  298. END_OF_FILE
  299.   if test 786 -ne `wc -c <'AMIGA/patch.pw'`; then
  300.     echo shar: \"'AMIGA/patch.pw'\" unpacked with wrong size!
  301.   fi
  302.   # end of 'AMIGA/patch.pw'
  303. fi
  304. if test -f 'AMIGA/readme.pw' -a "${1}" != "-c" ; then 
  305.   echo shar: Will not clobber existing file \"'AMIGA/readme.pw'\"
  306. else
  307.   echo shar: Extracting \"'AMIGA/readme.pw'\" \(940 characters\)
  308.   sed "s/^X//" >'AMIGA/readme.pw' <<'END_OF_FILE'
  309. XDate: Tue, 21 May 91 12:46:10 EST
  310. XFrom: mailrus!gatech!simcity!paul@uunet.UU.NET (Paul Wells)
  311. XSubject: mods for unzip 4.1 for Amiga
  312. XMessage-ID: <9105211746.AA03598@simcity.UUCP>
  313. X
  314. XPlease find enclosed a shar file for Amiga SAS/C 5.10a.  Two source files
  315. Xfor the Amiga are included:  utime.c, so we can alter the date of a file,
  316. Xand stat.c, which isn't really needed for the SAS compiler, but is necessary
  317. Xfor the Lattice.  Sorry, sys/stat.h is not mine, hence, not included; utime.c
  318. Xand stat.c are my original code and released to the public domain.  The patches
  319. Xpertain primarily to ANSI prototyping; however, please note that the SAS
  320. Xcompiler doesn't know what a dup function is.  Everything was compiled with
  321. X-DUNIX -DNOTINT16 and other appropriate SAS/C flags, as noted in lmkfile.
  322. XI hope this is useful for others, but apologize if I didn't get there first.
  323. X
  324. XPaul Wells
  325. X..!gatech!wa4mei!paulw         (or)
  326. X..!gatech!wa4mei!simcity!paul
  327. END_OF_FILE
  328.   if test 940 -ne `wc -c <'AMIGA/readme.pw'`; then
  329.     echo shar: \"'AMIGA/readme.pw'\" unpacked with wrong size!
  330.   fi
  331.   # end of 'AMIGA/readme.pw'
  332. fi
  333. if test -f 'ATARI/Contents' -a "${1}" != "-c" ; then 
  334.   echo shar: Will not clobber existing file \"'ATARI/Contents'\"
  335. else
  336.   echo shar: Extracting \"'ATARI/Contents'\" \(1328 characters\)
  337.   sed "s/^X//" >'ATARI/Contents' <<'END_OF_FILE'
  338. XContents of the ATARI sub-archive for UnZip 4.1:
  339. X
  340. X  Contents     this file
  341. X  AtariST.pat  patches to UnZip 4.1 for Atari ST
  342. X  Makefile.st  Mark Williams makefile for Turbo C compiler
  343. X  makeit       simple command script to make UnZip
  344. X  README.src   notes from Martin Schulz on his patches
  345. X  tc.cfg       Turbo C general configuration file for UnZip (binary)
  346. X  unzip.lnk    referred to as "TLINK.OPT" in notes??
  347. X  unzip.prj    Turbo C project file for UnZip
  348. X
  349. XAll material in this sub-archive was provided by Martin Schulz.
  350. XUnfortunately, his patches against v4.1 arrived just as v4.2 was 
  351. Xreleased as a final "feature-freeze" beta, too late to incorporate.
  352. XSince the files for UnZip have changed considerably between ver-
  353. Xsions--in particular, unzip.c, extract.c and file_io.c--the patches
  354. Xprovided here will fail miserably.  We will, however, see what we
  355. Xcan do to incorporate most of them before v5.0.
  356. X
  357. XThe non-Atari patches mentioned in Martin's readme file are not
  358. Xincluded here.  Both the Unix blanks patch and the symbolic links
  359. Xpatches are no longer necessary (actually, there is a bug in the
  360. Xexisting symbolic links code--it won't do compressed links properly
  361. X--but this is a rare problem); the optimization patch is on hold
  362. Xbut will probably be incorporated in v5.0 as well, assuming it
  363. Xdoesn't break any other systems.
  364. END_OF_FILE
  365.   if test 1328 -ne `wc -c <'ATARI/Contents'`; then
  366.     echo shar: \"'ATARI/Contents'\" unpacked with wrong size!
  367.   fi
  368.   # end of 'ATARI/Contents'
  369. fi
  370. if test -f 'ATARI/Makefile.st' -a "${1}" != "-c" ; then 
  371.   echo shar: Will not clobber existing file \"'ATARI/Makefile.st'\"
  372. else
  373.   echo shar: Extracting \"'ATARI/Makefile.st'\" \(1096 characters\)
  374.   sed "s/^X//" >'ATARI/Makefile.st' <<'END_OF_FILE'
  375. X#  Makefile.st    Makefile for UnZip 4.0,
  376. X#  using Turbo C 2.0 for the Atari ST and
  377. X#  make from the Mark Williams C 3.9 (sorry for that mixture)
  378. X#
  379. X
  380. X# UPPERCASE file names facilitate TD's understanding of modules.
  381. X.SUFFIXES: .o .O .c .C .s
  382. X
  383. XTCHOME    = E:\tc
  384. X
  385. X#####################
  386. X# MACRO DEFINITIONS #
  387. X#####################
  388. X
  389. XCC    = tcc
  390. X#CFLAGS    = -DATARI_ST=1 -Y -I=$(TCHOME)\include
  391. XCFLAGS    = -DATARI_ST=1 -I=$(TCHOME)\include
  392. X#LFLAGS    = -L -Y
  393. XLFLAGS    =
  394. XLIB    = $(TCHOME)\lib
  395. XLD    = tlink
  396. X
  397. XOBJS = unzip.o file_io.o mapname.o match.o misc.o\
  398. X       unimplod.o unreduce.o unshrink.o
  399. X
  400. X
  401. X###############################################
  402. X# BASIC COMPILE INSTRUCTIONS AND DEPENDENCIES #
  403. X###############################################
  404. X
  405. XALL    : unzip.prg
  406. X    echo done
  407. X
  408. Xunzip.o:      unzip.c unzip.h
  409. X
  410. Xfile_io.o:    file_io.c unzip.h
  411. X
  412. Xmapname.o:    mapname.c unzip.h
  413. X
  414. Xmatch.o:      match.c unzip.h
  415. X
  416. Xmisc.o:       misc.c unzip.h
  417. X
  418. Xunimplod.o:   unimplod.c unzip.h
  419. X
  420. Xunreduce.o:   unreduce.c unzip.h
  421. X
  422. Xunshrink.o:   unshrink.c unzip.h
  423. X
  424. Xunzip.prg:     $(OBJS)
  425. X    tlink -O=$@ $(LFLAGS) -S=8192 -C=unzip.lnk
  426. X
  427. X.c.o:
  428. X    tcc $(CFLAGS) $<
  429. X
  430. END_OF_FILE
  431.   if test 1096 -ne `wc -c <'ATARI/Makefile.st'`; then
  432.     echo shar: \"'ATARI/Makefile.st'\" unpacked with wrong size!
  433.   fi
  434.   # end of 'ATARI/Makefile.st'
  435. fi
  436. if test -f 'ATARI/makeit' -a "${1}" != "-c" ; then 
  437.   echo shar: Will not clobber existing file \"'ATARI/makeit'\"
  438. else
  439.   echo shar: Extracting \"'ATARI/makeit'\" \(399 characters\)
  440.   sed "s/^X//" >'ATARI/makeit' <<'END_OF_FILE'
  441. Xtcc -DATARI_ST=1 -I=E:\tc\include unzip.c
  442. Xtcc -DATARI_ST=1 -I=E:\tc\include file_io.c
  443. Xtcc -DATARI_ST=1 -I=E:\tc\include mapname.c
  444. Xtcc -DATARI_ST=1 -I=E:\tc\include match.c
  445. Xtcc -DATARI_ST=1 -I=E:\tc\include misc.c
  446. Xtcc -DATARI_ST=1 -I=E:\tc\include unimplod.c
  447. Xtcc -DATARI_ST=1 -I=E:\tc\include unreduce.c
  448. Xtcc -DATARI_ST=1 -I=E:\tc\include unshrink.c
  449. Xtlink -O=unzip.prg  -S=8192 -C=unzip.lnk
  450. Xecho done
  451. END_OF_FILE
  452.   if test 399 -ne `wc -c <'ATARI/makeit'`; then
  453.     echo shar: \"'ATARI/makeit'\" unpacked with wrong size!
  454.   fi
  455.   # end of 'ATARI/makeit'
  456. fi
  457. if test -f 'ATARI/unzip.lnk' -a "${1}" != "-c" ; then 
  458.   echo shar: Will not clobber existing file \"'ATARI/unzip.lnk'\"
  459. else
  460.   echo shar: Extracting \"'ATARI/unzip.lnk'\" \(188 characters\)
  461.   sed "s/^X//" >'ATARI/unzip.lnk' <<'END_OF_FILE'
  462. Xe:\tc\lib\mystart.o
  463. Xunzip.o
  464. Xfile_io.o
  465. Xmapname.o
  466. Xmatch.o
  467. Xmisc.o
  468. Xunimplod.o
  469. Xunreduce.o
  470. Xunshrink.o
  471. Xe:\tc\lib\tcstdlib.lib
  472. Xe:\tc\lib\tcextlib.lib
  473. Xe:\tc\lib\tctoslib.lib
  474. Xe:\tc\lib\tcstdlib.lib
  475. END_OF_FILE
  476.   if test 188 -ne `wc -c <'ATARI/unzip.lnk'`; then
  477.     echo shar: \"'ATARI/unzip.lnk'\" unpacked with wrong size!
  478.   fi
  479.   # end of 'ATARI/unzip.lnk'
  480. fi
  481. if test -f 'ATARI/unzip.prj' -a "${1}" != "-c" ; then 
  482.   echo shar: Will not clobber existing file \"'ATARI/unzip.prj'\"
  483. else
  484.   echo shar: Extracting \"'ATARI/unzip.prj'\" \(379 characters\)
  485.   sed "s/^X//" >'ATARI/unzip.prj' <<'END_OF_FILE'
  486. X;>>>>>>> UNZIP.PRJ
  487. X
  488. XUNZIP.PRG
  489. X
  490. X=                  ; list of modules follows...
  491. X
  492. X; TCSTART.O          ; startup code
  493. XMYSTART.O
  494. XUNZIP.C
  495. XFILE_IO.C
  496. XMAPNAME.C
  497. XMATCH.C
  498. XMISC.C
  499. XUNIMPLOD.C
  500. XUNREDUCE.C
  501. XUNSHRINK.C
  502. X
  503. XTCSTDLIB.LIB       ; standard library
  504. XTCEXTLIB.LIB       ; extended library
  505. XTCTOSLIB.LIB       ; TOS library
  506. X
  507. X;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  508. END_OF_FILE
  509.   if test 379 -ne `wc -c <'ATARI/unzip.prj'`; then
  510.     echo shar: \"'ATARI/unzip.prj'\" unpacked with wrong size!
  511.   fi
  512.   # end of 'ATARI/unzip.prj'
  513. fi
  514. if test -f 'MAC/Contents' -a "${1}" != "-c" ; then 
  515.   echo shar: Will not clobber existing file \"'MAC/Contents'\"
  516. else
  517.   echo shar: Extracting \"'MAC/Contents'\" \(951 characters\)
  518.   sed "s/^X//" >'MAC/Contents' <<'END_OF_FILE'
  519. XContents of the MAC sub-archive for UnZip 4.2 and later:
  520. X
  521. X  Contents           this file
  522. X  macfile.c          Macintosh filesystem code
  523. X  macstat.c          Macintosh stat() emulation
  524. X  macstat.h          header file for stat() emulation
  525. X  unzip.make.aztec   makefile for Aztec C (binary)
  526. X  unzip.make.mpw     makefile for Mac Programmer's Workbench (binary)
  527. X
  528. XNo makefiles or project files were provided for the original Think C port,
  529. Xbut the two makefiles provided by Antoine Verheijen for Aztec C and MPW C
  530. Xshould be helpful anyway.  If someone comes up with a Think C makefile,
  531. Xplease send it in to zip-bugs for inclusion.  Mucho thanks.
  532. X
  533. XThe makefiles are marked "binary" because they contain a few special
  534. Xcharacters (which look a lot like D's and 6's under Unix).  They're
  535. Xbasically readable, but e-mailing them without protection is likely
  536. Xto strip the high bit off these characters, rendering the makefiles
  537. Xless than useful.  Be forewarned...
  538. END_OF_FILE
  539.   if test 951 -ne `wc -c <'MAC/Contents'`; then
  540.     echo shar: \"'MAC/Contents'\" unpacked with wrong size!
  541.   fi
  542.   # end of 'MAC/Contents'
  543. fi
  544. if test -f 'MAC/macstat.h' -a "${1}" != "-c" ; then 
  545.   echo shar: Will not clobber existing file \"'MAC/macstat.h'\"
  546. else
  547.   echo shar: Extracting \"'MAC/macstat.h'\" \(909 characters\)
  548.   sed "s/^X//" >'MAC/macstat.h' <<'END_OF_FILE'
  549. X/*****************************************************************
  550. X *
  551. X *                stat.h
  552. X *
  553. X *****************************************************************/
  554. X
  555. X#include <time.h>
  556. Xextern stat();
  557. Xtypedef long dev_t;
  558. Xtypedef long ino_t;
  559. Xtypedef long off_t;
  560. X
  561. Xstruct stat {
  562. X    dev_t    st_dev;
  563. X    ino_t    st_ino;
  564. X    unsigned short    st_mode;
  565. X    short    st_nlink;
  566. X    short    st_uid;
  567. X    short    st_gid;
  568. X    dev_t    st_rdev;
  569. X    off_t    st_size;
  570. X    time_t   st_atime, st_mtime, st_ctime;
  571. X    long     st_blksize;
  572. X    long     st_blocks;
  573. X};
  574. X
  575. X#define S_IFMT     0xF000
  576. X#define S_IFIFO    0x1000
  577. X#define S_IFCHR    0x2000
  578. X#define S_IFDIR    0x4000
  579. X#define S_IFBLK    0x6000
  580. X#define S_IFREG    0x8000
  581. X#define S_IFLNK    0xA000
  582. X#define S_IFSOCK   0xC000
  583. X#define S_ISUID    0x800
  584. X#define S_ISGID    0x400
  585. X#define S_ISVTX    0x200
  586. X#define S_IREAD    0x100
  587. X#define S_IWRITE   0x80
  588. X#define S_IEXEC    0x40
  589. END_OF_FILE
  590.   if test 909 -ne `wc -c <'MAC/macstat.h'`; then
  591.     echo shar: \"'MAC/macstat.h'\" unpacked with wrong size!
  592.   fi
  593.   # end of 'MAC/macstat.h'
  594. fi
  595. if test -f 'MAC/make.aztec.uu' -a "${1}" != "-c" ; then 
  596.   echo shar: Will not clobber existing file \"'MAC/make.aztec.uu'\"
  597. else
  598.   echo shar: Extracting \"'MAC/make.aztec.uu'\" \(1463 characters\)
  599.   sed "s/^X//" >'MAC/make.aztec.uu' <<'END_OF_FILE'
  600. Xbegin 644 MAC/unzip.make.aztec
  601. XM(R @(%1H:7,@35!7(&UA:V5F:6QE(&ES(&1E<VEG;F5D('1O(&)E('5S960@
  602. XM=&\@8V]M<&EL92!A;B!-4%<@=F5R<VEO;@HC(" @;V8@=6YZ:7 @=7-I;F<@
  603. XM=&AE($%Z=&5C($,@8V]M<&EL97(L('9E<G-I;VX@-2XR82X@4VEM<&QY(')E
  604. XM;F%M90HC(" @=&AI<R!F:6QE(&%S('5N>FEP+FUA:V4@86YD(&1O(&%N($U0
  605. XM5R!B=6EL9"X*"@HC(" @1FEL93H@(" @(" @=6YZ:7 N;6%K90HC(" @5&%R
  606. XM9V5T.B @(" @=6YZ:7 *(R @(%-O=7)C97,Z(" @('5N>FEP+F,*(R @(" @
  607. XM(" @(" @(" @(&5X=')A8W0N8PHC(" @(" @(" @(" @(" @9FEL95]I;RYC
  608. XM"B,@(" @(" @(" @(" @("!M86-F:6QE+F,*(R @(" @(" @(" @(" @(&UA
  609. XM8W-T870N8PHC(" @(" @(" @(" @(" @;6%P;F%M92YC"B,@(" @(" @(" @
  610. XM(" @("!M871C:"YC"B,@(" @(" @(" @(" @("!M:7-C+F,*(R @(" @(" @
  611. XM(" @(" @('5N:6UP;&]D+F,*(R @(" @(" @(" @(" @('5N<F5D=6-E+F,*
  612. XM(R @(" @(" @(" @(" @('5N<VAR:6YK+F,*(R @($-R96%T960Z(" @(%-A
  613. XM='5R9&%Y+"!&96)R=6%R>2 R.2P@,3DY,B W.C U.C P(%!-"@H*0T9,04=3
  614. XM(#T@+60@35!7"@I,1DQ!1U,@/2 M;0H*"BYO(,0@+F,@=6YZ:7 N:"!U;GII
  615. XM<"YM86ME"B @(" @(" @0R![0T9,04=3?2 M;R![1&5F875L='TN;R![1&5F
  616. XM875L='TN8PH*+F\@Q" N87-M"B @(" @(" @87,@+6\@>T1E9F%U;'1]+F\@
  617. XM>T1E9F%U;'1]+F%S;0H*3T)*14-44R ](+8*(" @(" @("!U;GII<"YO(+8*
  618. XM(" @(" @("!E>'1R86-T+F\@M@H@(" @(" @(&9I;&5?:6\N;R"V"B @(" @
  619. XM(" @;6%C9FEL92YO(+8*(" @(" @("!M86-S=&%T+F\@M@H@(" @(" @(&UA
  620. XM<&YA;64N;R"V"B @(" @(" @;6%T8V@N;R"V"B @(" @(" @;6ES8RYO(+8*
  621. XM(" @(" @("!U;FEM<&QO9"YO(+8*(" @(" @("!U;G)E9'5C92YO(+8*(" @
  622. XM(" @("!U;G-H<FEN:RYO"@IU;GII<"#$('M/0DI%0U13?0H@(" @(" @(&QN
  623. XK('M,1DQ!1U-]("UO('5N>FEP('M/0DI%0U13?2 M;&T@+6QM<'<@+6QC"FQN
  624. Xend
  625. END_OF_FILE
  626.   if test 1463 -ne `wc -c <'MAC/make.aztec.uu'`; then
  627.     echo shar: \"'MAC/make.aztec.uu'\" unpacked with wrong size!
  628.   else
  629.     echo shar: Uudecoding \"'MAC/make.aztec.uu'\"
  630.     cat MAC/make.aztec.uu | uudecode
  631.     if [ -f MAC/make.aztec.uu ]; then
  632.        rm MAC/make.aztec.uu
  633.     fi
  634.   fi
  635.   # end of 'MAC/make.aztec.uu'
  636. fi
  637. if test -f 'MSDOS/bcc/makeship.bat.u' -a "${1}" != "-c" ; then 
  638.   echo shar: Will not clobber existing file \"'MSDOS/bcc/makeship.bat.u'\"
  639. else
  640.   echo shar: Extracting \"'MSDOS/bcc/makeship.bat.u'\" \(155 characters\)
  641.   sed "s/^X//" >'MSDOS/bcc/makeship.bat.u' <<'END_OF_FILE'
  642. Xbegin 644 MSDOS/bcc/makeship.bat
  643. XM8F-C("UW("UW+65F9B M82 M9" M1R M3R M6B M;70@+6QT("U)8SI<8F]R
  644. XG;&%N9%QI;F-L=61E("U,8SI<8F]R;&%N9%QL:6(@<VAI<"YC#0H:
  645. Xend
  646. END_OF_FILE
  647.   if test 155 -ne `wc -c <'MSDOS/bcc/makeship.bat.u'`; then
  648.     echo shar: \"'MSDOS/bcc/makeship.bat.u'\" unpacked with wrong size!
  649.   else
  650.     echo shar: Uudecoding \"'MSDOS/bcc/makeship.bat.u'\"
  651.     cat MSDOS/bcc/makeship.bat.u | uudecode
  652.     if [ -f MSDOS/bcc/makeship.bat.u ]; then
  653.        rm MSDOS/bcc/makeship.bat.u
  654.     fi
  655.   fi
  656.   # end of 'MSDOS/bcc/makeship.bat.u'
  657. fi
  658. if test -f 'MSDOS/bcc/unz42_bc.dif' -a "${1}" != "-c" ; then 
  659.   echo shar: Will not clobber existing file \"'MSDOS/bcc/unz42_bc.dif'\"
  660. else
  661.   echo shar: Extracting \"'MSDOS/bcc/unz42_bc.dif'\" \(442 characters\)
  662.   sed "s/^X//" >'MSDOS/bcc/unz42_bc.dif' <<'END_OF_FILE'
  663. X*** misc.old    Tue Mar 03 17:50:24 1992
  664. X--- misc.c    Sat Mar 07 17:57:12 1992
  665. X***************
  666. X*** 21,26 ****
  667. X--- 21,33 ----
  668. X  
  669. X  #include "unzip.h"
  670. X  
  671. X+ #ifdef __TURBOC__
  672. X+ /* v4.2 dpk  For some reason Borland C++'s TIME.H defines tzset()
  673. X+  * only if not STD_C!  Weird .. but rather than have the warning
  674. X+  * spoiling an otherwise perfect compile ...
  675. X+  */
  676. X+ void tzset(void);
  677. X+ #endif
  678. X  
  679. X  
  680. X  #ifndef ZIPINFO   /* no need to calculate CRCs */
  681. END_OF_FILE
  682.   if test 442 -ne `wc -c <'MSDOS/bcc/unz42_bc.dif'`; then
  683.     echo shar: \"'MSDOS/bcc/unz42_bc.dif'\" unpacked with wrong size!
  684.   fi
  685.   # end of 'MSDOS/bcc/unz42_bc.dif'
  686. fi
  687. if test -f 'MSDOS/bcc/unzip.dsk.uu' -a "${1}" != "-c" ; then 
  688.   echo shar: Will not clobber existing file \"'MSDOS/bcc/unzip.dsk.uu'\"
  689. else
  690.   echo shar: Extracting \"'MSDOS/bcc/unzip.dsk.uu'\" \(1214 characters\)
  691.   sed "s/^X//" >'MSDOS/bcc/unzip.dsk.uu' <<'END_OF_FILE'
  692. Xbegin 644 MSDOS/bcc/unzip.dsk
  693. XM5'5R8F\@0R!#;VYT97AT($9I;&4@&@ !#1(7 1H   ED * !"P   '8!2@$>
  694. XM ?0 RP"> '$ 1  8 !@ 15A44D%#5"Y#  $  0 !  $  0 !  $  0 !  $ 
  695. XM 0 !  $  0 !  $   !53E-(4DE.2RY#  $  0 !  $  0 !  $  0 !  $ 
  696. XM 0 !  $  0 !  $   !53E)%1%5#12Y#  $  0 !  $  0 !  $  0 !  $ 
  697. XM 0 !  $  0 !  $   !53DE-4$Q/1"Y#  $  0 !  $  0 !  $  0 !  $ 
  698. XM 0 !  $  0 !  $   !-25-#+D,  0 !  $  0 !  $  0 !  $  0 !  $ 
  699. XM 0 !  $  0   $U!5$-(+D,  0 !  $  0 !  $  0 !  $  0 !  $  0 !
  700. XM  $  0   $U!4$Y!344N0P !  $  0 !  $  0 !  $  0 !  $  0 !  $ 
  701. XM 0 !    1DE,15])3RY#  $  0 !  $  0 !  $  0 !  $  0 !  $  0 !
  702. XM  $   !53EI)4"Y# "< 8P(! %D" 0 !  $  0 !  $  0 !  $ 8@(! &4"
  703. XM" !E "P !  ( !X    ( !  % !53EI)4"Y# %5.6DE0+D@ *BY# $E.1DQ!
  704. XM5$4N0P!X &H #  8 $P    '  \ %0 ; "$ )@ K #4 /@!& $< ;V9F<V5T
  705. XM &]F9G-E=%\ 54Q/3D< ;'-E96L 3%-%14L 2$5210!G;W1O '-T87)T;W9E
  706. XM<@!O;&1?;6]D90!$3U-?3U,R  !L87-T 'H (P #  8 %P    H $P!)3D9,
  707. XM051%+D, 15A004Y$+D, *BY# /0!G  2   9    $4\7 !%/%P@ S0]$   9
  708. XM     4\7  %/%P  " !#.EQ414U07%5.6DE0+D, )P!C @$ 60(!  $  0 !
  709. XM  $  0 !  $  0!B @$ 90(( $8  !D    !3Q<  4\7     $,Z7%1%35!<
  710. XM24Y&3$%412Y#  $  0 !  $  0 !  $  0 !  $  0 !  $  0 !  $   #U
  711. XK 20 $@  &0   !%/%P 13Q<( &%T$@  &0   !%/%P 13Q<" !H __\   #U
  712. Xend
  713. END_OF_FILE
  714.   if test 1214 -ne `wc -c <'MSDOS/bcc/unzip.dsk.uu'`; then
  715.     echo shar: \"'MSDOS/bcc/unzip.dsk.uu'\" unpacked with wrong size!
  716.   else
  717.     echo shar: Uudecoding \"'MSDOS/bcc/unzip.dsk.uu'\"
  718.     cat MSDOS/bcc/unzip.dsk.uu | uudecode
  719.     if [ -f MSDOS/bcc/unzip.dsk.uu ]; then
  720.        rm MSDOS/bcc/unzip.dsk.uu
  721.     fi
  722.   fi
  723.   # end of 'MSDOS/bcc/unzip.dsk.uu'
  724. fi
  725. if test -f 'MSDOS/bcc/unzip.mak' -a "${1}" != "-c" ; then 
  726.   echo shar: Will not clobber existing file \"'MSDOS/bcc/unzip.mak'\"
  727. else
  728.   echo shar: Extracting \"'MSDOS/bcc/unzip.mak'\" \(1062 characters\)
  729.   sed "s/^X//" >'MSDOS/bcc/unzip.mak' <<'END_OF_FILE'
  730. X.AUTODEPEND
  731. X
  732. X#        *Translator Definitions*
  733. XCC = bcc +UNZIP.CFG
  734. XTASM = TASM
  735. XTLINK = tlink
  736. X
  737. X
  738. X#        *Implicit Rules*
  739. X.c.obj:
  740. X  $(CC) -c {$< }
  741. X
  742. X.cpp.obj:
  743. X  $(CC) -c {$< }
  744. X
  745. X#        *List Macros*
  746. X
  747. X
  748. XEXE_dependencies =  \
  749. X  unzip.obj \
  750. X  file_io.obj \
  751. X  mapname.obj \
  752. X  match.obj \
  753. X  misc.obj \
  754. X  unimplod.obj \
  755. X  unreduce.obj \
  756. X  unshrink.obj \
  757. X  extract.obj
  758. X
  759. X#        *Explicit Rules*
  760. Xunzip.exe: unzip.cfg $(EXE_dependencies)
  761. X  $(TLINK) /x/n/c/d/P-/LC:\BORLAND\LIB @&&|
  762. Xc0s.obj+
  763. Xunzip.obj+
  764. Xfile_io.obj+
  765. Xmapname.obj+
  766. Xmatch.obj+
  767. Xmisc.obj+
  768. Xunimplod.obj+
  769. Xunreduce.obj+
  770. Xunshrink.obj+
  771. Xextract.obj
  772. Xunzip
  773. X        # no map file
  774. Xemu.lib+
  775. Xmaths.lib+
  776. Xcs.lib
  777. X|
  778. X
  779. X
  780. X#        *Individual File Dependencies*
  781. Xunzip.obj: unzip.c 
  782. X
  783. Xfile_io.obj: file_io.c 
  784. X
  785. Xmapname.obj: mapname.c 
  786. X
  787. Xmatch.obj: match.c 
  788. X
  789. Xmisc.obj: misc.c 
  790. X
  791. Xunimplod.obj: unimplod.c 
  792. X
  793. Xunreduce.obj: unreduce.c 
  794. X
  795. Xunshrink.obj: unshrink.c 
  796. X
  797. Xextract.obj: extract.c 
  798. X
  799. X#        *Compiler Configuration File*
  800. Xunzip.cfg: unzip.mak
  801. X  copy &&|
  802. X-ff-
  803. X-A
  804. X-k-
  805. X-wamb
  806. X-wamp
  807. X-wasm
  808. X-wpro
  809. X-wdef
  810. X-wnod
  811. X-wstv
  812. X-wucp
  813. X-wuse
  814. X-IC:\BORLAND\INCLUDE
  815. X-LC:\BORLAND\LIB
  816. X-P-.C
  817. X| unzip.cfg
  818. X
  819. X
  820. END_OF_FILE
  821.   if test 1062 -ne `wc -c <'MSDOS/bcc/unzip.mak'`; then
  822.     echo shar: \"'MSDOS/bcc/unzip.mak'\" unpacked with wrong size!
  823.   fi
  824.   # end of 'MSDOS/bcc/unzip.mak'
  825. fi
  826. if test -f 'MSDOS/bcc/unzip_cr.dsk.u' -a "${1}" != "-c" ; then 
  827.   echo shar: Will not clobber existing file \"'MSDOS/bcc/unzip_cr.dsk.u'\"
  828. else
  829.   echo shar: Extracting \"'MSDOS/bcc/unzip_cr.dsk.u'\" \(1387 characters\)
  830.   sed "s/^X//" >'MSDOS/bcc/unzip_cr.dsk.u' <<'END_OF_FILE'
  831. Xbegin 644 MSDOS/bcc/unzip_cr.dsk
  832. XM5'5R8F\@0R!#;VYT97AT($9I;&4@&@ !#1(7 1H   ED ,P!#    *(!=@%*
  833. XM 2 !]P#* )T < !$ !H &@!#4EE05"Y#  $  0 !  $  0 !  $  0 !  $ 
  834. XM 0 !  $  0 !  $   !%6%1204-4+D,  0 !  $  0 !  $  0 !  $  0 !
  835. XM  $  0 !  $  0   %5.4TA224Y++D,  0 !  $  0 !  $  0 !  $  0 !
  836. XM  $  0 !  $  0   %5.4D5$54-%+D,  0 !  $  0 !  $  0 !  $  0 !
  837. XM  $  0 !  $  0   %5.24U03$]$+D,  0 !  $  0 !  $  0 !  $  0 !
  838. XM  $  0 !  $  0   $U)4T,N0P !  $  0 !  $  0 !  $  0 !  $  0 !
  839. XM  $  0 !    34%40T@N0P !  $  0 !  $  0 !  $  0 !  $  0 !  $ 
  840. XM 0 !    34%03D%-12Y#  $  0 !  $  0 !  $  0 !  $  0 !  $  0 !
  841. XM  $   !&24Q%7TE/+D,  0 P  $ ,  !  $  0 !  $  0 !  $  0 !  $ 
  842. XM 0   %5.6DE0+D, )P!C @$ 60(!  $  0 !  $  0 !  $  0!B @$ 90((
  843. XM &4 +  $  @ '@    @ $  4 %5.6DE0+D, 54Y:25 N2  J+D, 24Y&3$%4
  844. XM12Y# '@ :@ , !@ 3     < #P 5 !L (0 F "L -0 ^ $8 1P!O9F9S970 
  845. XM;V9F<V5T7P!53$].1P!L<V5E:P!,4T5%2P!(15)% &=O=&\ <W1A<G1O=F5R
  846. XM &]L9%]M;V1E $1/4U]/4S(  &QA<W0 >@ M  0 "  ?    "@ 3 !L 24Y&
  847. XM3$%412Y# $584$%.1"Y# $-265!4+D, *BY# /0!]  2   9    $4\7 !%/
  848. XM%P@ S0]$   9     4\7  %/%P  " !#.EQ414U07%5.6DE0+D, )P!C @$ 
  849. XM60(!  $  0 !  $  0 !  $  0!B @$ 90(( $8  !D    !3Q<  4\7    
  850. XM $,Z7%1%35!<24Y&3$%412Y#  $  0 !  $  0 !  $  0 !  $  0 !  $ 
  851. XM 0 !  $    2   9    $4\7 !%/%P( Q =&   9     4\0  %/$     !#
  852. XM.EQ414U07$9)3$5?24\N0P ! #   0 P  $  0 !  $  0 !  $  0 !  $ 
  853. X@ 0 !    ]0$2 !(  !D    13Q< $4\7" !A=/__    
  854. Xend
  855. END_OF_FILE
  856.   if test 1387 -ne `wc -c <'MSDOS/bcc/unzip_cr.dsk.u'`; then
  857.     echo shar: \"'MSDOS/bcc/unzip_cr.dsk.u'\" unpacked with wrong size!
  858.   else
  859.     echo shar: Uudecoding \"'MSDOS/bcc/unzip_cr.dsk.u'\"
  860.     cat MSDOS/bcc/unzip_cr.dsk.u | uudecode
  861.     if [ -f MSDOS/bcc/unzip_cr.dsk.u ]; then
  862.        rm MSDOS/bcc/unzip_cr.dsk.u
  863.     fi
  864.   fi
  865.   # end of 'MSDOS/bcc/unzip_cr.dsk.u'
  866. fi
  867. if test -f 'MSDOS/bcc/unzip_cr.mak' -a "${1}" != "-c" ; then 
  868.   echo shar: Will not clobber existing file \"'MSDOS/bcc/unzip_cr.mak'\"
  869. else
  870.   echo shar: Extracting \"'MSDOS/bcc/unzip_cr.mak'\" \(1137 characters\)
  871.   sed "s/^X//" >'MSDOS/bcc/unzip_cr.mak' <<'END_OF_FILE'
  872. X.AUTODEPEND
  873. X
  874. X#        *Translator Definitions*
  875. XCC = bcc +UNZIP_CR.CFG
  876. XTASM = TASM
  877. XTLINK = tlink
  878. X
  879. X
  880. X#        *Implicit Rules*
  881. X.c.obj:
  882. X  $(CC) -c {$< }
  883. X
  884. X.cpp.obj:
  885. X  $(CC) -c {$< }
  886. X
  887. X#        *List Macros*
  888. X
  889. X
  890. XEXE_dependencies =  \
  891. X  unzip.obj \
  892. X  file_io.obj \
  893. X  mapname.obj \
  894. X  match.obj \
  895. X  misc.obj \
  896. X  unimplod.obj \
  897. X  unreduce.obj \
  898. X  unshrink.obj \
  899. X  extract.obj \
  900. X  crypt.obj
  901. X
  902. X#        *Explicit Rules*
  903. Xunzip_cr.exe: unzip_cr.cfg $(EXE_dependencies)
  904. X  $(TLINK) /x/n/c/d/P-/LC:\BORLAND\LIB @&&|
  905. Xc0s.obj+
  906. Xunzip.obj+
  907. Xfile_io.obj+
  908. Xmapname.obj+
  909. Xmatch.obj+
  910. Xmisc.obj+
  911. Xunimplod.obj+
  912. Xunreduce.obj+
  913. Xunshrink.obj+
  914. Xextract.obj+
  915. Xcrypt.obj
  916. Xunzip_cr
  917. X        # no map file
  918. Xemu.lib+
  919. Xmaths.lib+
  920. Xcs.lib
  921. X|
  922. X
  923. X
  924. X#        *Individual File Dependencies*
  925. Xunzip.obj: unzip.c 
  926. X
  927. Xfile_io.obj: file_io.c 
  928. X
  929. Xmapname.obj: mapname.c 
  930. X
  931. Xmatch.obj: match.c 
  932. X
  933. Xmisc.obj: misc.c 
  934. X
  935. Xunimplod.obj: unimplod.c 
  936. X
  937. Xunreduce.obj: unreduce.c 
  938. X
  939. Xunshrink.obj: unshrink.c 
  940. X
  941. Xextract.obj: extract.c 
  942. X
  943. Xcrypt.obj: crypt.c 
  944. X
  945. X#        *Compiler Configuration File*
  946. Xunzip_cr.cfg: unzip_cr.mak
  947. X  copy &&|
  948. X-ff-
  949. X-A
  950. X-k-
  951. X-wamb
  952. X-wamp
  953. X-wasm
  954. X-wpro
  955. X-wdef
  956. X-wnod
  957. X-wstv
  958. X-wucp
  959. X-wuse
  960. X-IC:\BORLAND\INCLUDE
  961. X-LC:\BORLAND\LIB
  962. X-DCRYPT
  963. X-P-.C
  964. X| unzip_cr.cfg
  965. X
  966. X
  967. END_OF_FILE
  968.   if test 1137 -ne `wc -c <'MSDOS/bcc/unzip_cr.mak'`; then
  969.     echo shar: \"'MSDOS/bcc/unzip_cr.mak'\" unpacked with wrong size!
  970.   fi
  971.   # end of 'MSDOS/bcc/unzip_cr.mak'
  972. fi
  973. if test -f 'MSDOS/bcc/zipinfo.dsk.uu' -a "${1}" != "-c" ; then 
  974.   echo shar: Will not clobber existing file \"'MSDOS/bcc/zipinfo.dsk.uu'\"
  975. else
  976.   echo shar: Extracting \"'MSDOS/bcc/zipinfo.dsk.uu'\" \(840 characters\)
  977.   sed "s/^X//" >'MSDOS/bcc/zipinfo.dsk.uu' <<'END_OF_FILE'
  978. Xbegin 644 MSDOS/bcc/zipinfo.dsk
  979. XM5'5R8F\@0R!#;VYT97AT($9I;&4@&@ !#1(7 1H   ED (L !0   %\ -0 ,
  980. XM  P 34E30RY#  $  0 !  $  0 !  $  0 !  $  0 !  $  0 !  $   !-
  981. XM051#2"Y#  $  0 !  $  0 !  $  0 !  $  0 !  $  0 !  $   !:25!)
  982. XM3D9/+D,  0 !  $  0 !  $  0 !  $  0 !  $ "0"[ Q4 SP,  &4 0@ %
  983. XM  H ,@    H #@ F "H 6DE024Y&3RY# "HN0P!<0D]23$%.1%Q)3D-,541%
  984. XM7%-4050N2  J+D@ 54Y:25 N2 !X (T #P > &D    %  H $  5 !P ,P [
  985. XM #X 10!0 %( 6@!A &( 4T140P!?1D%2 &UE;2YH %-41$, <&QU<F%L 'II
  986. XM<&9I;&5?8V]M;65N=%]L96YG=&@ ;65M8F5R<P!M;0!S=&%T+F@ <VAO<G1?
  987. XM:6YF;P!Q &5X=%]V97( 97AT=F5R  !E>'1N=6T >@ 5  ( !  +    !P!:
  988. XM25 J+D, *BY# /0!B  2   9    $4\7 !%/%P@ &@4>   9   /!4 5#P5 
  989. XM%00 0P P"           +@ 2   9    $4\7 !%/%P(  PY&   9     4\7
  990. XM  %/%P    !#.EQ414U07%I)4$E.1D\N0P !  $  0 !  $  0 !  $  0 !
  991. XI  $  0 ) +L#%0#/ P  ]0$2 !(  !D    13Q< $4\7" !A=/__    
  992. Xend
  993. END_OF_FILE
  994.   if test 840 -ne `wc -c <'MSDOS/bcc/zipinfo.dsk.uu'`; then
  995.     echo shar: \"'MSDOS/bcc/zipinfo.dsk.uu'\" unpacked with wrong size!
  996.   else
  997.     echo shar: Uudecoding \"'MSDOS/bcc/zipinfo.dsk.uu'\"
  998.     cat MSDOS/bcc/zipinfo.dsk.uu | uudecode
  999.     if [ -f MSDOS/bcc/zipinfo.dsk.uu ]; then
  1000.        rm MSDOS/bcc/zipinfo.dsk.uu
  1001.     fi
  1002.   fi
  1003.   # end of 'MSDOS/bcc/zipinfo.dsk.uu'
  1004. fi
  1005. if test -f 'MSDOS/bcc/zipinfo.mak' -a "${1}" != "-c" ; then 
  1006.   echo shar: Will not clobber existing file \"'MSDOS/bcc/zipinfo.mak'\"
  1007. else
  1008.   echo shar: Extracting \"'MSDOS/bcc/zipinfo.mak'\" \(776 characters\)
  1009.   sed "s/^X//" >'MSDOS/bcc/zipinfo.mak' <<'END_OF_FILE'
  1010. X.AUTODEPEND
  1011. X
  1012. X#        *Translator Definitions*
  1013. XCC = bcc +ZIPINFO.CFG
  1014. XTASM = TASM
  1015. XTLINK = tlink
  1016. X
  1017. X
  1018. X#        *Implicit Rules*
  1019. X.c.obj:
  1020. X  $(CC) -c {$< }
  1021. X
  1022. X.cpp.obj:
  1023. X  $(CC) -c {$< }
  1024. X
  1025. X#        *List Macros*
  1026. X
  1027. X
  1028. XEXE_dependencies =  \
  1029. X  zipinfo.obj \
  1030. X  match.obj \
  1031. X  misc.obj
  1032. X
  1033. X#        *Explicit Rules*
  1034. Xzipinfo.exe: zipinfo.cfg $(EXE_dependencies)
  1035. X  $(TLINK) /x/n/c/d/P-/LC:\BORLAND\LIB @&&|
  1036. Xc0s.obj+
  1037. Xzipinfo.obj+
  1038. Xmatch.obj+
  1039. Xmisc.obj
  1040. Xzipinfo
  1041. X        # no map file
  1042. Xemu.lib+
  1043. Xmaths.lib+
  1044. Xcs.lib
  1045. X|
  1046. X
  1047. X
  1048. X#        *Individual File Dependencies*
  1049. Xzipinfo.obj: zipinfo.c 
  1050. X
  1051. Xmatch.obj: match.c 
  1052. X
  1053. Xmisc.obj: misc.c 
  1054. X
  1055. X#        *Compiler Configuration File*
  1056. Xzipinfo.cfg: zipinfo.mak
  1057. X  copy &&|
  1058. X-ff-
  1059. X-A
  1060. X-K
  1061. X-k-
  1062. X-d
  1063. X-wamb
  1064. X-wamp
  1065. X-wasm
  1066. X-wpro
  1067. X-wcln
  1068. X-wdef
  1069. X-wsig
  1070. X-wnod
  1071. X-wstv
  1072. X-wucp
  1073. X-wuse
  1074. X-IC:\BORLAND\INCLUDE
  1075. X-LC:\BORLAND\LIB
  1076. X-DZIPINFO
  1077. X-P-.C
  1078. X| zipinfo.cfg
  1079. X
  1080. X
  1081. END_OF_FILE
  1082.   if test 776 -ne `wc -c <'MSDOS/bcc/zipinfo.mak'`; then
  1083.     echo shar: \"'MSDOS/bcc/zipinfo.mak'\" unpacked with wrong size!
  1084.   fi
  1085.   # end of 'MSDOS/bcc/zipinfo.mak'
  1086. fi
  1087. if test -f 'MSDOS/tcc/makeship.bat.u' -a "${1}" != "-c" ; then 
  1088.   echo shar: Will not clobber existing file \"'MSDOS/tcc/makeship.bat.u'\"
  1089. else
  1090.   echo shar: Extracting \"'MSDOS/tcc/makeship.bat.u'\" \(139 characters\)
  1091.   sed "s/^X//" >'MSDOS/tcc/makeship.bat.u' <<'END_OF_FILE'
  1092. Xbegin 644 MSDOS/tcc/makeship.bat
  1093. XM=&-C("UW("UW+65F9B M82 M9" M1R M3R M6B M;70@+6QT("U)8SI<=&-<
  1094. X;:6YC;'5D92 M3&,Z7'1C7&QI8B!S:&EP+F,:
  1095. Xend
  1096. END_OF_FILE
  1097.   if test 139 -ne `wc -c <'MSDOS/tcc/makeship.bat.u'`; then
  1098.     echo shar: \"'MSDOS/tcc/makeship.bat.u'\" unpacked with wrong size!
  1099.   else
  1100.     echo shar: Uudecoding \"'MSDOS/tcc/makeship.bat.u'\"
  1101.     cat MSDOS/tcc/makeship.bat.u | uudecode
  1102.     if [ -f MSDOS/tcc/makeship.bat.u ]; then
  1103.        rm MSDOS/tcc/makeship.bat.u
  1104.     fi
  1105.   fi
  1106.   # end of 'MSDOS/tcc/makeship.bat.u'
  1107. fi
  1108. if test -f 'MSDOS/tcc/unzip.prj' -a "${1}" != "-c" ; then 
  1109.   echo shar: Will not clobber existing file \"'MSDOS/tcc/unzip.prj'\"
  1110. else
  1111.   echo shar: Extracting \"'MSDOS/tcc/unzip.prj'\" \(179 characters\)
  1112.   sed "s/^X//" >'MSDOS/tcc/unzip.prj' <<'END_OF_FILE'
  1113. Xunzip.c        (unzip.h)
  1114. Xextract.c    (unzip.h)
  1115. Xfile_io.c    (unzip.h)
  1116. Xmapname.c    (unzip.h)
  1117. Xmatch.c        (unzip.h)
  1118. Xmisc.c        (unzip.h)
  1119. Xunimplod.c    (unzip.h)
  1120. Xunreduce.c    (unzip.h)
  1121. Xunshrink.c    (unzip.h)
  1122. END_OF_FILE
  1123.   if test 179 -ne `wc -c <'MSDOS/tcc/unzip.prj'`; then
  1124.     echo shar: \"'MSDOS/tcc/unzip.prj'\" unpacked with wrong size!
  1125.   fi
  1126.   # end of 'MSDOS/tcc/unzip.prj'
  1127. fi
  1128. if test -f 'MSDOS/tcc/unzip_cr.prj' -a "${1}" != "-c" ; then 
  1129.   echo shar: Will not clobber existing file \"'MSDOS/tcc/unzip_cr.prj'\"
  1130. else
  1131.   echo shar: Extracting \"'MSDOS/tcc/unzip_cr.prj'\" \(204 characters\)
  1132.   sed "s/^X//" >'MSDOS/tcc/unzip_cr.prj' <<'END_OF_FILE'
  1133. Xunzip.c        (unzip.h)
  1134. Xcrypt.c        (unzip.h zip.h)
  1135. Xextract.c    (unzip.h)
  1136. Xfile_io.c    (unzip.h)
  1137. Xmapname.c    (unzip.h)
  1138. Xmatch.c        (unzip.h)
  1139. Xmisc.c        (unzip.h)
  1140. Xunimplod.c    (unzip.h)
  1141. Xunreduce.c    (unzip.h)
  1142. Xunshrink.c    (unzip.h)
  1143. END_OF_FILE
  1144.   if test 204 -ne `wc -c <'MSDOS/tcc/unzip_cr.prj'`; then
  1145.     echo shar: \"'MSDOS/tcc/unzip_cr.prj'\" unpacked with wrong size!
  1146.   fi
  1147.   # end of 'MSDOS/tcc/unzip_cr.prj'
  1148. fi
  1149. if test -f 'OS2/ship.def' -a "${1}" != "-c" ; then 
  1150.   echo shar: Will not clobber existing file \"'OS2/ship.def'\"
  1151. else
  1152.   echo shar: Extracting \"'OS2/ship.def'\" \(74 characters\)
  1153.   sed "s/^X//" >'OS2/ship.def' <<'END_OF_FILE'
  1154. XNAME WINDOWCOMPAT NEWFILES
  1155. XDESCRIPTION 'encode/split/mail & decode files'
  1156. END_OF_FILE
  1157.   if test 74 -ne `wc -c <'OS2/ship.def'`; then
  1158.     echo shar: \"'OS2/ship.def'\" unpacked with wrong size!
  1159.   fi
  1160.   # end of 'OS2/ship.def'
  1161. fi
  1162. if test -f 'OS2/unzip.cs' -a "${1}" != "-c" ; then 
  1163.   echo shar: Will not clobber existing file \"'OS2/unzip.cs'\"
  1164. else
  1165.   echo shar: Extracting \"'OS2/unzip.cs'\" \(192 characters\)
  1166.   sed "s/^X//" >'OS2/unzip.cs' <<'END_OF_FILE'
  1167. X(-W1 -DOS2 -DINFLATE -DCRYPT
  1168. Xunzip.c extract.c file_io.c mapname.c match.c misc.c dosname.c
  1169. Xunimplod.c unreduce.c unshrink.c inflate.c crypt.c
  1170. X)
  1171. Xunzip.exe
  1172. Xunzip.def
  1173. Xunzip.bad
  1174. X-AS -LB -S0x1000
  1175. END_OF_FILE
  1176.   if test 192 -ne `wc -c <'OS2/unzip.cs'`; then
  1177.     echo shar: \"'OS2/unzip.cs'\" unpacked with wrong size!
  1178.   fi
  1179.   # end of 'OS2/unzip.cs'
  1180. fi
  1181. if test -f 'OS2/unzip.def.uu' -a "${1}" != "-c" ; then 
  1182.   echo shar: Will not clobber existing file \"'OS2/unzip.def.uu'\"
  1183. else
  1184.   echo shar: Extracting \"'OS2/unzip.def.uu'\" \(172 characters\)
  1185.   sed "s/^X//" >'OS2/unzip.def.uu' <<'END_OF_FILE'
  1186. Xbegin 644 OS2/unzip.def
  1187. XM3D%-12!5;EII<"!724Y$3U=#3TU0050@3D571DE,15,-"D1%4T-225!424].
  1188. XM("=4:&4@=V]R;&0M9F%M;W5S('5N87)C:&EV:6YG('5T:6QI='D@9G)O;2!)
  1189. X+;F9O+5I)4"<-"AHM
  1190. Xend
  1191. END_OF_FILE
  1192.   if test 172 -ne `wc -c <'OS2/unzip.def.uu'`; then
  1193.     echo shar: \"'OS2/unzip.def.uu'\" unpacked with wrong size!
  1194.   else 
  1195.     echo shar: Uudecoding \"'OS2/unzip.def.uu'\" 
  1196.     cat OS2/unzip.def.uu | uudecode 
  1197.     if [ -f OS2/unzip.def.uu ]; then 
  1198.        rm OS2/unzip.def.uu 
  1199.     fi 
  1200.   fi
  1201.   # end of 'OS2/unzip.def.uu'
  1202. fi
  1203. if test -f 'OS2/zipinfo.cs' -a "${1}" != "-c" ; then 
  1204.   echo shar: Will not clobber existing file \"'OS2/zipinfo.cs'\"
  1205. else
  1206.   echo shar: Extracting \"'OS2/zipinfo.cs'\" \(82 characters\)
  1207.   sed "s/^X//" >'OS2/zipinfo.cs' <<'END_OF_FILE'
  1208. X(-W1 -DZIPINFO zipinfo.c misc.c match.c)
  1209. Xzipinfo.exe
  1210. Xzipinfo.def
  1211. X-AS -LB -S0x1000
  1212. END_OF_FILE
  1213.   if test 82 -ne `wc -c <'OS2/zipinfo.cs'`; then
  1214.     echo shar: \"'OS2/zipinfo.cs'\" unpacked with wrong size!
  1215.   fi
  1216.   # end of 'OS2/zipinfo.cs'
  1217. fi
  1218. if test -f 'OS2/zipinfo.def.uu' -a "${1}" != "-c" ; then 
  1219.   echo shar: Will not clobber existing file \"'OS2/zipinfo.def.uu'\"
  1220. else
  1221.   echo shar: Extracting \"'OS2/zipinfo.def.uu'\" \(170 characters\)
  1222.   sed "s/^X//" >'OS2/zipinfo.def.uu' <<'END_OF_FILE'
  1223. Xbegin 644 OS2/zipinfo.def
  1224. XM3D%-12!::7!);F9O(%=)3D1/5T-/35!!5"!.15=&24Q%4PT*1$530U))4%1)
  1225. XM3TX@)T=R96%T(&=O8G,@;V8@:6YT97)E<W1I;F<@:6YF;R!A8F]U="!Z:7!F
  1226. X(:6QE<R<-"AIT
  1227. Xend
  1228. END_OF_FILE
  1229.   if test 170 -ne `wc -c <'OS2/zipinfo.def.uu'`; then
  1230.     echo shar: \"'OS2/zipinfo.def.uu'\" unpacked with wrong size!
  1231.   else  
  1232.     echo shar: Uudecoding \"'OS2/zipinfo.def.uu'\" 
  1233.     cat OS2/zipinfo.def.uu | uudecode  
  1234.     if [ -f OS2/zipinfo.def.uu ]; then  
  1235.        rm OS2/zipinfo.def.uu 
  1236.     fi
  1237.   fi
  1238.   # end of 'OS2/zipinfo.def.uu'
  1239. fi
  1240. if test -f 'VMS/Contents' -a "${1}" != "-c" ; then 
  1241.   echo shar: Will not clobber existing file \"'VMS/Contents'\"
  1242. else
  1243.   echo shar: Extracting \"'VMS/Contents'\" \(1529 characters\)
  1244.   sed "s/^X//" >'VMS/Contents' <<'END_OF_FILE'
  1245. XContents of the VMS sub-archive for UnZip 4.2 and later:
  1246. X
  1247. X  Contents                   this file
  1248. X  VMS.notes                  general VMS info about installing and using UnZip
  1249. X  unzip.rnh                  UnZip manual page, RUNOFF format
  1250. X  vms.c                      VMS file attributes code (for extracted files)
  1251. X  VMSmunch.c                 more file attributes code (for zipfile, mainly)
  1252. X  VMSmunch.h                 VMSmunch macros
  1253. X  fatdef.h                   attributes macros
  1254. X  fchdef.h                   attributes macros
  1255. X  fjndef.h                   attributes macros
  1256. X  make_unzip_gcc.com         command file to compile UnZip and ZipInfo w/ GNU C
  1257. X  make_unzip_vaxc.com        command file to compile UnZip and ZipInfo w/ VAX C
  1258. X  descrip.mms                MMS makefile for UnZip and ZipInfo
  1259. X  vmsshare.opt               options file used in descrip.mms
  1260. X  crypt/make_unzip_gcc.com   command file for decryption version and GNU C
  1261. X  crypt/make_unzip_vaxc.com  command file for decryption version and VAX C
  1262. X  crypt/descrip.mms          MMS makefile for decryption version
  1263. X  bilf/bilf.c                BILF source code
  1264. X  bilf/bilf.exe              BILF executable (binary)
  1265. X  bilf/make_bilf.com         command file to compile BILF
  1266. X
  1267. XBILF may be required for older zipfiles or for those created under other
  1268. Xoperating systems.  Instructions are in the source code.
  1269. X
  1270. XThe non-decryption version of UnZip compiles fine with VMS GCC, although
  1271. Xyou may get a lot of warnings (especially for vms.c).  Ignore them; GCC
  1272. Xis hyper-picky.
  1273. END_OF_FILE
  1274.   if test 1529 -ne `wc -c <'VMS/Contents'`; then
  1275.     echo shar: \"'VMS/Contents'\" unpacked with wrong size!
  1276.   fi
  1277.   # end of 'VMS/Contents'
  1278. fi
  1279. if test -f 'VMS/VMSmunch.h' -a "${1}" != "-c" ; then 
  1280.   echo shar: Will not clobber existing file \"'VMS/VMSmunch.h'\"
  1281. else
  1282.   echo shar: Extracting \"'VMS/VMSmunch.h'\" \(333 characters\)
  1283.   sed "s/^X//" >'VMS/VMSmunch.h' <<'END_OF_FILE'
  1284. X/*---------------------------------------------------------------------------
  1285. X
  1286. X  VMSmunch.h  (just a few handy #defines)
  1287. X
  1288. X  ---------------------------------------------------------------------------*/
  1289. X
  1290. X#define GET_TIMES       4
  1291. X#define SET_TIMES       0
  1292. X#define GET_RTYPE       1
  1293. X#define CHANGE_RTYPE    2
  1294. X#define RESTORE_RTYPE   3
  1295. END_OF_FILE
  1296.   if test 333 -ne `wc -c <'VMS/VMSmunch.h'`; then
  1297.     echo shar: \"'VMS/VMSmunch.h'\" unpacked with wrong size!
  1298.   fi
  1299.   # end of 'VMS/VMSmunch.h'
  1300. fi
  1301. if test -f 'VMS/bilf/make_bilf.com' -a "${1}" != "-c" ; then 
  1302.   echo shar: Will not clobber existing file \"'VMS/bilf/make_bilf.com'\"
  1303. else
  1304.   echo shar: Extracting \"'VMS/bilf/make_bilf.com'\" \(219 characters\)
  1305.   sed "s/^X//" >'VMS/bilf/make_bilf.com' <<'END_OF_FILE'
  1306. X$ set verify    ! like "echo on", eh?
  1307. X$ cc bilf
  1308. X$ link bilf,sys$input:/opt
  1309. Xsys$share:vaxcrtl.exe/shareable
  1310. X$ ! change the following symbol to "$diskname:[directory]bilf.exe" as approp.
  1311. X$ bilf == "$bilf.exe"
  1312. X$ set noverify
  1313. END_OF_FILE
  1314.   if test 219 -ne `wc -c <'VMS/bilf/make_bilf.com'`; then
  1315.     echo shar: \"'VMS/bilf/make_bilf.com'\" unpacked with wrong size!
  1316.   fi
  1317.   # end of 'VMS/bilf/make_bilf.com'
  1318. fi
  1319. if test -f 'VMS/crypt/make_unzip_vaxc.com' -a "${1}" != "-c" ; then 
  1320.   echo shar: Will not clobber existing file \"'VMS/crypt/make_unzip_vaxc.com'\"
  1321. else
  1322.   echo shar: Extracting \"'VMS/crypt/make_unzip_vaxc.com'\" \(1154 characters\)
  1323.   sed "s/^X//" >'VMS/crypt/make_unzip_vaxc.com' <<'END_OF_FILE'
  1324. X$ !
  1325. X$ !        "Makefile" for VMS versions of unzip and zipinfo
  1326. X$ !            (version:  crypt + no inflate)
  1327. X$ !
  1328. X$ ! Find out current disk and directory
  1329. X$ !
  1330. X$ my_name = f$env("procedure")
  1331. X$ here = f$parse(my_name,,,"device") + f$parse(my_name,,,"directory")
  1332. X$ set verify    ! like "echo on", eh?
  1333. X$ !
  1334. X$ ! Do unzip:
  1335. X$ !
  1336. X$ cc /def=(CRYPT) unzip,crypt,extract,file_io,-
  1337. X    mapname,match,misc,unimplod,unreduce,unshrink,vms,VMSmunch
  1338. X$ link unzip,crypt,extract,file_io,mapname,match,misc,-
  1339. X    unimplod,unreduce,unshrink,vms,VMSmunch, sys$input:/opt
  1340. X sys$share:vaxcrtl.exe/shareable
  1341. X! Next line:  put a similar line (full pathname for unzip.exe) in login.com.
  1342. X! Remember to include leading "$" before disk name.
  1343. X$ unzip == "$''here'unzip.exe"        ! set up symbol to use unzip
  1344. X$ !
  1345. X$ ! Do zipinfo:
  1346. X$ !
  1347. X$ cc zipinfo
  1348. X$ rename misc.c misc_.c;*
  1349. X$ cc /def=(ZIPINFO) misc_
  1350. X$ rename misc_.c misc.c;*
  1351. X$ link zipinfo,match,misc_,VMSmunch,sys$input:/opt
  1352. X sys$share:vaxcrtl.exe/shareable
  1353. X! Next line:  put a similar line (full pathname for unzip.exe) in login.com.
  1354. X! Remember to include leading "$" before disk name.
  1355. X$ zipinfo == "$''here'zipinfo.exe"    ! set up symbol to use zipinfo
  1356. X$ set noverify
  1357. END_OF_FILE
  1358.   if test 1154 -ne `wc -c <'VMS/crypt/make_unzip_vaxc.com'`; then
  1359.     echo shar: \"'VMS/crypt/make_unzip_vaxc.com'\" unpacked with wrong size!
  1360.   fi
  1361.   # end of 'VMS/crypt/make_unzip_vaxc.com'
  1362. fi
  1363. if test -f 'VMS/fjndef.h' -a "${1}" != "-c" ; then 
  1364.   echo shar: Will not clobber existing file \"'VMS/fjndef.h'\"
  1365. else
  1366.   echo shar: Extracting \"'VMS/fjndef.h'\" \(684 characters\)
  1367.   sed "s/^X//" >'VMS/fjndef.h' <<'END_OF_FILE'
  1368. X/* This header file was created by Joe Meadows, and is not copyrighted
  1369. X   in any way. No guarantee is made as to the accuracy of the contents
  1370. X   of this header file. This header file was last modified on Sep. 22th,
  1371. X   1987. (Modified to include this statement) */
  1372. X
  1373. X#define FJN$M_ONLY_RU 1
  1374. X#define FJN$M_RUJNL 2
  1375. X#define FJN$M_BIJNL 4
  1376. X#define FJN$M_AIJNL 8
  1377. X#define FJN$M_ATJNL 16
  1378. X#define FJN$M_NEVER_RU 32
  1379. X#define FJN$M_JOURNAL_FILE 64
  1380. X#define FJN$S_FJNDEF 1
  1381. Xstruct fjndef  {
  1382. X  unsigned fjn$v_only_ru : 1;
  1383. X  unsigned fjn$v_rujnl : 1;
  1384. X  unsigned fjn$v_bijnl : 1;
  1385. X  unsigned fjn$v_aijnl : 1;
  1386. X  unsigned fjn$v_atjnl : 1;
  1387. X  unsigned fjn$v_never_ru : 1;
  1388. X  unsigned fjn$v_journal_file:1;
  1389. X} ;
  1390. END_OF_FILE
  1391.   if test 684 -ne `wc -c <'VMS/fjndef.h'`; then
  1392.     echo shar: \"'VMS/fjndef.h'\" unpacked with wrong size!
  1393.   fi
  1394.   # end of 'VMS/fjndef.h'
  1395. fi
  1396. if test -f 'VMS/make_unzip_gcc.com' -a "${1}" != "-c" ; then 
  1397.   echo shar: Will not clobber existing file \"'VMS/make_unzip_gcc.com'\"
  1398. else
  1399.   echo shar: Extracting \"'VMS/make_unzip_gcc.com'\" \(1468 characters\)
  1400.   sed "s/^X//" >'VMS/make_unzip_gcc.com' <<'END_OF_FILE'
  1401. X$ !
  1402. X$ !        "Makefile" for VMS versions of unzip and zipinfo
  1403. X$ !            (version:  no crypt + no inflate)
  1404. X$ !
  1405. X$ ! Find out current disk and directory
  1406. X$ !
  1407. X$ my_name = f$env("procedure")
  1408. X$ here = f$parse(my_name,,,"device") + f$parse(my_name,,,"directory")
  1409. X$ set verify    ! like "echo on", eh?
  1410. X$ !
  1411. X$ ! Do unzip:
  1412. X$ !
  1413. X$ gcc /undef=__STDC__ unzip
  1414. X$ gcc /undef=__STDC__ extract
  1415. X$ gcc /undef=__STDC__ file_io
  1416. X$ gcc /undef=__STDC__     mapname
  1417. X$ gcc /undef=__STDC__ match
  1418. X$ gcc /undef=__STDC__ misc
  1419. X$ gcc /undef=__STDC__ unimplod
  1420. X$ gcc /undef=__STDC__ unreduce
  1421. X$ gcc /undef=__STDC__ unshrink
  1422. X$ gcc /undef=__STDC__ vms
  1423. X$ gcc /undef=__STDC__ VMSmunch
  1424. X$ link unzip,extract,file_io,mapname,match,misc,-
  1425. X    unimplod,unreduce,unshrink,vms,VMSmunch,-
  1426. Xgnu_cc:[000000]gcclib.olb/lib,-
  1427. X sys$input:/opt
  1428. X sys$share:vaxcrtl.exe/shareable
  1429. X! Next line:  put a similar line (full pathname for unzip.exe) in login.com.
  1430. X! Remember to include leading "$" before disk name.
  1431. X$ unzip == "$''here'unzip.exe"        ! set up symbol to use unzip
  1432. X$ !
  1433. X$ ! Do zipinfo:
  1434. X$ !
  1435. X$ gcc /undef=__STDC__ zipinfo
  1436. X$ rename misc.c misc_.c;*
  1437. X$ gcc /undef=_STDC__ /def=(ZIPINFO) misc_
  1438. X$ rename misc_.c misc.c;*
  1439. X$ link zipinfo,match,misc_,VMSmunch,-
  1440. Xgnu_cc:[000000]gcclib.olb/lib,-
  1441. Xsys$input:/opt
  1442. X sys$share:vaxcrtl.exe/shareable
  1443. X! Next line:  put a similar line (full pathname for unzip.exe) in login.com.
  1444. X! Remember to include leading "$" before disk name.
  1445. X$ zipinfo == "$''here'zipinfo.exe"    ! set up symbol to use zipinfo
  1446. X$ set noverify
  1447. END_OF_FILE
  1448.   if test 1468 -ne `wc -c <'VMS/make_unzip_gcc.com'`; then
  1449.     echo shar: \"'VMS/make_unzip_gcc.com'\" unpacked with wrong size!
  1450.   fi
  1451.   # end of 'VMS/make_unzip_gcc.com'
  1452. fi
  1453. if test -f 'VMS/vmsshare.opt' -a "${1}" != "-c" ; then 
  1454.   echo shar: Will not clobber existing file \"'VMS/vmsshare.opt'\"
  1455. else
  1456.   echo shar: Extracting \"'VMS/vmsshare.opt'\" \(30 characters\)
  1457.   sed "s/^X//" >'VMS/vmsshare.opt' <<'END_OF_FILE'
  1458. Xsys$library:vaxcrtl.exe/share
  1459. END_OF_FILE
  1460.   if test 30 -ne `wc -c <'VMS/vmsshare.opt'`; then
  1461.     echo shar: \"'VMS/vmsshare.opt'\" unpacked with wrong size!
  1462.   fi
  1463.   # end of 'VMS/vmsshare.opt'
  1464. fi
  1465. if test -f 'cray.dif' -a "${1}" != "-c" ; then 
  1466.   echo shar: Will not clobber existing file \"'cray.dif'\"
  1467. else
  1468.   echo shar: Extracting \"'cray.dif'\" \(498 characters\)
  1469.   sed "s/^X//" >'cray.dif' <<'END_OF_FILE'
  1470. X*** crypt.c.orig    Fri Nov  8 13:59:54 1991
  1471. X--- crypt.c    Fri Mar 20 12:46:47 1992
  1472. X***************
  1473. X*** 36,42 ****
  1474. X     ush temp;
  1475. X  
  1476. X     temp = (ush)keys[2] | 2;
  1477. X!    return (int)(((temp * (temp ^ 1)) >> 8) & 0xff);
  1478. X  }
  1479. X  
  1480. X  /***********************************************************************
  1481. X--- 36,42 ----
  1482. X     ush temp;
  1483. X  
  1484. X     temp = (ush)keys[2] | 2;
  1485. X!    return (int)(((ush)(temp * (temp ^ 1)) >> 8) & 0xff);
  1486. X  }
  1487. X  
  1488. X  /***********************************************************************
  1489. END_OF_FILE
  1490.   if test 498 -ne `wc -c <'cray.dif'`; then
  1491.     echo shar: \"'cray.dif'\" unpacked with wrong size!
  1492.   fi
  1493.   # end of 'cray.dif'
  1494. fi
  1495. if test -f 'zip.h' -a "${1}" != "-c" ; then 
  1496.   echo shar: Will not clobber existing file \"'zip.h'\"
  1497. else
  1498.   echo shar: Extracting \"'zip.h'\" \(650 characters\)
  1499.   sed "s/^X//" >'zip.h' <<'END_OF_FILE'
  1500. X/* This is a dummy zip.h to allow crypt.c from Zip to compile for unzip */
  1501. X
  1502. X#define SKIP_TIME_H   /* temporary bugfix for VMS gcc compiler (may be */
  1503. X#include "unzip.h"    /*  necessary for other compilers--edit unzip.h  */
  1504. X#undef SKIP_TIME_H    /*  appropriately) */
  1505. X
  1506. X#define local
  1507. X#ifdef __STDC__
  1508. X#  define PROTO
  1509. X#endif
  1510. Xtypedef unsigned short ush;
  1511. Xtypedef unsigned long ulg;
  1512. X#if defined(UTS)   /* may be necessary for other old compilers, too */
  1513. X   typedef char *voidp;
  1514. X#else /* !UTS */
  1515. X   typedef void *voidp;
  1516. X#endif /* ?UTS */
  1517. Xtypedef int extent;
  1518. X
  1519. Xextern ULONG crc_32_tab[];
  1520. X#define crc32(c, b) (crc_32_tab[((int)(c) ^ (b)) & 0xff] ^ ((c) >> 8))
  1521. END_OF_FILE
  1522.   if test 650 -ne `wc -c <'zip.h'`; then
  1523.     echo shar: \"'zip.h'\" unpacked with wrong size!
  1524.   fi
  1525.   # end of 'zip.h'
  1526. fi
  1527. echo shar: End of archive 12 \(of 12\).
  1528. cp /dev/null ark12isdone
  1529. MISSING=""
  1530. for I in 1 2 3 4 5 6 7 8 9 10 11 12 ; do
  1531.     if test ! -f ark${I}isdone ; then
  1532.     MISSING="${MISSING} ${I}"
  1533.     fi
  1534. done
  1535. if test "${MISSING}" = "" ; then
  1536.     echo You have unpacked all 12 archives.
  1537.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  1538. else
  1539.     echo You still must unpack the following archives:
  1540.     echo "        " ${MISSING}
  1541. fi
  1542. exit 0
  1543.  
  1544.  
  1545. exit 0 # Just in case...
  1546.