home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume31 / zip19 / patch01 / patch1.2 < prev   
Encoding:
Text File  |  1992-09-02  |  3.4 KB  |  131 lines

  1. diff -cr zip19/msdos/makefile.bor zip19p1/msdos/makefile.bor
  2. *** zip19/msdos/makefile.bor    Thu Aug 20 04:19:56 1992
  3. --- zip19p1/msdos/makefile.bor    Wed Aug 26 15:26:20 1992
  4. ***************
  5. *** 106,112 ****
  6.       $(CC) -c $(UTILFLAGS)$* fileio.c
  7.   
  8.   util_.obj:    util.c zip.h ziperr.h tailor.h
  9. !     $(CC) -c $(UTILFLAGS)$* fileio.c
  10.   
  11.   crypt_.obj:    crypt.c zip.h ziperr.h tailor.h
  12.       $(CC) -c $(UTILFLAGS)$* crypt.c
  13. --- 106,112 ----
  14.       $(CC) -c $(UTILFLAGS)$* fileio.c
  15.   
  16.   util_.obj:    util.c zip.h ziperr.h tailor.h
  17. !     $(CC) -c $(UTILFLAGS)$* util_.c
  18.   
  19.   crypt_.obj:    crypt.c zip.h ziperr.h tailor.h
  20.       $(CC) -c $(UTILFLAGS)$* crypt.c
  21. diff -cr zip19/msdos/makefile.gcc zip19p1/msdos/makefile.gcc
  22. *** zip19/msdos/makefile.gcc    Thu Aug 20 04:18:24 1992
  23. --- zip19p1/msdos/makefile.gcc    Wed Aug 26 15:30:18 1992
  24. ***************
  25. *** 1,5 ****
  26.   # Makefile for Zip, ZipCloak, ZipNote and ZipSplit for
  27. ! # djgcc 1.06
  28.   
  29.   CRYPTO=
  30.   CLOAK=
  31. --- 1,5 ----
  32.   # Makefile for Zip, ZipCloak, ZipNote and ZipSplit for
  33. ! # djgcc 1.08
  34.   
  35.   CRYPTO=
  36.   CLOAK=
  37. ***************
  38. *** 7,13 ****
  39.   
  40.   #  *** For encryption version, remove the # at the front of next 3 lines ***
  41.   #CRYPTO=crypt.o
  42. ! #CLOAK=zipcloak.exe
  43.   #CRFLAG=-DCRYPT
  44.   
  45.   # ------------- djgcc -------------
  46. --- 7,13 ----
  47.   
  48.   #  *** For encryption version, remove the # at the front of next 3 lines ***
  49.   #CRYPTO=crypt.o
  50. ! #CLOAK=zipcloak
  51.   #CRFLAG=-DCRYPT
  52.   
  53.   # ------------- djgcc -------------
  54. ***************
  55. *** 19,25 ****
  56.   
  57.   # variables
  58.   OBJZ = zip.o zipfile.o zipup.o fileio.o util.o globals.o $(CRYPTO)
  59.   OBJU = zipfile_.o zipup_.o fileio_.o util_.o globals.o
  60.   OBJN = zipnote.o  $(OBJU)
  61.   OBJC = zipcloak.o $(OBJU) crypt_.o
  62. --- 19,25 ----
  63.   
  64.   # variables
  65.   OBJZ = zip.o zipfile.o zipup.o fileio.o util.o globals.o $(CRYPTO)
  66. ! OBJI = deflate.o trees.o bits.o match.o
  67.   OBJU = zipfile_.o zipup_.o fileio_.o util_.o globals.o
  68.   OBJN = zipnote.o  $(OBJU)
  69.   OBJC = zipcloak.o $(OBJU) crypt_.o
  70. ***************
  71. *** 63,69 ****
  72.       $(CC) -c $(UTILFLAGS) $@ fileio.c
  73.   
  74.   util_.o:    util.c zip.h ziperr.h tailor.h
  75. !     $(CC) -c $(UTILFLAGS) $@ fileio.c
  76.   
  77.   crypt_.o:     crypt.c zip.h
  78.       $(CC) -c $(UTILFLAGS) $@ crypt.c
  79. --- 63,69 ----
  80.       $(CC) -c $(UTILFLAGS) $@ fileio.c
  81.   
  82.   util_.o:    util.c zip.h ziperr.h tailor.h
  83. !     $(CC) -c $(UTILFLAGS) $@ util.c
  84.   
  85.   crypt_.o:     crypt.c zip.h
  86.       $(CC) -c $(UTILFLAGS) $@ crypt.c
  87. ***************
  88. *** 84,89 ****
  89.       del $@
  90.   
  91.   zipsplit: $(OBJS)
  92. !     $(LD) $(LDFAGS) $(OBJS) -o $@
  93.       aout2exe $@
  94.       del $@
  95. --- 84,89 ----
  96.       del $@
  97.   
  98.   zipsplit: $(OBJS)
  99. !     $(LD) $(LDFLAGS) $(OBJS) -o $@
  100.       aout2exe $@
  101.       del $@
  102. diff -cr zip19/os2/os2zip.c zip19p1/os2/os2zip.c
  103. *** zip19/os2/os2zip.c    Thu Aug 20 20:03:10 1992
  104. --- zip19p1/os2/os2zip.c    Wed Aug 26 13:08:34 1992
  105. ***************
  106. *** 581,591 ****
  107.      calls that may fail, but not for malloc() calls, because they are VERY
  108.      unlikely to fail. If ever, we just leave some memory allocated ... */
  109.   
  110. ! #if defined(__GNUC__) || defined(__IBMC__)
  111.   #define alloc alloca
  112.   #endif
  113.   
  114. ! #ifdef __WATCOMC__
  115.   #define alloc malloc
  116.   #define __FREE__
  117.   #endif
  118. --- 581,591 ----
  119.      calls that may fail, but not for malloc() calls, because they are VERY
  120.      unlikely to fail. If ever, we just leave some memory allocated ... */
  121.   
  122. ! #if defined(__GNUC__)
  123.   #define alloc alloca
  124.   #endif
  125.   
  126. ! #if defined(__WATCOMC__) || defined(__IBMC__)
  127.   #define alloc malloc
  128.   #define __FREE__
  129.   #endif
  130.