Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/bin/csh pullup 1.25 -> 1.26: don't glob $PATH when impo...
details: https://anonhg.NetBSD.org/src/rev/d6e55680a2f5
branches: netbsd-1-5
changeset: 489382:d6e55680a2f5
user: christos <christos%NetBSD.org@localhost>
date: Mon Sep 04 22:59:09 2000 +0000
description:
pullup 1.25 -> 1.26: don't glob $PATH when importing it.
[approved by jhawk]
diffstat:
bin/csh/csh.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (42 lines):
diff -r 72245637b2f1 -r d6e55680a2f5 bin/csh/csh.c
--- a/bin/csh/csh.c Mon Sep 04 21:36:34 2000 +0000
+++ b/bin/csh/csh.c Mon Sep 04 22:59:09 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: csh.c,v 1.25 2000/05/31 22:48:44 christos Exp $ */
+/* $NetBSD: csh.c,v 1.25.2.1 2000/09/04 22:59:09 christos Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "@(#)csh.c 8.2 (Berkeley) 10/12/93";
#else
-__RCSID("$NetBSD: csh.c,v 1.25 2000/05/31 22:48:44 christos Exp $");
+__RCSID("$NetBSD: csh.c,v 1.25.2.1 2000/09/04 22:59:09 christos Exp $");
#endif
#endif /* not lint */
@@ -261,12 +261,12 @@
*/
if ((ecp = getenv("PATH")) == NULL) {
#ifdef _PATH_DEFPATH
- importpath(SAVE(_PATH_DEFPATH));
+ importpath(str2short(_PATH_DEFPATH));
#else
setq(STRpath, defaultpath(), &shvhed);
#endif
} else {
- importpath(SAVE(ecp));
+ importpath(str2short(ecp));
}
set(STRshell, Strsave(STR_SHELLPATH));
@@ -647,7 +647,7 @@
dp++;
}
pv[i] = 0;
- set1(STRpath, pv, &shvhed);
+ setq(STRpath, pv, &shvhed);
}
/*
Home |
Main Index |
Thread Index |
Old Index