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:
ed1667e
)
inetd: comment tweak. no code changes
author
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 4 Sep 2009 01:48:40 +0000
(
03:48
+0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 4 Sep 2009 01:48:40 +0000
(
03:48
+0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/inetd.c
patch
|
blob
|
history
diff --git
a/networking/inetd.c
b/networking/inetd.c
index 4b9d01294cd1791843525eba6aaad8c7121b0626..391bb9ba65fcbfbd736b863b885fd10ac49fd742 100644
(file)
--- a/
networking/inetd.c
+++ b/
networking/inetd.c
@@
-1361,9
+1361,9
@@
int inetd_main(int argc UNUSED_PARAM, char **argv)
if (setrlimit(RLIMIT_NOFILE, &rlim_ofile) < 0)
bb_perror_msg("setrlimit");
- /*
closelog(); - BAD,
we are after vfork,
- * this may confuse syslog() state.
- * Let's hope libc set syslog fd to CLOEXEC...
+ /*
closelog(); - WRONG.
we are after vfork,
+ * this may confuse syslog()
internal
state.
+ * Let's hope libc set
s
syslog fd to CLOEXEC...
*/
xmove_fd(ctrl, STDIN_FILENO);
xdup2(STDIN_FILENO, STDOUT_FILENO);