This should fix the installworld problems.  I'll commit it to -current
    tonight and MFC it in two days unless people find something wrong with
    it.  It would be nice if someone else could test it first.

                                                -Matt

Index: makewhatis.perl
===================================================================
RCS file: /home/ncvs/src/gnu/usr.bin/man/makewhatis/makewhatis.perl,v
retrieving revision 1.21
diff -u -r1.21 makewhatis.perl
--- makewhatis.perl     1999/09/11 18:21:16     1.21
+++ makewhatis.perl     2001/02/04 21:11:34
@@ -352,6 +352,7 @@
                    $list .= ' ';
                }
            }
+           while(<F>) { }      # skip remaining input to avoid pipe errors
            &out($list); close F; return 1;
        } elsif (/^\.Sh/ && /^\.Sh[ \t]+["]?($section_name)["]?/) {
            # ``doc'' style pages
@@ -375,9 +376,11 @@
                    $list .= ' ';
                }
            }
+           while(<F>) { }      # skip remaining input to avoid pipe errors
            &out($list); close F; return 1;
 
        } elsif(/^\.so/ && /^\.so[ \t]+man/) {
+           while(<F>) { }      # skip remaining input to avoid pipe errors
            close F; return 1;
        }
     }


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to