aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-11-29 23:14:37 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-11-29 23:14:37 +0000
commita34b8a4d305544aaeb6fa3b3576f4fd8a582b082 (patch)
tree4cadc331258618a778059971e654e1d8a7210cb7 /init
parent7a1ddf20f343b3dc08e7a413e901d78681641518 (diff)
downloadbusybox-a34b8a4d305544aaeb6fa3b3576f4fd8a582b082.tar.gz
init: O_NONBLOCK needs more thought. reverted for now
Diffstat (limited to 'init')
-rw-r--r--init/init.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/init/init.c b/init/init.c
index ef387819c..1caf45b8d 100644
--- a/init/init.c
+++ b/init/init.c
@@ -209,8 +209,9 @@ static void console_init(void)
/* 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");