[Sysfence-commit] sysfence/sys processtitle.c,1.2,1.3 sighandlers.c,1.2,1.3
Status: Alpha
Brought to you by:
emes
|
From: mkoperto <mko...@us...> - 2004-05-29 08:24:08
|
Update of /cvsroot/sysfence/sysfence/sys In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22861/sys Modified Files: processtitle.c sighandlers.c Log Message: + now works well (i hope so :)) Index: processtitle.c =================================================================== RCS file: /cvsroot/sysfence/sysfence/sys/processtitle.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- processtitle.c 28 May 2004 20:36:50 -0000 1.2 +++ processtitle.c 29 May 2004 08:23:59 -0000 1.3 @@ -69,10 +69,10 @@ switch (state) { case STATE_NORMAL: - sprintf (buf, "%s", RULE_PROCESS_NAME); + sprintf (buf, "%s", MAIN_PROCESS_NAME); break; case STATE_STOPPED: - sprintf (buf, "%s %s", RULE_PROCESS_NAME, + sprintf (buf, "%s %s", MAIN_PROCESS_NAME, STATE_STOPPED_NAME); break; default: Index: sighandlers.c =================================================================== RCS file: /cvsroot/sysfence/sysfence/sys/sighandlers.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- sighandlers.c 28 May 2004 20:36:50 -0000 1.2 +++ sighandlers.c 29 May 2004 08:23:59 -0000 1.3 @@ -50,6 +50,7 @@ case PARENT: memset (&schildact, 0, sizeof(schildact)); schildact.sa_handler = &schild_action; + schildact.sa_flags = SA_NOCLDSTOP; sigaction (SIGCHLD, &schildact, NULL); memset (&stermact, 0, sizeof(stermact)); |