diff options
author | Erik Andersen | 2000-01-04 01:10:25 +0000 |
---|---|---|
committer | Erik Andersen | 2000-01-04 01:10:25 +0000 |
commit | 7dc160721ee3ceb76240a43d1454b45aaa9dbee4 (patch) | |
tree | 7532471be456e2c9f11eab88cb34f1e38abd184f /utility.c | |
parent | 9c88cac5cbfb2ff70f800ee5bb3289e925aaa65f (diff) | |
download | busybox-7dc160721ee3ceb76240a43d1454b45aaa9dbee4.zip busybox-7dc160721ee3ceb76240a43d1454b45aaa9dbee4.tar.gz |
Bunches of fixes. Typos, bugs, etc.
Added 'gunzip -t'. inittab support _almost_ works (but it isn't
ready for prime time useage yet).
-Erik
Diffstat (limited to 'utility.c')
-rw-r--r-- | utility.c | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -379,7 +379,7 @@ int fullRead(int fd, char *buf, int len) #endif -#if defined (BB_CHOWN) || defined (BB_CP) || defined (BB_FIND) || defined (BB_LS) || defined (BB_INSMOD) +#if defined (BB_CHMOD_CHOWN_CHGRP) || defined (BB_CP) || defined (BB_FIND) || defined (BB_LS) || defined (BB_INSMOD) /* * Walk down all the directories under the specified * location, and do something (something specified @@ -969,7 +969,7 @@ check_wildcard_match(const char* text, const char* pattern) -#if defined BB_DF | defined BB_MTAB +#if defined BB_DF || defined BB_MTAB /* * Given a block device, find the mount table entry if that block device * is mounted. @@ -1008,7 +1008,6 @@ extern struct mntent *findMountPoint(const char *name, const char *table) endmntent(mountTable); return mountEntry; } - #endif @@ -1111,4 +1110,15 @@ findInitPid() } #endif +#if (__GLIBC__ < 2) && (defined BB_SYSLOGD || defined BB_INIT) +extern int vdprintf(int d, const char *format, va_list ap) +{ + char buf[BUF_SIZE]; + int len; + + len = vsprintf(buf, format, ap); + return write(d, buf, len); +} +#endif + /* END CODE */ |