From: Eric Andersen Date: Wed, 24 Jan 2001 23:47:21 +0000 (-0000) Subject: More regression-found bug fixes X-Git-Tag: 0_49~30 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=23a93f52aa6045f7bb9bbf1517a05b394706a0b7;p=oweals%2Fbusybox.git More regression-found bug fixes --- diff --git a/utility.c b/utility.c index 50bf507b8..5c08e5b01 100644 --- a/utility.c +++ b/utility.c @@ -525,7 +525,7 @@ const char *time_string(time_t timeVal) } #endif /* BB_TAR || BB_AR */ -#if defined BB_AR || defined BB_CP_MV || defined BB_DD || defined BB_NC || defined BB_TAR +#if defined BB_DD || defined BB_NC || defined BB_TAIL || defined BB_TAR /* * Write all of the supplied buffer out to a file. * This does multiple writes as necessary. @@ -1712,7 +1712,7 @@ FILE *wfopen(const char *path, const char *mode) #if defined BB_HOSTNAME || defined BB_LOADACM || defined BB_MORE \ || defined BB_SED || defined BB_SH || defined BB_TAR || defined BB_UNIQ \ - || defined BB_WC || defined BB_CMP + || defined BB_WC || defined BB_CMP || defined BB_SORT FILE *xfopen(const char *path, const char *mode) { FILE *fp; @@ -1757,7 +1757,7 @@ unsigned long parse_number(const char *numstr, struct suffix_mult *suffixes) } #endif -#if defined BB_DD || defined BB_NC +#if defined BB_DD || defined BB_NC || defined BB_TAIL ssize_t safe_read(int fd, void *buf, size_t count) { ssize_t n;