/[pkgs]/rpms/man/devel/man-1.6f-dashes2.patch
ViewVC logotype

Contents of /rpms/man/devel/man-1.6f-dashes2.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Wed Nov 19 10:20:36 2008 UTC (12 months ago) by varekova
Branch: MAIN
CVS Tags: man-1_6f-13_fc11, F-12-split, man-1_6f-21_fc12, man-1_6f-19_fc12, F-11-split, man-1_6f-18_fc12, man-1_6f-22_fc12, man-1_6f-15_fc11, man-1_6f-20_fc12, man-1_6f-16_fc11, man-1_6f-17_fc11, man-1_6f-12_fc11, man-1_6f-23_fc13, man-1_6f-14_fc11, HEAD
File MIME type: text/x-patch
- Resolves: #471784
  makewhatis problem with man-pages with dash in its name
1 diff -up man-1.6f/src/makewhatis.sh.dash2 man-1.6f/src/makewhatis.sh
2 --- man-1.6f/src/makewhatis.sh.dash2 2008-11-18 11:04:58.000000000 +0100
3 +++ man-1.6f/src/makewhatis.sh 2008-11-18 11:13:21.000000000 +0100
4 @@ -329,9 +329,10 @@ do
5 # is probably a section header.
6 done = 1;
7 } else {
8 - if ($0 ~ progname"-") { # Fix old cat pages
9 - sub(progname"-", progname" - ");
10 - }
11 +# Thie overwork break the records for man-pages consisting dash in their name
12 +# if ($0 ~ progname"-") { # Fix old cat pages
13 +# sub(progname"-", progname" - ");
14 +# }
15 if ($0 ~ /[^ \\]-$/) {
16 sub(/-$/, ""); # Handle Hyphenations
17 nextjoin = 1;

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2