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: http://projects.linpro.no/pipermail/varnish-dev/attachments/20060403/2910060c/attachment.txt
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: http://projects.linpro.no/pipermail/varnish-dev/attachments/20060403/2910060c/attachment.txt