[git commit master] inetd: comment tweak. no code changes

Denys Vlasenko vda.linux at googlemail.com
Fri Sep 4 01:48:40 UTC 2009


commit: http://git.busybox.net/busybox/commit/?id=2cc709139ebd543a1bb126d3ce77683961a89d75
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 networking/inetd.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/networking/inetd.c b/networking/inetd.c
index 4b9d012..391bb9b 100644
--- 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 sets syslog fd to CLOEXEC...
 			 */
 			xmove_fd(ctrl, STDIN_FILENO);
 			xdup2(STDIN_FILENO, STDOUT_FILENO);
-- 
1.6.3.3



More information about the busybox-cvs mailing list