[PATCH] httpd: don't drop QUERY_STRING when /cgi-bin/index.cgi is used

Dan Fandrich dan at coneharvesters.com
Thu Dec 15 19:35:58 UTC 2011


On Thu, Dec 15, 2011 at 05:25:01PM +0100, Peter Korsgaard wrote:
> >>>>> "walter" == walter harms <wharms at bfs.de> writes:
>  walter> Why not use strdupa() instead?
> 
> Because I wasn't aware of it. I see we aren't using it anywhere in
> busybox today, how portable is it?

According to the man page, it's not outside glibc, but at least uclibc
has it as well.  It can be implemented as a macro, though, so if you
use you, you can just make sure there's a replacement in platform.h

>>> Dan


More information about the busybox mailing list