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.49 (requested by mrg in...



details:   https://anonhg.NetBSD.org/src/rev/13b7dd541d72
branches:  netbsd-2-0
changeset: 561463:13b7dd541d72
user:      tron <tron%NetBSD.org@localhost>
date:      Fri Jun 18 10:01:29 2004 +0000

description:
Pull up revision 1.49 (requested by mrg in ticket #508):
handle_pathname: if it's stdin, return after handling it, rather than
trying to then process "-" as a file afterwards.  fixes PR#25843.

diffstat:

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

diffs (26 lines):

diff -r 79bb500a44bb -r 13b7dd541d72 usr.bin/gzip/gzip.c
--- a/usr.bin/gzip/gzip.c       Fri Jun 18 09:56:35 2004 +0000
+++ b/usr.bin/gzip/gzip.c       Fri Jun 18 10:01:29 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gzip.c,v 1.29.2.15 2004/06/18 09:56:35 tron Exp $      */
+/*     $NetBSD: gzip.c,v 1.29.2.16 2004/06/18 10:01:29 tron Exp $      */
 
 /*
  * Copyright (c) 1997, 1998, 2003, 2004 Matthew R. Green
@@ -32,7 +32,7 @@
 #ifndef lint
 __COPYRIGHT("@(#) Copyright (c) 1997, 1998, 2003, 2004 Matthew R. Green\n\
      All rights reserved.\n");
-__RCSID("$NetBSD: gzip.c,v 1.29.2.15 2004/06/18 09:56:35 tron Exp $");
+__RCSID("$NetBSD: gzip.c,v 1.29.2.16 2004/06/18 10:01:29 tron Exp $");
 #endif /* not lint */
 
 /*
@@ -1431,6 +1431,7 @@
                        handle_stdin();
                else
                        handle_stdout();
+               return;
        }
 
 retry:



Home | Main Index | Thread Index | Old Index