summaryrefslogtreecommitdiff
path: root/utility.c
diff options
context:
space:
mode:
authorEric Andersen2001-02-16 18:43:54 +0000
committerEric Andersen2001-02-16 18:43:54 +0000
commitca0f458adaa46e447b809d96895761adb5ae660f (patch)
tree8d50753f74b3b92e8daa3852a2fcd47671139723 /utility.c
parent733c4ad6ebc092292053e0fb7a7e32c204a3b371 (diff)
downloadbusybox-ca0f458adaa46e447b809d96895761adb5ae660f.zip
busybox-ca0f458adaa46e447b809d96895761adb5ae660f.tar.gz
Regression testing bugfixes from Larry Doolittle. As an aside,
can I just say how much I am looking forward to having 0.50 released, so we can address this #define stupidness properly by building a static libbusybox, and then letting the linker sort out the dependancies.... Ahh, that will be much nicer. -Erik
Diffstat (limited to 'utility.c')
-rw-r--r--utility.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/utility.c b/utility.c
index 89b601d..a38ecf0 100644
--- a/utility.c
+++ b/utility.c
@@ -1361,8 +1361,9 @@ extern void *xcalloc(size_t nmemb, size_t size)
}
#endif
-#if defined BB_NFSMOUNT || defined BB_LS || defined BB_SH || defined BB_WGET || \
- defined BB_DPKG_DEB || defined BB_TAR
+#if defined BB_NFSMOUNT || defined BB_LS || defined BB_SH || \
+ defined BB_WGET || defined BB_DPKG_DEB || defined BB_TAR || \
+ defined BB_LN
# ifndef DMALLOC
extern char * xstrdup (const char *s) {
char *t;
@@ -1731,7 +1732,7 @@ void run_applet_by_name(const char *name, int argc, char **argv)
}
}
-#if defined BB_DD || defined BB_TAIL
+#if defined BB_DD || defined BB_TAIL || defined BB_STTY
unsigned long parse_number(const char *numstr,
const struct suffix_mult *suffixes)
{