summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/gzip/zdiff
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>1999-05-28 13:23:27 +0000
committerkris <kris@FreeBSD.org>1999-05-28 13:23:27 +0000
commit2c39f0fd7d079a2cea7dcf8425e931366294a5fe (patch)
treeb7264041624866114e0a4caf0ce7bc6061adc968 /gnu/usr.bin/gzip/zdiff
parent7e52c731df6a87ccbaa50164c708a3fc6d4800f8 (diff)
downloadFreeBSD-src-2c39f0fd7d079a2cea7dcf8425e931366294a5fe.zip
FreeBSD-src-2c39f0fd7d079a2cea7dcf8425e931366294a5fe.tar.gz
Fixes from OpenBSD:
Add $Id$ Removes temp file exploits in gzexe (predictable filenames) Fixes some typos Fixes a buffer overrun in gzip -S Don't prepend /usr/local/bin to path in scripts Correct location of /usr/share/misc/termcap Obtained from: OpenBSD
Diffstat (limited to 'gnu/usr.bin/gzip/zdiff')
-rw-r--r--gnu/usr.bin/gzip/zdiff3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/gzip/zdiff b/gnu/usr.bin/gzip/zdiff
index 84e65d3..a8ba5fe 100644
--- a/gnu/usr.bin/gzip/zdiff
+++ b/gnu/usr.bin/gzip/zdiff
@@ -8,8 +8,9 @@
# If two files are specified, then they are uncompressed (if
# necessary) and fed to cmp or diff. The exit status from cmp
# or diff is preserved.
+#
+# $Id$
-PATH="/usr/local/bin:$PATH"; export PATH
prog=`echo $0 | sed 's|.*/||'`
case "$prog" in
*cmp) comp=${CMP-cmp} ;;
OpenPOWER on IntegriCloud