Bug in bb 1.3.1, httpd with POST
Denis Vlasenko
vda.linux at googlemail.com
Sun Feb 11 19:46:29 UTC 2007
On Sunday 11 February 2007 20:42, Bernhard Fischer wrote:
> On Sun, Feb 11, 2007 at 08:08:25PM +0100, Denis Vlasenko wrote:
> >On Sunday 11 February 2007 19:54, Alexander Griesser wrote:
>
> >- dup2(inFd, 0); // replace stdin with the pipe
> >- dup2(outFd, 1); // replace stdout with the pipe
> >+ if (config->accepted_socket > 1)
> >+ close(config->accepted_socket);
>
> Didn't we have an close_nonstdin?
That one is for stdio (it's fclose, not close) and it
basically does "if (fp != stdin) fclose(fp);"
Not applicable here.
--
vda
More information about the busybox
mailing list