Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-2-0]: src/usr.bin/gzip Pull up revision 1.9 (requested by mrg in ...



details:   https://anonhg.NetBSD.org/src/rev/4305bcfe0547
branches:  netbsd-2-0
changeset: 561232:4305bcfe0547
user:      tron <tron%NetBSD.org@localhost>
date:      Sun May 30 14:55:45 2004 +0000

description:
Pull up revision 1.9 (requested by mrg in ticket #420):
WARNS=3: add some const poisoning, and sort out local variable
definitions shadowing other variables.
Pass storage for file names into the file_compress and file_uncompress
functions, so that we don't run the risk of leaking memory. Remove a global
variable that's no longer needed.

diffstat:

 usr.bin/gzip/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 028e44c238e5 -r 4305bcfe0547 usr.bin/gzip/Makefile
--- a/usr.bin/gzip/Makefile     Sun May 30 14:54:53 2004 +0000
+++ b/usr.bin/gzip/Makefile     Sun May 30 14:55:45 2004 +0000
@@ -1,10 +1,11 @@
-#      $NetBSD: Makefile,v 1.8 2004/01/01 02:44:09 mrg Exp $
+#      $NetBSD: Makefile,v 1.8.2.1 2004/05/30 14:55:45 tron Exp $
 
 PROG=          gzip
 MAN=           gzip.1 gzexe.1 zdiff.1 zforce.1 zgrep.1 zmore.1 znew.1
 
 DPADD=         ${LIBZ} ${LIBBZ2}
 LDADD=         -lz -lbz2
+WARNS=         3
 
 SCRIPTS=       gzexe zdiff zforce zgrep zmore znew
 



Home | Main Index | Thread Index | Old Index