Source-Changes-HG archive

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

[src/trunk]: src/bin/pax Wrap call to fchroot in CONFIG tests so this doesn't...



details:   https://anonhg.NetBSD.org/src/rev/bbe5c517cc31
branches:  trunk
changeset: 580727:bbe5c517cc31
user:      jmc <jmc%NetBSD.org@localhost>
date:      Fri May 06 16:49:25 2005 +0000

description:
Wrap call to fchroot in CONFIG tests so this doesn't blow up on cross-tools

diffstat:

 bin/pax/ar_subs.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 18248611d124 -r bbe5c517cc31 bin/pax/ar_subs.c
--- a/bin/pax/ar_subs.c Fri May 06 14:03:55 2005 +0000
+++ b/bin/pax/ar_subs.c Fri May 06 16:49:25 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ar_subs.c,v 1.39 2005/05/05 14:54:49 christos Exp $    */
+/*     $NetBSD: ar_subs.c,v 1.40 2005/05/06 16:49:25 jmc Exp $ */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -42,7 +42,7 @@
 #if 0
 static char sccsid[] = "@(#)ar_subs.c  8.2 (Berkeley) 4/18/94";
 #else
-__RCSID("$NetBSD: ar_subs.c,v 1.39 2005/05/05 14:54:49 christos Exp $");
+__RCSID("$NetBSD: ar_subs.c,v 1.40 2005/05/06 16:49:25 jmc Exp $");
 #endif
 #endif /* not lint */
 
@@ -110,6 +110,7 @@
        return updatepath();
 }
 
+#if !HAVE_NBTOOL_CONFIG_H
 static int
 fdochroot(int fcwd)
 {
@@ -119,6 +120,7 @@
        }
        return updatepath();
 }
+#endif
 
 static int
 path_check(ARCHD *arcn, int level)



Home | Main Index | Thread Index | Old Index