ports/5010: www/w3m 0.5.1 fails to close pipes - and eventually dies
>Synopsis: www/w3m 0.5.1 fails to close pipes - and eventually dies
>Arrival-Date: Wed Feb 08 12:20:02 GMT 2006
>Originator: TAKAHASHI Tamotsu
System : OpenBSD 3.8
Machine : i386
"Hiroshi SAKURAI" (http://vimrc.hp.infoseek.co.jp/) found this bug in w3m-0.5.1.
Summary: w3m tries to "pclose" pipes which were "fdopen"ed (not "popen"ed).
When w3m sees a compressed page (e.g. "Content-Encoding: gzip"),
w3m "fdopen"s a pipe from decompresser ("gzip").
But "pclose" is specified as the pipe's closer.
Thus, so many pipes will remain unclosed that w3m eventually dies.