ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/gvpe.C
(Generate patch)

Comparing gvpe/src/gvpe.C (file contents):
Revision 1.6 by pcg, Mon Mar 28 20:39:18 2005 UTC vs.
Revision 1.7 by pcg, Fri Apr 8 16:12:49 2005 UTC

193 act.sa_flags = 0; 193 act.sa_flags = 0;
194 194
195 act.sa_handler = sighup_handler; sigaction (SIGHUP , &act, NULL); 195 act.sa_handler = sighup_handler; sigaction (SIGHUP , &act, NULL);
196 act.sa_handler = sigusr1_handler; sigaction (SIGUSR1, &act, NULL); 196 act.sa_handler = sigusr1_handler; sigaction (SIGUSR1, &act, NULL);
197 act.sa_handler = sigusr2_handler; sigaction (SIGUSR2, &act, NULL); 197 act.sa_handler = sigusr2_handler; sigaction (SIGUSR2, &act, NULL);
198// act.sa_handler = SIG_IGN; sigaction (SIGCHLD, &act, NULL); 198 act.sa_handler = SIG_IGN; sigaction (SIGCHLD, &act, NULL);
199 act.sa_handler = SIG_IGN; sigaction (SIGPIPE, &act, NULL); 199 act.sa_handler = SIG_IGN; sigaction (SIGPIPE, &act, NULL);
200 act.sa_flags = SA_RESETHAND; 200 act.sa_flags = SA_RESETHAND;
201 act.sa_handler = sigterm_handler; sigaction (SIGINT , &act, NULL); 201 act.sa_handler = sigterm_handler; sigaction (SIGINT , &act, NULL);
202 act.sa_handler = sigterm_handler; sigaction (SIGTERM, &act, NULL); 202 act.sa_handler = sigterm_handler; sigaction (SIGTERM, &act, NULL);
203} 203}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines