diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-29 06:49:36 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-29 06:49:36 +0000 |
commit | ab310e1b1c2f85235e61c471802b53314da919f0 (patch) | |
tree | 415cf40159a0c2b6009a27df18b0cc45bea2e956 /init | |
parent | 1cd1012a9063656a6b5b75dac8d400abd60cd643 (diff) | |
download | busybox-w32-ab310e1b1c2f85235e61c471802b53314da919f0.tar.gz busybox-w32-ab310e1b1c2f85235e61c471802b53314da919f0.tar.bz2 busybox-w32-ab310e1b1c2f85235e61c471802b53314da919f0.zip |
apply post-1.13.0 patches
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 5 |
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) | |||
209 | /* Make sure fd 0,1,2 are not closed | 209 | /* Make sure fd 0,1,2 are not closed |
210 | * (so that they won't be used by future opens) */ | 210 | * (so that they won't be used by future opens) */ |
211 | bb_sanitize_stdio(); | 211 | bb_sanitize_stdio(); |
212 | /* Make sure init can't be blocked by writing to stderr */ | 212 | // Users report problems |
213 | fcntl(STDERR_FILENO, F_SETFL, fcntl(STDERR_FILENO, F_GETFL) | O_NONBLOCK); | 213 | // /* Make sure init can't be blocked by writing to stderr */ |
214 | // fcntl(STDERR_FILENO, F_SETFL, fcntl(STDERR_FILENO, F_GETFL) | O_NONBLOCK); | ||
214 | } | 215 | } |
215 | 216 | ||
216 | s = getenv("TERM"); | 217 | s = getenv("TERM"); |