r16871 - /desktop/unstable/rarian/debian/patches/01_info_shortnames.patch
joss at users.alioth.debian.org
joss at users.alioth.debian.org
Tue Sep 2 15:09:01 UTC 2008
Author: joss
Date: Tue Sep 2 15:09:01 2008
New Revision: 16871
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=16871
Log:
Fix patch so that it doesn't crash /o\
Modified:
desktop/unstable/rarian/debian/patches/01_info_shortnames.patch
Modified: desktop/unstable/rarian/debian/patches/01_info_shortnames.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/rarian/debian/patches/01_info_shortnames.patch?rev=16871&op=diff
==============================================================================
--- desktop/unstable/rarian/debian/patches/01_info_shortnames.patch (original)
+++ desktop/unstable/rarian/debian/patches/01_info_shortnames.patch Tue Sep 2 15:09:01 2008
@@ -1,5 +1,5 @@
--- librarian/rarian-info.c.orig 2008-09-02 16:38:09.982622444 +0200
-+++ librarian/rarian-info.c 2008-09-02 16:46:47.227357388 +0200
++++ librarian/rarian-info.c 2008-09-02 17:07:36.206700155 +0200
@@ -665,8 +665,9 @@
while (l) {
@@ -8,7 +8,7 @@
- if (!section || (*section && l->reg->section && !strcmp (l->reg->section, section))) {
+ (!strncmp (uri, l->reg->name, strlen(uri)))) {
+ if ((!section && !strcmp (uri, l->reg->name)) ||
-+ (*section && l->reg->section && !strcmp (l->reg->section, section))) {
++ (section && *section && l->reg->section && !strcmp (l->reg->section, section))) {
return l->reg;
} else {
best_result = l;
More information about the pkg-gnome-commits
mailing list