Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/gzip recognize .xz suffix



details:   https://anonhg.NetBSD.org/src/rev/0ad6640eba35
branches:  trunk
changeset: 766223:0ad6640eba35
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jun 19 02:19:09 2011 +0000

description:
recognize .xz suffix

diffstat:

 usr.bin/gzip/gzip.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r ac228f64a71b -r 0ad6640eba35 usr.bin/gzip/gzip.c
--- a/usr.bin/gzip/gzip.c       Sun Jun 19 02:18:28 2011 +0000
+++ b/usr.bin/gzip/gzip.c       Sun Jun 19 02:19:09 2011 +0000
@@ -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



Home | Main Index | Thread Index | Old Index