From: | "Saleem Abdulrasool (compnerd)" <compnerd@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-text/rarian/files: rarian-0.8.0-info-segfault.patch |
Date: | Sun, 30 Mar 2008 21:06:25 |
Message-Id: | E1Jg4jO-00084p-30@stork.gentoo.org |
1 | compnerd 08/03/30 21:06:22 |
2 | |
3 | Added: rarian-0.8.0-info-segfault.patch |
4 | Log: |
5 | now with 1 less segfault |
6 | (Portage version: 2.1.4.4) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-text/rarian/files/rarian-0.8.0-info-segfault.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/rarian/files/rarian-0.8.0-info-segfault.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/rarian/files/rarian-0.8.0-info-segfault.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: rarian-0.8.0-info-segfault.patch |
15 | =================================================================== |
16 | --- librarian/rarian-info.c 2008-03-30 12:43:17.000000000 -0700 |
17 | +++ librarian/rarian-info.c 2008-03-30 12:44:22.000000000 -0700 |
18 | @@ -668,8 +668,10 @@ rrn_info_find_from_uri (char *uri, char |
19 | l = l->next; |
20 | } |
21 | |
22 | - return best_result->reg; |
23 | + if (best_result) |
24 | + return best_result->reg; |
25 | |
26 | + return NULL; |
27 | } |
28 | |
29 | void |
30 | |
31 | |
32 | |
33 | -- |
34 | gentoo-commits@l.g.o mailing list |