diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-04 03:48:40 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-04 03:48:40 +0200 |
commit | 2cc709139ebd543a1bb126d3ce77683961a89d75 (patch) | |
tree | 51025a1ca2fba090d14269c242f3efcdfaabc595 | |
parent | ed1667e8ee91243b77b02cc4f160fe4b80a30385 (diff) | |
download | busybox-w32-2cc709139ebd543a1bb126d3ce77683961a89d75.tar.gz busybox-w32-2cc709139ebd543a1bb126d3ce77683961a89d75.tar.bz2 busybox-w32-2cc709139ebd543a1bb126d3ce77683961a89d75.zip |
inetd: comment tweak. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | networking/inetd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/inetd.c b/networking/inetd.c index 4b9d01294..391bb9ba6 100644 --- a/networking/inetd.c +++ b/networking/inetd.c | |||
@@ -1361,9 +1361,9 @@ int inetd_main(int argc UNUSED_PARAM, char **argv) | |||
1361 | if (setrlimit(RLIMIT_NOFILE, &rlim_ofile) < 0) | 1361 | if (setrlimit(RLIMIT_NOFILE, &rlim_ofile) < 0) |
1362 | bb_perror_msg("setrlimit"); | 1362 | bb_perror_msg("setrlimit"); |
1363 | 1363 | ||
1364 | /*closelog(); - BAD, we are after vfork, | 1364 | /* closelog(); - WRONG. we are after vfork, |
1365 | * this may confuse syslog() state. | 1365 | * this may confuse syslog() internal state. |
1366 | * Let's hope libc set syslog fd to CLOEXEC... | 1366 | * Let's hope libc sets syslog fd to CLOEXEC... |
1367 | */ | 1367 | */ |
1368 | xmove_fd(ctrl, STDIN_FILENO); | 1368 | xmove_fd(ctrl, STDIN_FILENO); |
1369 | xdup2(STDIN_FILENO, STDOUT_FILENO); | 1369 | xdup2(STDIN_FILENO, STDOUT_FILENO); |