svn commit: trunk/busybox/init

vda at busybox.net vda at busybox.net
Sat Nov 29 23:14:38 UTC 2008


Author: vda
Date: 2008-11-29 15:14:37 -0800 (Sat, 29 Nov 2008)
New Revision: 24192

Log:
init: O_NONBLOCK needs more thought. reverted for now



Modified:
   trunk/busybox/init/init.c


Changeset:
Modified: trunk/busybox/init/init.c
===================================================================
--- trunk/busybox/init/init.c	2008-11-29 22:00:29 UTC (rev 24191)
+++ trunk/busybox/init/init.c	2008-11-29 23:14:37 UTC (rev 24192)
@@ -209,8 +209,9 @@
 		/* Make sure fd 0,1,2 are not closed
 		 * (so that they won't be used by future opens) */
 		bb_sanitize_stdio();
-		/* Make sure init can't be blocked by writing to stderr */
-		fcntl(STDERR_FILENO, F_SETFL, fcntl(STDERR_FILENO, F_GETFL) | O_NONBLOCK);
+// Users report problems
+//		/* Make sure init can't be blocked by writing to stderr */
+//		fcntl(STDERR_FILENO, F_SETFL, fcntl(STDERR_FILENO, F_GETFL) | O_NONBLOCK);
 	}
 
 	s = getenv("TERM");




More information about the busybox-cvs mailing list