aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-24 23:47:21 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-24 23:47:21 +0000
commit23a93f52aa6045f7bb9bbf1517a05b394706a0b7 (patch)
tree4d96fd13080a5b069e0bcd832c1adc860d6f74f9
parentf5d5e77321ad32b3952dcdf21d14fd0ef3d4c1a9 (diff)
downloadbusybox-23a93f52aa6045f7bb9bbf1517a05b394706a0b7.tar.gz
More regression-found bug fixes
-rw-r--r--utility.c6
1 files changed, 3 insertions, 3 deletions
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;