Lines 1-20
Link Here
|
1 |
--- src/callbacks.c.orig 2009-04-10 00:01:22.379498762 -0400 |
|
|
2 |
+++ src/callbacks.c 2009-04-10 00:02:32.330844813 -0400 |
3 |
@@ -957,7 +957,7 @@ |
4 |
|
5 |
BEGINMESSAGE(cb_presentation) |
6 |
|
7 |
- sigold = signal(SIGCLD, SIG_IGN); /* Avoid zombies */ |
8 |
+ sigold = signal(SIGCHLD, SIG_IGN); /* Avoid zombies */ |
9 |
if (!(pid = fork())) |
10 |
{ |
11 |
/* We have to close all open file descriptors so the child does not |
12 |
@@ -969,7 +969,7 @@ |
13 |
printf("Cannot exec %s\n", gv_bin); |
14 |
exit(1); |
15 |
} |
16 |
- signal(SIGCLD, sigold); /* restore signal handler */ |
17 |
+ signal(SIGCHLD, sigold); /* restore signal handler */ |
18 |
|
19 |
ENDMESSAGE(cb_presentation) |
20 |
} |