summaryrefslogtreecommitdiff
path: root/cmsmvs
diff options
context:
space:
mode:
Diffstat (limited to 'cmsmvs')
-rw-r--r--cmsmvs/cczip.exec3
-rw-r--r--cmsmvs/cms.c6
-rw-r--r--cmsmvs/cmsmvs.c6
-rw-r--r--cmsmvs/cmsmvs.h15
-rw-r--r--cmsmvs/mvs.c6
-rw-r--r--cmsmvs/mvs.mki7
-rw-r--r--cmsmvs/zip.makefile1
-rw-r--r--cmsmvs/zipmvsc.job6
-rw-r--r--cmsmvs/zipvmc.exec4
9 files changed, 15 insertions, 39 deletions
diff --git a/cmsmvs/cczip.exec b/cmsmvs/cczip.exec
index afa97d0..86edb59 100644
--- a/cmsmvs/cczip.exec
+++ b/cmsmvs/cczip.exec
@@ -26,7 +26,6 @@ linklist=''
modname='ZIP'
Say 'Building' modname 'MODULE...'
Call Compile 'ZIP'
-Call Compile 'CRCTAB'
Call Compile 'CRC32'
Call Compile 'CRYPT'
Call Compile 'DEFLATE'
@@ -92,7 +91,7 @@ Call Compile 'ZIPFILE'
Call Compile 'FILEIO'
Call Compile 'UTIL'
Call Compile 'GLOBALS'
-Call Compile 'CRCTAB'
+Call Compile 'CRC32'
Call Compile 'CRYPT'
Call Compile 'TTYIO'
Call Compile 'CMSMVS'
diff --git a/cmsmvs/cms.c b/cmsmvs/cms.c
index e8dfa34..e69f5cb 100644
--- a/cmsmvs/cms.c
+++ b/cmsmvs/cms.c
@@ -1,10 +1,10 @@
/*
- Copyright (c) 1990-2005 Info-ZIP. All rights reserved.
+ Copyright (c) 1990-1999 Info-ZIP. All rights reserved.
- See the accompanying file LICENSE, version 2004-May-22 or later
+ See the accompanying file LICENSE, version 1999-Oct-05 or later
(the contents of which are also included in zip.h) for terms of use.
If, for some reason, both of these files are missing, the Info-ZIP license
- also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
+ also may be found at: ftp://ftp.cdrom.com/pub/infozip/license.html
*/
/*
* VM/CMS specific things.
diff --git a/cmsmvs/cmsmvs.c b/cmsmvs/cmsmvs.c
index 5297908..9c56de7 100644
--- a/cmsmvs/cmsmvs.c
+++ b/cmsmvs/cmsmvs.c
@@ -1,10 +1,10 @@
/*
- Copyright (c) 1990-2005 Info-ZIP. All rights reserved.
+ Copyright (c) 1990-1999 Info-ZIP. All rights reserved.
- See the accompanying file LICENSE, version 2004-May-22 or later
+ See the accompanying file LICENSE, version 1999-Oct-05 or later
(the contents of which are also included in zip.h) for terms of use.
If, for some reason, both of these files are missing, the Info-ZIP license
- also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
+ also may be found at: ftp://ftp.cdrom.com/pub/infozip/license.html
*/
/*
* routines common to VM/CMS and MVS
diff --git a/cmsmvs/cmsmvs.h b/cmsmvs/cmsmvs.h
index 8fca61b..e2adb31 100644
--- a/cmsmvs/cmsmvs.h
+++ b/cmsmvs/cmsmvs.h
@@ -61,18 +61,18 @@
/* definition for ZIP */
#define getch() getc(stdin)
-#define native(c) ebcdic[(c)]
#define MAXPATHLEN 128
#define NO_RMDIR
#define NO_MKTEMP
#define USE_CASE_MAP
+#define isatty(t) 1
+
#ifndef MVS /* MVS has perfectly good definitions for the following */
# define fileno(x) (char *)(x)
# define fdopen fopen
# define unlink remove
# define link rename
# define utime(f,t)
-# define isatty(t) 1
#endif /*MVS */
#ifdef ZCRYPT_INTERNAL
# define ZCR_SEED2 (unsigned)3141592654L /* use PI as seed pattern */
@@ -94,17 +94,6 @@
-/* definitions for UNZIP */
-#ifdef UNZIP
-#define INBUFSIZ 8192
-
-#define USE_STRM_INPUT
-#define USE_FWRITE
-
-#define PATH_MAX 128
-#endif /* UNZIP */
-
-
#if 0 /*$RGH$*/
/* RECFM=F, LRECL=1 works for sure */
#define FOPR "rb,recfm=fb"
diff --git a/cmsmvs/mvs.c b/cmsmvs/mvs.c
index fabc4f0..d7f7437 100644
--- a/cmsmvs/mvs.c
+++ b/cmsmvs/mvs.c
@@ -1,10 +1,10 @@
/*
- Copyright (c) 1990-2005 Info-ZIP. All rights reserved.
+ Copyright (c) 1990-1999 Info-ZIP. All rights reserved.
- See the accompanying file LICENSE, version 2004-May-22 or later
+ See the accompanying file LICENSE, version 1999-Oct-05 or later
(the contents of which are also included in zip.h) for terms of use.
If, for some reason, both of these files are missing, the Info-ZIP license
- also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
+ also may be found at: ftp://ftp.cdrom.com/pub/infozip/license.html
*/
/*
* MVS specific things
diff --git a/cmsmvs/mvs.mki b/cmsmvs/mvs.mki
index 7990902..316d064 100644
--- a/cmsmvs/mvs.mki
+++ b/cmsmvs/mvs.mki
@@ -59,11 +59,11 @@ LDFLAGS=
OBJECTS= $(BLD_P)zip$(O) $(BLD_P)trees$(O) \
$(BLD_P)crypt$(O) $(BLD_P)ttyio$(O) $(BLD_P)deflate$(O) \
$(BLD_P)fileio$(O) $(BLD_P)globals$(O) $(BLD_P)util$(O) \
- $(BLD_P)crc32$(O) $(BLD_P)crctab$(O) $(BLD_P)zipfile$(O) \
+ $(BLD_P)crc32$(O) $(BLD_P)zipfile$(O) \
$(BLD_P)zipup$(O) $(BLD_P)cmsmvs$(O) $(BLD_P)mvs$(O)
# Header files
-HFILES= $(SRC_P)api.h $(SRC_P)crypt.h $(SRC_P)ebcdic.h \
+HFILES= $(SRC_P)api.h $(SRC_P)crc32.h $(SRC_P)crypt.h $(SRC_P)ebcdic.h \
$(SRC_P)revision.h $(SRC_P)tailor.h $(SRC_P)ttyio.h \
$(SRC_P)zip.h $(SRC_P)ziperr.h $(CMSMVS_P)cmsmvs.h \
$(CMSMVS_P)cstat.h $(CMSMVS_P)mvs.h $(CMSMVS_P)zipup.h
@@ -112,9 +112,6 @@ $(BLD_P)util$(O): $(SRC_P)util.c $(HFILES)
$(BLD_P)crc32$(O): $(SRC_P)crc32.c $(HFILES)
$(CC) -c -o $% $(CFLAGS) $(SRC_P)crc32.c
-$(BLD_P)crctab$(O): $(SRC_P)crctab.c $(HFILES)
- $(CC) -c -o $% $(CFLAGS) $(SRC_P)crctab.c
-
$(BLD_P)zipfile$(O): $(SRC_P)zipfile.c $(HFILES)
$(CC) -c -o $% $(CFLAGS) $(SRC_P)zipfile.c
diff --git a/cmsmvs/zip.makefile b/cmsmvs/zip.makefile
index b183367..85bef22 100644
--- a/cmsmvs/zip.makefile
+++ b/cmsmvs/zip.makefile
@@ -13,7 +13,6 @@ TEXT:
zip c
util c
crc32.c
- crctab.c
zipfile c
zipup c
cmsmvs c
diff --git a/cmsmvs/zipmvsc.job b/cmsmvs/zipmvsc.job
index 6b4b1ca..3c786d7 100644
--- a/cmsmvs/zipmvsc.job
+++ b/cmsmvs/zipmvsc.job
@@ -46,11 +46,6 @@
// OUTFILE='C888090.ZIP.C.OBJ(CRC32),DISP=SHR',
// CPARM='LONG,NOTERM,LIST,XREF,SOURCE,OPT(2),DEF(MVS)'
//COMPILE.USERLIB DD DSN=C888090.ZIP.H,DISP=SHR
-//CRCTAB EXEC EDCC,COND=(12,LE),CREGSIZ='4M',
-// INFILE='C888090.ZIP.C(CRCTAB)',
-// OUTFILE='C888090.ZIP.C.OBJ(CRCTAB),DISP=SHR',
-// CPARM='LONG,NOTERM,LIST,XREF,SOURCE,OPT(2),DEF(MVS)'
-//COMPILE.USERLIB DD DSN=C888090.ZIP.H,DISP=SHR
//ZIPFILE EXEC EDCC,COND=(12,LE),CREGSIZ='4M',
// INFILE='C888090.ZIP.C(ZIPFILE)',
// OUTFILE='C888090.ZIP.C.OBJ(ZIPFILE),DISP=SHR',
@@ -85,7 +80,6 @@
// DD DSN=C888090.ZIP.C.OBJ(GLOBALS),DISP=SHR
// DD DSN=C888090.ZIP.C.OBJ(UTIL),DISP=SHR
// DD DSN=C888090.ZIP.C.OBJ(CRC32),DISP=SHR
-// DD DSN=C888090.ZIP.C.OBJ(CRCTAB),DISP=SHR
// DD DSN=C888090.ZIP.C.OBJ(ZIPFILE),DISP=SHR
// DD DSN=C888090.ZIP.C.OBJ(ZIPUP),DISP=SHR
// DD DSN=C888090.ZIP.C.OBJ(CMSMVS),DISP=SHR
diff --git a/cmsmvs/zipvmc.exec b/cmsmvs/zipvmc.exec
index 3232649..3fdd800 100644
--- a/cmsmvs/zipvmc.exec
+++ b/cmsmvs/zipvmc.exec
@@ -27,8 +27,6 @@ say 'Compiling UTIL C...'
'cc util c 'parms
say 'Compiling CRC32 C...'
'cc crc32 c 'parms
-say 'Compiling CRCTAB C...'
-'cc crctab c 'parms
say 'Compiling ZIPFILE C...'
'cc zipfile c 'parms
say 'Compiling ZIPUP C...'
@@ -40,7 +38,7 @@ say 'Compiling CMS C...'
say 'Linking all files...'
'cmod zip zip trees crypt deflate fileio globals ttyio',
- 'util crc32 crctab zipfile zipup cmsmvs cms'
+ 'util crc32 zipfile zipup cmsmvs cms'
say 'All Done!'
say "To run enter : ZIP parms"
exit rc