summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2008-03-30 21:06:21 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2008-03-30 21:06:21 +0000
commitf95bd806cc74bbd8d27b7cc673e1d145ade624a3 (patch)
treea83663d222dbb855552c3521b90aaa13ae954384 /app-text/rarian/files
parentAdded new snapshot. (diff)
downloadgentoo-2-f95bd806cc74bbd8d27b7cc673e1d145ade624a3.tar.gz
gentoo-2-f95bd806cc74bbd8d27b7cc673e1d145ade624a3.tar.bz2
gentoo-2-f95bd806cc74bbd8d27b7cc673e1d145ade624a3.zip
now with 1 less segfault
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-text/rarian/files')
-rw-r--r--app-text/rarian/files/rarian-0.8.0-info-segfault.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-text/rarian/files/rarian-0.8.0-info-segfault.patch b/app-text/rarian/files/rarian-0.8.0-info-segfault.patch
new file mode 100644
index 000000000000..5260d2e30d55
--- /dev/null
+++ b/app-text/rarian/files/rarian-0.8.0-info-segfault.patch
@@ -0,0 +1,14 @@
+--- librarian/rarian-info.c 2008-03-30 12:43:17.000000000 -0700
++++ librarian/rarian-info.c 2008-03-30 12:44:22.000000000 -0700
+@@ -668,8 +668,10 @@ rrn_info_find_from_uri (char *uri, char
+ l = l->next;
+ }
+
+- return best_result->reg;
++ if (best_result)
++ return best_result->reg;
+
++ return NULL;
+ }
+
+ void