From 33632776e0dfa170cf80f2d93b9de2c25c24ab8f Mon Sep 17 00:00:00 2001 From: Ivana Hutarova Varekova Date: Wed, 23 Mar 2011 15:49:36 +0100 Subject: [PATCH] fix a typo --- man-db-2.5.9-sec.patch | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/man-db-2.5.9-sec.patch b/man-db-2.5.9-sec.patch index a103e33..ec3bcd8 100644 --- a/man-db-2.5.9-sec.patch +++ b/man-db-2.5.9-sec.patch @@ -1,7 +1,7 @@ -diff -up man-db-2.5.9/src/man.c.pom man-db-2.5.9/src/man.c ---- man-db-2.5.9/src/man.c.pom 2010-11-17 12:31:24.000000000 +0100 -+++ man-db-2.5.9/src/man.c 2011-03-23 12:11:46.000000000 +0100 -@@ -2827,6 +2827,21 @@ static int compare_candidates (const str +diff -up man-db-2.5.9/src/man.c.sec man-db-2.5.9/src/man.c +--- man-db-2.5.9/src/man.c.sec 2010-11-17 12:31:24.000000000 +0100 ++++ man-db-2.5.9/src/man.c 2011-03-23 15:28:41.000000000 +0100 +@@ -2827,10 +2827,24 @@ static int compare_candidates (const str * moved out of order with respect to their parent sections. */ if (strcmp (lsource->ext, rsource->ext)) { @@ -23,3 +23,7 @@ diff -up man-db-2.5.9/src/man.c.pom man-db-2.5.9/src/man.c /* Find out whether lsource->ext is ahead of rsource->ext in * section_list. */ +- const char **sp; + for (sp = section_list; *sp; ++sp) { + if (!*(*sp + 1)) { + /* No extension */