From f6d645c05f62318d39edb1a2b07aa6415d02a486 Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Wed, 21 Aug 1996 09:06:55 +0000 Subject: Remote (network) biff. Submitted by: max@sfc.wide.ad.jp --- mail/youbin/files/patch-af | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 mail/youbin/files/patch-af (limited to 'mail/youbin/files/patch-af') diff --git a/mail/youbin/files/patch-af b/mail/youbin/files/patch-af new file mode 100644 index 000000000000..d6ab0884b2f7 --- /dev/null +++ b/mail/youbin/files/patch-af @@ -0,0 +1,33 @@ +diff -c xyoubin.c.orig xyoubin.c +*** xyoubin.c.orig Sat Apr 8 19:58:20 1995 +--- xyoubin.c Fri Aug 9 12:50:03 1996 +*************** +*** 285,291 **** + } + + if (!app_data.pipe) { +! signal(SIGCLD, sig_cld); + sprintf(child_process, "exec %s/%s -s %s", + BINDIR, CHILD_PROGRAM_NAME, app_data.server); + if ((pfile = popen(child_process, "r")) == NULL) { +--- 285,291 ---- + } + + if (!app_data.pipe) { +! signal(SIGCHLD, sig_cld); + sprintf(child_process, "exec %s/%s -s %s", + BINDIR, CHILD_PROGRAM_NAME, app_data.server); + if ((pfile = popen(child_process, "r")) == NULL) { +*************** +*** 386,390 **** + if (0 < pid) { + exit(EXIT_FAILURE); /* Should print child status? */ + } +! signal(SIGCLD, sig_cld); + } +--- 386,390 ---- + if (0 < pid) { + exit(EXIT_FAILURE); /* Should print child status? */ + } +! signal(SIGCHLD, sig_cld); + } -- cgit v1.2.3