93c58c0530
gaim should really fix this. maintainer and jolan@ ok.
21 lines
441 B
Plaintext
21 lines
441 B
Plaintext
$OpenBSD: patch-src_gtknotify_c,v 1.1 2006/06/27 17:32:26 fgsch Exp $
|
|
--- src/gtknotify.c.orig Thu Jun 15 17:21:28 2006
|
|
+++ src/gtknotify.c Thu Jun 15 18:12:17 2006
|
|
@@ -446,7 +446,16 @@ uri_command(const char *command, gboolea
|
|
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
|
|
{
|