diff options
Diffstat (limited to 'x11-wm/uwm/files/patch-aj')
-rw-r--r-- | x11-wm/uwm/files/patch-aj | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/x11-wm/uwm/files/patch-aj b/x11-wm/uwm/files/patch-aj new file mode 100644 index 000000000000..fa71e26e7ccf --- /dev/null +++ b/x11-wm/uwm/files/patch-aj @@ -0,0 +1,33 @@ +$NetBSD: patch-aj,v 1.1 2000/01/19 07:24:07 itohy Exp $ + +--- Menu.c.orig Sat Oct 1 09:41:13 1988 ++++ Menu.c Mon Oct 16 09:10:20 2000 +@@ -84,6 +84,14 @@ + char **oldenviron; + extern char **environ, **newenviron; + ++#ifdef SIGCHLD ++ /* ++ * Children are now handled in uvm.c, but make sure ++ * uwm blocks :-) for compatibility with other systems. ++ */ ++ ++ signal(SIGCHLD, SIG_DFL); ++#endif + oldenviron = environ; + environ = newenviron; + if ((pid = vfork()) == 0) { +@@ -105,8 +113,11 @@ + ; + if (w == -1) + status = -1; +- signal(SIGINT, istat); +- signal(SIGQUIT, qstat); ++ signal(SIGINT, (void *)istat); ++ signal(SIGQUIT, (void *)qstat); ++#ifdef SIGCHLD ++ clear_children(); ++#endif + return(status); + } + |