239873daa1
This package contains the executables for the teTeX installation as well as other files that were created when generating the binaries: info files, format files and manual pages.
30 lines
879 B
Text
30 lines
879 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2003/12/24 12:57:30 jmmv Exp $
|
|
|
|
Note that POSIX uses SIGCHLD ...! - HF
|
|
|
|
--- texk/web2c/window/mftalk.c.orig Thu Jul 15 16:52:02 1999
|
|
+++ texk/web2c/window/mftalk.c Thu Jul 15 16:52:44 1999
|
|
@@ -102,7 +102,11 @@
|
|
fatal (setmode, setmode (cs_pipe[1], O_BINARY) == -1);
|
|
#endif
|
|
|
|
+#ifndef SIGCLD
|
|
+ old = signal (SIGCHLD, child_died);
|
|
+#else
|
|
old = signal (SIGCLD, child_died);
|
|
+#endif
|
|
fatal (old, old == SIG_ERR);
|
|
|
|
sprintf (height, "-h%d", screendepth);
|
|
@@ -145,7 +149,11 @@
|
|
fatal (close, close (sc_pipe[1]) == -1);
|
|
fatal (close, close (cs_pipe[0]) == -1);
|
|
fatal (close, close (cs_pipe[1]) == -1);
|
|
+#ifndef SIGCLD
|
|
+ fatal (signal, signal (SIGCHLD, old) == SIG_ERR);
|
|
+#else
|
|
fatal (signal, signal (SIGCLD, old) == SIG_ERR);
|
|
+#endif
|
|
break;
|
|
default:
|
|
res = read (cs_pipe[0], &ack, sizeof (int));
|