I made a wrong bug-report (http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yes&numbers=5010), and Jasper told me to send it to [EMAIL PROTECTED]
Here is my report: > >Release: ja-w3m-0.5.1p0-image > >Description: > "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. > > For more details, read his description (in Japanese language): > http://vimrc.hp.infoseek.co.jp/w3m-pclose.html > > >How-To-Repeat: > View many compressed pages (e.g. OpenBSD cvsweb) with w3m. > > $ ulimit -n 30 > $ w3m http://www.openbsd.org/cgi-bin/cvsweb/src > (visit bin, press "B" (shift + b), > visit distrib, press "B" (shift + b), > visit etc, press "B" (shift + b), > visit games, press "B" (shift + b), > visit gnu, press "B" (shift + b), > visit include, press "B" (shift + b), > and visit kerberosIV) > ... voila! w3m only says "No Line", and soon dumps core. > > > Note that w3m usually removes page-buffers when you hit "B". > > >Fix: > --- file.c~ Sat Apr 17 03:47:19 2004 > +++ file.c Wed Feb 8 17:58:00 2006 > @@ -7891,7 +7891,7 @@ > uf->scheme = SCM_LOCAL; > } > UFhalfclose(uf); > - uf->stream = newFileStream(f1, (void (*)())pclose); > + uf->stream = newFileStream(f1, (void (*)())fclose); > } > > static FILE * -- tamo