a7d478ac2e
ok steven@
21 lines
458 B
Plaintext
21 lines
458 B
Plaintext
$OpenBSD: patch-pidgin_gtknotify_c,v 1.9 2008/09/13 22:04:40 brad Exp $
|
|
--- pidgin/gtknotify.c.orig Sun Aug 31 00:36:31 2008
|
|
+++ pidgin/gtknotify.c Sun Aug 31 18:21:13 2008
|
|
@@ -1051,7 +1051,16 @@ uri_command(const char *command, gboolean sync)
|
|
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
|
|
{
|