r110 - in trunk/varnish-cache: include lib/libvarnish
Poul-Henning Kamp
phk at phk.freebsd.dk
Tue Apr 4 12:38:50 CEST 2006
In message <ujrek0dit0g.fsf at cat.linpro.no>, Dag-Erling =?iso-8859-1?Q?Sm=F8rgra
v?= writes:
>phk at projects.linpro.no writes:
>OK. We should probably have a compat.h which defines __DECONST
>(preferably with a better name) so we don't have to spell it out
>everywhere, and a libcompat (statically linked) which defines
>strlcat() etc.
I'm sure I've used much stuff that will call for changes or
a libcompat, but lets see how bad it is as we get there.
I have thought about sticking a compat wrapper around libevent,
but I'll wait for Provos to answer before I decide that.
>
>The alternative is to strdup() the error message, which removes the
>need for special-casing argv[0].
yeah, but then we'd have to handle strdup() errors :-(
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-commit
mailing list