2007-10-01 18:03:29 -04:00
|
|
|
$OpenBSD: patch-pidgin_gtknotify_c,v 1.5 2007/10/01 22:03:30 merdely Exp $
|
|
|
|
--- pidgin/gtknotify.c.orig Sat Sep 29 12:39:14 2007
|
|
|
|
+++ pidgin/gtknotify.c Sat Sep 29 20:18:28 2007
|
|
|
|
@@ -1010,7 +1010,16 @@ uri_command(const char *command, gboolean sync)
|
2007-05-12 11:19:35 -04:00
|
|
|
g_error_free(error);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
+#if HAVE_SIGNAL_H
|
|
|
|
+ {
|
|
|
|
+ extern int real_status;
|
|
|
|
+
|
|
|
|
+ if (WIFEXITED(real_status))
|
|
|
|
+ ret = WEXITSTATUS(real_status);
|
|
|
|
+ }
|
|
|
|
+#else
|
|
|
|
ret = status;
|
|
|
|
+#endif
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|