projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b04f18
)
"Without this patch, udhcpcd output may be buffered and delayed for
author
Glenn L McGrath
<bug1@ihug.co.nz>
Sat, 30 Aug 2003 04:47:36 +0000
(
04:47
-0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Sat, 30 Aug 2003 04:47:36 +0000
(
04:47
-0000)
for minutes if stdout is not a tty." -vda@
networking/udhcp/common.c
patch
|
blob
|
history
diff --git
a/networking/udhcp/common.c
b/networking/udhcp/common.c
index c01cd576506421fc1b6a63718f15705a857fe733..ab4fa305add9db26eade26cdf09a975183c36e14 100644
(file)
--- a/
networking/udhcp/common.c
+++ b/
networking/udhcp/common.c
@@
-46,6
+46,7
@@
void udhcp_logging(int level, const char *fmt, ...)
if(!daemonized) {
vprintf(fmt, p);
putchar('\n');
+ fflush(stdout);
errno = e;
}
vsyslog(level, fmt, p2);
@@
-81,6
+82,7
@@
void udhcp_logging(int level, const char *fmt, ...)
errno = e;
vprintf(fmt, p);
putchar('\n');
+ fflush(stdout);
}
va_end(p);
}