diff options
author | nelson%bolyard.com <devnull@localhost> | 2009-11-07 01:13:31 +0000 |
---|---|---|
committer | nelson%bolyard.com <devnull@localhost> | 2009-11-07 01:13:31 +0000 |
commit | 961a72b4207dd5781d21f6f8e79bce647e791c48 (patch) | |
tree | a6fb4e3b95173757d77f78f7d3ba5ac3e366779f /security/nss/lib/zlib | |
parent | 3dbbc33c088c0fda7e2e42ecd75a8e009893a9b9 (diff) | |
download | nss-hg-961a72b4207dd5781d21f6f8e79bce647e791c48.tar.gz |
Bug 491044: Remove support for VMS (a.k.a., OpenVMS) from NSS, r=rrelyea
Diffstat (limited to 'security/nss/lib/zlib')
-rw-r--r-- | security/nss/lib/zlib/README | 2 | ||||
-rw-r--r-- | security/nss/lib/zlib/example.c | 2 | ||||
-rw-r--r-- | security/nss/lib/zlib/minigzip.c | 4 | ||||
-rw-r--r-- | security/nss/lib/zlib/zconf.h | 8 | ||||
-rw-r--r-- | security/nss/lib/zlib/zutil.h | 5 |
5 files changed, 3 insertions, 18 deletions
diff --git a/security/nss/lib/zlib/README b/security/nss/lib/zlib/README index 758cc5002..92639fcea 100644 --- a/security/nss/lib/zlib/README +++ b/security/nss/lib/zlib/README @@ -17,7 +17,7 @@ minigzip.c. To compile all files and run the test program, follow the instructions given at the top of Makefile. In short "make test; make install" should work for most machines. For Unix: "./configure; make test; make install". For MSDOS, use one -of the special makefiles such as Makefile.msc. For VMS, use make_vms.com. +of the special makefiles such as Makefile.msc. Questions about zlib should be sent to <zlib@gzip.org>, or to Gilles Vollant <info@winimage.com> for the Windows DLL version. The zlib home page is diff --git a/security/nss/lib/zlib/example.c b/security/nss/lib/zlib/example.c index 6c8a0ee76..403b0ba72 100644 --- a/security/nss/lib/zlib/example.c +++ b/security/nss/lib/zlib/example.c @@ -13,7 +13,7 @@ # include <stdlib.h> #endif -#if defined(VMS) || defined(RISCOS) +#if defined(RISCOS) # define TESTFILE "foo-gz" #else # define TESTFILE "foo.gz" diff --git a/security/nss/lib/zlib/minigzip.c b/security/nss/lib/zlib/minigzip.c index 4524b96a1..bbbdca66b 100644 --- a/security/nss/lib/zlib/minigzip.c +++ b/security/nss/lib/zlib/minigzip.c @@ -37,10 +37,6 @@ # define SET_BINARY_MODE(file) #endif -#ifdef VMS -# define unlink delete -# define GZ_SUFFIX "-gz" -#endif #ifdef RISCOS # define unlink remove # define GZ_SUFFIX "-gz" diff --git a/security/nss/lib/zlib/zconf.h b/security/nss/lib/zlib/zconf.h index 03a9431c8..e60a43e63 100644 --- a/security/nss/lib/zlib/zconf.h +++ b/security/nss/lib/zlib/zconf.h @@ -284,14 +284,6 @@ typedef uLong FAR uLongf; typedef Byte *voidp; #endif -#if 0 /* HAVE_UNISTD_H -- this line is updated by ./configure */ -# include <sys/types.h> /* for off_t */ -# include <unistd.h> /* for SEEK_* and off_t */ -# ifdef VMS -# include <unixio.h> /* for off_t */ -# endif -# define z_off_t off_t -#endif #ifndef SEEK_SET # define SEEK_SET 0 /* Seek from beginning of file. */ # define SEEK_CUR 1 /* Seek from current position. */ diff --git a/security/nss/lib/zlib/zutil.h b/security/nss/lib/zlib/zutil.h index fe7a9a7c1..7756bc8e3 100644 --- a/security/nss/lib/zlib/zutil.h +++ b/security/nss/lib/zlib/zutil.h @@ -105,7 +105,7 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ # define OS_CODE 0x01 #endif -#if defined(VAXC) || defined(VMS) +#if defined(VAXC) # define OS_CODE 0x02 # define F_OPEN(name, mode) \ fopen((name), (mode), "mbc=60", "ctx=stm", "rfm=fix", "mrs=512") @@ -205,9 +205,6 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ # define NO_vsnprintf # endif #endif -#ifdef VMS -# define NO_vsnprintf -#endif #if defined(pyr) # define NO_MEMCPY |