diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-10-22 06:30:48 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-10-22 06:30:48 +0200 |
commit | 94354154c475c92ea6fa0cd0b989bce29d031013 (patch) | |
tree | 67e71a4a1b530249c348fdd6904798c20899541b | |
parent | 7449e18190b8ed07a7cd1711b40885ae4b97efb4 (diff) | |
download | busybox-w32-94354154c475c92ea6fa0cd0b989bce29d031013.tar.gz busybox-w32-94354154c475c92ea6fa0cd0b989bce29d031013.tar.bz2 busybox-w32-94354154c475c92ea6fa0cd0b989bce29d031013.zip |
getty: remove now not needed resetting of ALRM to to SIG_DFL
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | loginutils/getty.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/loginutils/getty.c b/loginutils/getty.c index 168ae4de1..230846008 100644 --- a/loginutils/getty.c +++ b/loginutils/getty.c | |||
@@ -254,7 +254,6 @@ static void init_tty_attrs(int speed) | |||
254 | alarm(5); | 254 | alarm(5); |
255 | tcdrain(STDIN_FILENO); | 255 | tcdrain(STDIN_FILENO); |
256 | alarm(0); | 256 | alarm(0); |
257 | signal(SIGALRM, SIG_DFL); /* do not break -t TIMEOUT! */ | ||
258 | 257 | ||
259 | /* Flush input and output queues, important for modems! */ | 258 | /* Flush input and output queues, important for modems! */ |
260 | tcflush(STDIN_FILENO, TCIOFLUSH); | 259 | tcflush(STDIN_FILENO, TCIOFLUSH); |