Source-Changes-HG archive

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

[src/trunk]: src/bin/pax PR/18831: Andreas Wrede: Don't exit with an error wh...



details:   https://anonhg.NetBSD.org/src/rev/8070fa2cec38
branches:  trunk
changeset: 538730:8070fa2cec38
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Oct 27 20:48:15 2002 +0000

description:
PR/18831: Andreas Wrede: Don't exit with an error when we are reading a gnu
tar archive.

diffstat:

 bin/pax/tar.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d5bc609bbcc8 -r 8070fa2cec38 bin/pax/tar.c
--- a/bin/pax/tar.c     Sun Oct 27 20:24:28 2002 +0000
+++ b/bin/pax/tar.c     Sun Oct 27 20:48:15 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tar.c,v 1.31 2002/10/18 15:55:08 christos Exp $        */
+/*     $NetBSD: tar.c,v 1.32 2002/10/27 20:48:15 christos Exp $        */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -42,7 +42,7 @@
 #if 0
 static char sccsid[] = "@(#)tar.c      8.2 (Berkeley) 4/18/94";
 #else
-__RCSID("$NetBSD: tar.c,v 1.31 2002/10/18 15:55:08 christos Exp $");
+__RCSID("$NetBSD: tar.c,v 1.32 2002/10/27 20:48:15 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -733,7 +733,7 @@
        if (strncmp(hd->magic, "ustar  ", 8) == 0 && !is_gnutar &&
            !seen_gnu_warning) {
                seen_gnu_warning = 1;
-               tty_warn(1,
+               tty_warn(0,
                    "Trying to read GNU tar archive with extensions off");
        }
        if (asc_ul(hd->chksum,sizeof(hd->chksum),OCT) != tar_chksm(blk,BLKMULT))



Home | Main Index | Thread Index | Old Index