Date: Wed, 17 Jan 2001 11:10:43 -0800 (PST) From: Matt Dillon <dillon@earth.backplane.com> To: Kent Stewart <kstewart@urx.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Possible bug in /usr/bin/makewhatis. Message-ID: <200101171910.f0HJAhV48742@earth.backplane.com> References: <200101170441.f0H4fmw45025@earth.backplane.com> <3A657B6E.673E6EEC@urx.com>
next in thread | previous in thread | raw e-mail | index | archive | help
:Matt Dillon wrote: :> :> 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. : :It also only happens if you are running ssh to logon to the computer :doing the makewhatis. You can telnet to the system and you don't see :the problem. : :Kent It could easily occur just by virtue of the perl process picking up the input data and exiting (killing its side of the pipe) before gzcat has a chance to finish writing the manual page to the pipe. It can also occur if the pipe buffer is small (causing gzcat to block and then have the pipe ripped out from under it). I'm thinking the best solution is to have makewhatis drain all remaining input prior to closing the file handle. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101171910.f0HJAhV48742>