From 3fa36e235021af5810333a52876d29efc661ad60 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 9 Nov 2008 00:15:11 +0000 Subject: *: a bit of code shrink function old new delta stop_handler 41 38 -3 sulogin_main 508 504 -4 got_cont 4 - -4 cont_handler 11 - -11 startservice 309 297 -12 processorstart 423 409 -14 tcpudpsvd_main 1861 1843 -18 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 0/5 up/down: 0/-66) Total: -66 bytes --- loginutils/login.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'loginutils/login.c') diff --git a/loginutils/login.c b/loginutils/login.c index 70e3b1333..a18b4d5d7 100644 --- a/loginutils/login.c +++ b/loginutils/login.c @@ -486,8 +486,8 @@ int login_main(int argc UNUSED_PARAM, char **argv) // If this stuff is really needed, add it and explain why! /* Set signals to defaults */ - /*signal(SIGALRM, SIG_DFL); - not needed, we already set it - * to non-SIG_IGN, and on exec such signals are reset to SIG_DFL */ + /* Non-ignored signals revert to SIG_DFL on exec anyway */ + /*signal(SIGALRM, SIG_DFL);*/ /* Is this correct? This way user can ctrl-c out of /etc/profile, * potentially creating security breach (tested with bash 3.0). -- cgit v1.2.3