Regression testing bugfixes from Larry Doolittle. As an aside,
authorEric Andersen <andersen@codepoet.org>
Fri, 16 Feb 2001 18:43:54 +0000 (18:43 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 16 Feb 2001 18:43:54 +0000 (18:43 -0000)
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

utility.c

index 89b601d..a38ecf0 100644 (file)
--- 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)
 {