diff options
author | minoura <minoura@pkgsrc.org> | 2001-04-02 11:08:15 +0000 |
---|---|---|
committer | minoura <minoura@pkgsrc.org> | 2001-04-02 11:08:15 +0000 |
commit | 9378385aa551150841b211402ef567fa0f5d2b1a (patch) | |
tree | 3b2e0a1c69139667d7c742c090500830fe858414 /x11 | |
parent | b45a74e171a66e58cf896441b212d6bfcd2ca616 (diff) | |
download | pkgsrc-9378385aa551150841b211402ef567fa0f5d2b1a.tar.gz |
Correct the bug that it tests errno is non-zero to determine an error
occurred or not. This bug is found in the original source; already
reported to gnome.org.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gnome-core/patches/patch-aj | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/x11/gnome-core/patches/patch-aj b/x11/gnome-core/patches/patch-aj new file mode 100644 index 00000000000..5b463064ef7 --- /dev/null +++ b/x11/gnome-core/patches/patch-aj @@ -0,0 +1,12 @@ +$NetBSD: patch-aj,v 1.1 2001/04/02 11:08:15 minoura Exp $ +--- gsm/manager.c.orig Fri Nov 3 02:20:50 2000 ++++ gsm/manager.c Mon Apr 2 19:53:40 2001 +@@ -307,7 +307,7 @@ + if (restart_info) + free (restart_info); + +- if (errno) ++ if (pid < 0) + { + if (strcmp (command, SmRestartCommand) || client->connection) + { |