Module Name:    src
Committed By:   christos
Date:           Sun Jun 19 02:19:09 UTC 2011

Modified Files:
        src/usr.bin/gzip: gzip.c

Log Message:
recognize .xz suffix


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/usr.bin/gzip/gzip.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/gzip/gzip.c
diff -u src/usr.bin/gzip/gzip.c:1.101 src/usr.bin/gzip/gzip.c:1.102
--- src/usr.bin/gzip/gzip.c:1.101	Sat Jun 18 21:20:19 2011
+++ src/usr.bin/gzip/gzip.c	Sat Jun 18 22:19:09 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: gzip.c,v 1.101 2011/06/19 01:20:19 tsutsui Exp $	*/
+/*	$NetBSD: gzip.c,v 1.102 2011/06/19 02:19:09 christos Exp $	*/
 
 /*
  * Copyright (c) 1997, 1998, 2003, 2004, 2006 Matthew R. Green
@@ -30,7 +30,7 @@
 #ifndef lint
 __COPYRIGHT("@(#) Copyright (c) 1997, 1998, 2003, 2004, 2006\
  Matthew R. Green.  All rights reserved.");
-__RCSID("$NetBSD: gzip.c,v 1.101 2011/06/19 01:20:19 tsutsui Exp $");
+__RCSID("$NetBSD: gzip.c,v 1.102 2011/06/19 02:19:09 christos Exp $");
 #endif /* not lint */
 
 /*
@@ -150,6 +150,9 @@
 #ifndef NO_COMPRESS_SUPPORT
 	SUFFIX(Z_SUFFIX,	""),
 #endif
+#ifndef NO_XZ_SUPPORT
+	SUFFIX(XZ_SUFFIX,	""),
+#endif
 	SUFFIX(GZ_SUFFIX,	""),	/* Overwritten by -S "" */
 #endif /* SMALL */
 #undef SUFFIX

Reply via email to