Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/csh Deal with RESCUE
details: https://anonhg.NetBSD.org/src/rev/62118841e28a
branches: trunk
changeset: 569391:62118841e28a
user: christos <christos%NetBSD.org@localhost>
date: Thu Aug 19 22:31:38 2004 +0000
description:
Deal with RESCUE
diffstat:
bin/csh/csh.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r f0948e1c2a24 -r 62118841e28a bin/csh/csh.c
--- a/bin/csh/csh.c Thu Aug 19 22:25:49 2004 +0000
+++ b/bin/csh/csh.c Thu Aug 19 22:31:38 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: csh.c,v 1.34 2003/08/07 09:05:04 agc Exp $ */
+/* $NetBSD: csh.c,v 1.35 2004/08/19 22:31:38 christos Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)csh.c 8.2 (Berkeley) 10/12/93";
#else
-__RCSID("$NetBSD: csh.c,v 1.34 2003/08/07 09:05:04 agc Exp $");
+__RCSID("$NetBSD: csh.c,v 1.35 2004/08/19 22:31:38 christos Exp $");
#endif
#endif /* not lint */
@@ -1318,7 +1318,9 @@
#define DIRAPPEND(a) \
if (stat(ptr = a, &stb) == 0 && S_ISDIR(stb.st_mode)) \
*blkp++ = SAVE(ptr)
-
+#ifdef RESCUEDIR
+ DIRAPPEND(RESCUEDIR);
+#endif
DIRAPPEND(_PATH_BIN);
DIRAPPEND(_PATH_USRBIN);
Home |
Main Index |
Thread Index |
Old Index