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:
7449e18
)
getty: remove now not needed resetting of ALRM to to SIG_DFL
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 22 Oct 2011 04:30:48 +0000
(06:30 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 22 Oct 2011 04:30:48 +0000
(06:30 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
loginutils/getty.c
patch
|
blob
|
history
diff --git
a/loginutils/getty.c
b/loginutils/getty.c
index 168ae4de1f822e64dc3a53e0186f894980915b49..23084600883a79cea2eda454ba6f86d9c7d40eec 100644
(file)
--- a/
loginutils/getty.c
+++ b/
loginutils/getty.c
@@
-254,7
+254,6
@@
static void init_tty_attrs(int speed)
alarm(5);
tcdrain(STDIN_FILENO);
alarm(0);
- signal(SIGALRM, SIG_DFL); /* do not break -t TIMEOUT! */
/* Flush input and output queues, important for modems! */
tcflush(STDIN_FILENO, TCIOFLUSH);