aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorAaron Lehmann <aaronl@vitelius.com>2001-12-31 06:00:57 +0000
committerAaron Lehmann <aaronl@vitelius.com>2001-12-31 06:00:57 +0000
commit95877b675640b7fb341bc9a927dcbb7cdea46b25 (patch)
tree598383c5308e2a13c092639081afbd8247ef4361 /shell
parent79a466f1285509853b2fa37351219d58506c58c4 (diff)
downloadbusybox-w32-95877b675640b7fb341bc9a927dcbb7cdea46b25.tar.gz
busybox-w32-95877b675640b7fb341bc9a927dcbb7cdea46b25.tar.bz2
busybox-w32-95877b675640b7fb341bc9a927dcbb7cdea46b25.zip
ash patch: addfname-diff
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 522a11d20..bc1b4da81 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -5141,12 +5141,10 @@ ifsfree(void)
5141static void 5141static void
5142addfname(const char *name) 5142addfname(const char *name)
5143{ 5143{
5144 char *p;
5145 struct strlist *sp; 5144 struct strlist *sp;
5146 5145
5147 p = sstrdup(name);
5148 sp = (struct strlist *)stalloc(sizeof *sp); 5146 sp = (struct strlist *)stalloc(sizeof *sp);
5149 sp->text = p; 5147 sp->text = sstrdup(name);
5150 *exparg.lastp = sp; 5148 *exparg.lastp = sp;
5151 exparg.lastp = &sp->next; 5149 exparg.lastp = &sp->next;
5152} 5150}
@@ -12481,7 +12479,7 @@ findvar(struct var **vpp, const char *name)
12481/* 12479/*
12482 * Copyright (c) 1999 Herbert Xu <herbert@debian.org> 12480 * Copyright (c) 1999 Herbert Xu <herbert@debian.org>
12483 * This file contains code for the times builtin. 12481 * This file contains code for the times builtin.
12484 * $Id: ash.c,v 1.39 2001/12/21 11:22:26 andersen Exp $ 12482 * $Id: ash.c,v 1.40 2001/12/31 06:00:57 aaronl Exp $
12485 */ 12483 */
12486static int timescmd (int argc, char **argv) 12484static int timescmd (int argc, char **argv)
12487{ 12485{