diff options
author | Eric Andersen | 2001-03-08 17:17:13 +0000 |
---|---|---|
committer | Eric Andersen | 2001-03-08 17:17:13 +0000 |
commit | ca6045955d8e51b268e242f59f3b63b9fdcf90e6 (patch) | |
tree | 7114ee07aff93918d343d2b4afb156b6413cf9ca /utility.c | |
parent | e2c44fc966d30ba719dcf3bc65c60f275ee7d8a4 (diff) | |
download | busybox-ca6045955d8e51b268e242f59f3b63b9fdcf90e6.zip busybox-ca6045955d8e51b268e242f59f3b63b9fdcf90e6.tar.gz |
Rework environment variable handling to use wordexp, per a suggestion from
Larry Doolittle a couple of months ago. This makes the stuff-expansion in lash
be ever so standards compliant. This change needs testing by everyone, but
appears to be solid enough to let us close bug #1090.
It works for me; however, please test this change!
-Erik
Diffstat (limited to 'utility.c')
-rw-r--r-- | utility.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1815,7 +1815,7 @@ const char *make_human_readable_str(unsigned long val, unsigned long hr) } #endif -#if defined(BB_GREP) || defined(BB_HOSTNAME) || defined(BB_SED) || defined(BB_TAR) || defined(BB_WGET) || defined(BB_XARGS) +#if defined(BB_GREP) || defined(BB_HOSTNAME) || defined(BB_SED) || defined(BB_TAR) || defined(BB_WGET) || defined(BB_XARGS) || defined(BB_SH) void chomp(char *s) { size_t len = strlen(s); |