Linux patches

Dag-Erling Smørgrav des at linpro.no
Mon Apr 3 16:26:29 CEST 2006


The attached patch goes a long way towards fixing the build on Linux.
There are still issues (glibc doesn't have strl*), but I don't have
time to address them right now.

The two major changes are the removal of __DECONST (I've changed
ParseArgv() and FreeArgv() to operate on const char ** instead, and
FreeArgv() does an explicit dequalification) and the removal of
digittoint() (which is pointless, as ISO C guarantees that digits are
consecutive in the execution character set, so ch - '0' works just as
well).

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: varnish.diff
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20060403/2910060c/attachment-0001.ksh>


More information about the varnish-dev mailing list