Changeset 16473
- Timestamp:
- Feb 14, 2008, 8:49:49 AM (18 years ago)
- Location:
- trunk/Ohana/src/opihi
- Files:
-
- 2 edited
-
lib.shell/opihi.c (modified) (1 diff)
-
pcontrol/pcontrol.c.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.shell/opihi.c
r16472 r16473 25 25 ppid = getppid(); 26 26 if (ppid == 1) { 27 signal (SIGPIPE, SIG_IGN); 27 28 gprint (GP_ERR, "caught parent shutdown\n"); 28 29 exit (21); -
trunk/Ohana/src/opihi/pcontrol/pcontrol.c.in
r16461 r16473 21 21 22 22 /* set global signal masks (these apply to all threads launched below) */ 23 signal (SIGPIPE, gotsignal);23 signal (SIGPIPE, SIG_IGN); // must ignore SIGPIPE or we get in an infinite loop when pantasks exits 24 24 signal (SIGTSTP, gotsignal); 25 25 signal (SIGTTIN, gotsignal);
Note:
See TracChangeset
for help on using the changeset viewer.
