I was doing some installworlds and got a bunch of 'gzcat: Broken pipe'
errors at the very end when it was doing 'makewhatis' on various manual
directories.
I believe the problem is related to the makewhatis perl script closing
the input descriptor before draining all the input, but not being a
perl progammer I can't tell for sure. The place where the perl program
appeared to be closing the input prematurely is here:
# ``man'' style pages
# &&: it takes you only half the user time, regexp is slow!!!
if (/^\.SH/ && /^\.SH[ \t]+["]?($section_name)["]?/) {
#while(<F>) { last unless /^\./ } # Skip
#chop; $list = $_;
while(<F>) {
last if /^\.SH[ \t]/; <<<<<<<<<<<<<<<<<<<<< here
chop;
s/^\.IX\s.*//; # delete perlpod garbage
s/^\.[A-Z]+[ ]+[0-9]+$//; # delete commands
s/^\.[A-Za-z]+[ \t]*//; # delete commands
s/^\.\\".*$//; #" delete comments
s/^[ \t]+//;
if ($_) {
$list .= $_;
$list .= ' ';
}
}
&out($list); close F; return 1; <<<<<<<<<<<< closing here
...
Could someone take a look at that? There might be other places as well.
Thanks!
-Matt
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message