aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-08-03 15:41:12 +0000
committerRob Landley <rob@landley.net>2006-08-03 15:41:12 +0000
commitd921b2ecc0d294ad4bf8c7458fc52a60c28727d2 (patch)
treee4a2769349867c441cf2983d83097bb66701a733 /shell/ash.c
parent6dce0b6fa79f2d4bb7e9d90e1fbc0f6beb25f855 (diff)
downloadbusybox-w32-d921b2ecc0d294ad4bf8c7458fc52a60c28727d2.tar.gz
busybox-w32-d921b2ecc0d294ad4bf8c7458fc52a60c28727d2.tar.bz2
busybox-w32-d921b2ecc0d294ad4bf8c7458fc52a60c28727d2.zip
Remove bb_ prefixes from xfuncs.c (and a few other places), consolidate
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 5031ae153..c1b2b0ed6 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -6011,7 +6011,7 @@ static inline void putprompt(const char *s)
6011{ 6011{
6012#ifdef CONFIG_ASH_EXPAND_PRMT 6012#ifdef CONFIG_ASH_EXPAND_PRMT
6013 free(cmdedit_prompt); 6013 free(cmdedit_prompt);
6014 cmdedit_prompt = bb_xstrdup(s); 6014 cmdedit_prompt = xstrdup(s);
6015#else 6015#else
6016 cmdedit_prompt = s; 6016 cmdedit_prompt = s;
6017#endif 6017#endif
@@ -8105,7 +8105,7 @@ static int dotcmd(int argc, char **argv)
8105 int status = 0; 8105 int status = 0;
8106 8106
8107 for (sp = cmdenviron; sp; sp = sp->next) 8107 for (sp = cmdenviron; sp; sp = sp->next)
8108 setvareq(bb_xstrdup(sp->text), VSTRFIXED | VTEXTFIXED); 8108 setvareq(xstrdup(sp->text), VSTRFIXED | VTEXTFIXED);
8109 8109
8110 if (argc >= 2) { /* That's what SVR2 does */ 8110 if (argc >= 2) { /* That's what SVR2 does */
8111 char *fullname; 8111 char *fullname;