Dag-Erling Smørgrav des at
Tue Aug 8 07:48:21 CEST 2006

"Poul-Henning Kamp" <phk at> writes:
> Dag-Erling Smørgrav <des at> writes:
> >     - printf() extensions
> These are now only used in the vcl compiler which defines the %T
> extension.  This should hopefully work fine with GNU libc as well.

The extensions themselves are not a problem on Linux;
register_printf_render_std() is, but it is no longer used.

> >     - srandomdev()
> Any good seed is acceptable.  It's just to avoid the XID starting
> from zero every time (for any value of zero).

I'll simply add srandomdev() to libcompat.

> >     - strptime()
> This can be unrolled at some expense in source code.

Far easier to just stick FreeBSD's strptime() in libcompat.

> >     - vis() / strvis()
> This is used in varnishlog to make sure that Debug records don't
> trash the screen with binary stuff which might leak through.  Again,
> that can be unrolled.

Again, we can add them to libcompat.

Dag-Erling Smørgrav
Senior Software Developer
Linpro AS -

More information about the varnish-dev mailing list