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:
7a1ddf2
)
init: O_NONBLOCK needs more thought. reverted for now
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 29 Nov 2008 23:14:37 +0000
(23:14 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 29 Nov 2008 23:14:37 +0000
(23:14 -0000)
init/init.c
patch
|
blob
|
history
diff --git
a/init/init.c
b/init/init.c
index ef387819c3604f59645cc1ddd7c6ec3d8efda6f8..1caf45b8d40e51803ec0d92350bd9e7ff1a37874 100644
(file)
--- 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");