SOURCES: man-i18n_makewhatis.patch - too much fis
arekm
arekm at pld-linux.org
Mon Jan 28 11:04:31 CET 2008
Author: arekm Date: Mon Jan 28 10:04:31 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- too much fis
---- Files affected:
SOURCES:
man-i18n_makewhatis.patch (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SOURCES/man-i18n_makewhatis.patch
diff -u SOURCES/man-i18n_makewhatis.patch:1.4 SOURCES/man-i18n_makewhatis.patch:1.5
--- SOURCES/man-i18n_makewhatis.patch:1.4 Mon Jan 28 11:01:49 2008
+++ SOURCES/man-i18n_makewhatis.patch Mon Jan 28 11:04:26 2008
@@ -1,5 +1,5 @@
---- man-1.6e.org/src/makewhatis.sh 2008-01-28 10:50:17.503993664 +0100
-+++ man-1.6e/src/makewhatis.sh 2008-01-28 10:50:38.265034266 +0100
+--- man-1.6f/src/makewhatis.sh.org 2008-01-28 11:01:00.406192712 +0100
++++ man-1.6f/src/makewhatis.sh 2008-01-28 11:01:15.005779257 +0100
@@ -66,8 +66,9 @@
# Some distributions make a single big /var/cache/man/whatis file,
# but that leads to problems and bugs.
@@ -96,7 +96,7 @@
fi
for pages in man cat
-@@ -204,11 +204,6 @@
+@@ -206,11 +204,6 @@
fi
fi
@@ -108,7 +108,7 @@
here=`pwd`
cd $mandir
for i in $sections
-@@ -199,7 +192,23 @@
+@@ -221,7 +214,23 @@
section=$i
curdir=$mandir/${pages}$i
export section verbose curdir
@@ -132,8 +132,8 @@
+ echo ${x} | $AWK '
function readline() {
- if (use_zcat || use_bzcat) {
-@@ -265,14 +274,25 @@
+ if (use_zcat || use_bzcat || use_lzcat) {
+@@ -291,14 +300,25 @@
while (!done && readline() > 0) {
gsub(/.\b/, "");
if (($1 ~ /^\.[Ss][Hh]/ &&
@@ -167,7 +167,7 @@
(pages == "cat" && $1 ~ /^NAME/)) {
if (!insh) {
insh = 1;
-@@ -447,24 +447,28 @@
+@@ -427,24 +447,27 @@
do_one();
}
' pages=$pages section=$section verbose=$verbose curdir=$curdir
@@ -190,8 +190,8 @@
- chmod 644 ${mandir1}/whatis
- rm $TMPFILE
+- fi
+ chmod 644 ${whatisdb}
- fi
done
done
@@ -202,4 +202,3 @@
+else # we're here if TMPFILE creation failed
+ exit 1
+fi
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/man-i18n_makewhatis.patch?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list