aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/nautilus2/files
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-09-22 00:23:57 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-09-22 00:23:57 +0000
commit944ab57dbaffa8fc2144376c5aa172259b945f5e (patch)
tree5fbbc4244097e0e7f5228d87e64f1a6af1c08c8e /x11-fm/nautilus2/files
parent25af81060360aa5c255bf2802f633e32bd5d0c30 (diff)
downloadports-944ab57dbaffa8fc2144376c5aa172259b945f5e.tar.gz
ports-944ab57dbaffa8fc2144376c5aa172259b945f5e.zip
Fix a crash when an invalid URI is entered.
PR: 57072 Submitted by: Simon Barner <barner@in.tum.de> Obtained from: GNOME CVS (see: http://bugzilla.gnome.org/show_bug.cgi?id=122265)
Notes
Notes: svn path=/head/; revision=89104
Diffstat (limited to 'x11-fm/nautilus2/files')
-rw-r--r--x11-fm/nautilus2/files/patch-libnautilus-private::nautilus-file.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-fm/nautilus2/files/patch-libnautilus-private::nautilus-file.c b/x11-fm/nautilus2/files/patch-libnautilus-private::nautilus-file.c
new file mode 100644
index 000000000000..9d43ad94b0d4
--- /dev/null
+++ b/x11-fm/nautilus2/files/patch-libnautilus-private::nautilus-file.c
@@ -0,0 +1,11 @@
+--- libnautilus-private/nautilus-file.c.orig Sun Sep 21 22:14:27 2003
++++ libnautilus-private/nautilus-file.c Sun Sep 21 22:15:32 2003
+@@ -357,8 +357,6 @@
+ relative_uri_tmp++;
+ }
+ relative_uri = strdup (relative_uri_tmp);
+- } else {
+- g_assert_not_reached ();
+ }
+ }
+