diff options
author | mycroft <mycroft@pkgsrc.org> | 2000-11-11 02:23:51 +0000 |
---|---|---|
committer | mycroft <mycroft@pkgsrc.org> | 2000-11-11 02:23:51 +0000 |
commit | ed0b34754947891a8947f8442754f578f1fb0505 (patch) | |
tree | 621d11ac48b279a9844e651f63efec301d781264 /x11/gnome-libs/patches | |
parent | 208afaebf02d80fc762d90fdf6e616fa3e65cd32 (diff) | |
download | pkgsrc-ed0b34754947891a8947f8442754f578f1fb0505.tar.gz |
Don't core dump when trying to launch something with no Type attribute (e.g.
a window manager from wm-properties-capplet).
Diffstat (limited to 'x11/gnome-libs/patches')
-rw-r--r-- | x11/gnome-libs/patches/patch-ar | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/gnome-libs/patches/patch-ar b/x11/gnome-libs/patches/patch-ar new file mode 100644 index 00000000000..c6eb6c97b97 --- /dev/null +++ b/x11/gnome-libs/patches/patch-ar @@ -0,0 +1,13 @@ +$NetBSD: patch-ar,v 1.1 2000/11/11 02:23:52 mycroft Exp $ + +--- libgnome/gnome-dentry.c.orig Sat Sep 16 19:24:51 2000 ++++ libgnome/gnome-dentry.c Sat Nov 11 02:19:52 2000 +@@ -631,7 +631,7 @@ + } + + /* FIXME: do something if there's an error. */ +- if (strcmp (item->type, "URL") == 0) { ++ if (item->type && strcmp (item->type, "URL") == 0) { + gnome_url_show (exec_str); + } else { + gnome_execute_async_with_env (NULL, uargs, uargv, envc, envp); |