Source-Changes-HG archive

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

[src/trunk]: src/bin/pax Backout previous; it was wrong fix.



details:   https://anonhg.NetBSD.org/src/rev/3f6368ac202d
branches:  trunk
changeset: 757465:3f6368ac202d
user:      enami <enami%NetBSD.org@localhost>
date:      Tue Aug 31 05:07:09 2010 +0000

description:
Backout previous; it was wrong fix.

diffstat:

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

diffs (26 lines):

diff -r 7b44b6008ab9 -r 3f6368ac202d bin/pax/ar_io.c
--- a/bin/pax/ar_io.c   Tue Aug 31 04:50:07 2010 +0000
+++ b/bin/pax/ar_io.c   Tue Aug 31 05:07:09 2010 +0000
@@ -42,7 +42,7 @@
 #if 0
 static char sccsid[] = "@(#)ar_io.c    8.2 (Berkeley) 4/18/94";
 #else
-__RCSID("$NetBSD: ar_io.c,v 1.51 2010/08/31 04:50:07 enami Exp $");
+__RCSID("$NetBSD: ar_io.c,v 1.52 2010/08/31 05:07:09 enami Exp $");
 #endif
 #endif /* not lint */
 
@@ -147,13 +147,11 @@
                        syswarn(0, errno, "Failed open on %s", name);
                        return -1;
                }
-#if !HAVE_NBTOOL_CONFIG_H
                if (!isrmt(arfd)) {
                        rmtclose(arfd);
                        tty_warn(0, "Not a remote file: %s", name);
                        return -1;
                }
-#endif
                blksz = rdblksz = 8192;
                lstrval = 1;
                return 0;



Home | Main Index | Thread Index | Old Index