d04bfe562b
from brad (maintainer)
21 lines
576 B
Plaintext
21 lines
576 B
Plaintext
$OpenBSD: patch-pidgin_gtkmain_c,v 1.11 2010/08/18 21:36:00 steven Exp $
|
|
--- pidgin/gtkmain.c.orig Tue Aug 10 03:35:50 2010
|
|
+++ pidgin/gtkmain.c Sun Aug 15 21:45:53 2010
|
|
@@ -90,6 +90,7 @@ static SnDisplay *sn_display = NULL;
|
|
#endif
|
|
|
|
#ifdef HAVE_SIGNAL_H
|
|
+int real_status;
|
|
|
|
/*
|
|
* Lists of signals we wish to catch and those we wish to ignore.
|
|
@@ -163,6 +164,8 @@ clean_pid(void)
|
|
do {
|
|
pid = waitpid(-1, &status, WNOHANG);
|
|
} while (pid != 0 && pid != (pid_t)-1);
|
|
+
|
|
+ real_status = status;
|
|
|
|
if ((pid == (pid_t) - 1) && (errno != ECHILD)) {
|
|
char errmsg[BUFSIZ];
|