diff options
Diffstat (limited to 'sys-freebsd/freebsd-sbin/files/freebsd-sbin-10.0-zlib.patch')
-rw-r--r-- | sys-freebsd/freebsd-sbin/files/freebsd-sbin-10.0-zlib.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-10.0-zlib.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-10.0-zlib.patch deleted file mode 100644 index c0a2bf9..0000000 --- a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-10.0-zlib.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c -index bdbf7e3..a4c67ec 100644 ---- a/sbin/savecore/savecore.c -+++ b/sbin/savecore/savecore.c -@@ -92,7 +92,7 @@ static int checkfor, compress, clear, force, keep, verbose; /* flags */ - static int nfound, nsaved, nerr; /* statistics */ - static int maxdumps; - --extern FILE *zopen(const char *, const char *); -+extern FILE *gzopen(const char *, const char *); - - static sig_atomic_t got_siginfo; - static void infohandler(int); -@@ -626,7 +626,7 @@ DoFile(const char *savedir, const char *device) - if (compress) { - snprintf(corename, sizeof(corename), "%s.%d.gz", - istextdump ? "textdump.tar" : "vmcore", bounds); -- fp = zopen(corename, "w"); -+ fp = gzopen(corename, "w"); - } else { - snprintf(corename, sizeof(corename), "%s.%d", - istextdump ? "textdump.tar" : "vmcore", bounds); |