aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authoraaronl <aaronl@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-12-31 06:13:38 +0000
committeraaronl <aaronl@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-12-31 06:13:38 +0000
commitf50132aae982b06aecddad06b5e94bc12c9d9998 (patch)
tree5788267ee01fc9fed80e199c6818580cff3d47f5 /shell
parent7ee8b0ac81f9e18ffcb97d78309d2420045f0e4b (diff)
downloadbusybox-w32-f50132aae982b06aecddad06b5e94bc12c9d9998.tar.gz
busybox-w32-f50132aae982b06aecddad06b5e94bc12c9d9998.tar.bz2
busybox-w32-f50132aae982b06aecddad06b5e94bc12c9d9998.zip
ash patch: initvar-diff
git-svn-id: svn://busybox.net/trunk/busybox@3971 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c
index db52e5e92..8d6ad16a7 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -11940,7 +11940,7 @@ initvar() {
11940 * PS1 depends on uid 11940 * PS1 depends on uid
11941 */ 11941 */
11942 if ((vps1.flags & VEXPORT) == 0) { 11942 if ((vps1.flags & VEXPORT) == 0) {
11943 vpp = hashvar("PS1="); 11943 vpp = hashvar("PS1=$");
11944 vps1.next = *vpp; 11944 vps1.next = *vpp;
11945 *vpp = &vps1; 11945 *vpp = &vps1;
11946 vps1.text = xstrdup(geteuid() ? "PS1=$ " : "PS1=# "); 11946 vps1.text = xstrdup(geteuid() ? "PS1=$ " : "PS1=# ");
@@ -12470,7 +12470,7 @@ findvar(struct var **vpp, const char *name)
12470/* 12470/*
12471 * Copyright (c) 1999 Herbert Xu <herbert@debian.org> 12471 * Copyright (c) 1999 Herbert Xu <herbert@debian.org>
12472 * This file contains code for the times builtin. 12472 * This file contains code for the times builtin.
12473 * $Id: ash.c,v 1.43 2001/12/31 06:12:48 aaronl Exp $ 12473 * $Id: ash.c,v 1.44 2001/12/31 06:13:38 aaronl Exp $
12474 */ 12474 */
12475static int timescmd (int argc, char **argv) 12475static int timescmd (int argc, char **argv)
12476{ 12476{