diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-02 00:55:49 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-02 00:55:49 +0200 |
commit | aebb742939d4100fbd1c7e94c68f9265e0805fd8 (patch) | |
tree | 0ccb74b0e7746125fab567d1663860c69e9d0b6a /runit/runsvdir.c | |
parent | e2944af43eeb95ec612a48cc930a71f9e6a2f219 (diff) | |
download | busybox-w32-aebb742939d4100fbd1c7e94c68f9265e0805fd8.tar.gz busybox-w32-aebb742939d4100fbd1c7e94c68f9265e0805fd8.tar.bz2 busybox-w32-aebb742939d4100fbd1c7e94c68f9265e0805fd8.zip |
svlogd: fix bug 521: use line buffering if any filtering is done
function old new delta
logdirs_reopen 1296 1310 +14
svlogd_main 1439 1444 +5
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'runit/runsvdir.c')
-rw-r--r-- | runit/runsvdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runit/runsvdir.c b/runit/runsvdir.c index a77bc3fd8..492c2a57b 100644 --- a/runit/runsvdir.c +++ b/runit/runsvdir.c | |||
@@ -129,7 +129,7 @@ static NOINLINE pid_t runsv(const char *name) | |||
129 | static NOINLINE int do_rescan(void) | 129 | static NOINLINE int do_rescan(void) |
130 | { | 130 | { |
131 | DIR *dir; | 131 | DIR *dir; |
132 | direntry *d; | 132 | struct dirent *d; |
133 | int i; | 133 | int i; |
134 | struct stat s; | 134 | struct stat s; |
135 | int need_rescan = 0; | 135 | int need_rescan = 0; |