Show
Ignore:
Timestamp:
02/21/10 21:36:31 (5 months ago)
Author:
phk
Message:

Evict the [v]asprintf compat & configure stuff, we have stopped using
these functions.

The [v]asprintf() functions are convenient shorthand, but suffer from
a number of problems, portability, cornercases and performance being
the most relevant to Varnish.

Static buffers on the stack (see [v]bprintf macros, or sbufs (vsb)
are always better choices for us.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/varnish-cache/configure.ac

    r4558 r4581  
    211211# These functions are provided by libcompat on platforms where they 
    212212# are not available 
    213 AC_CHECK_FUNCS([asprintf vasprintf]) 
    214213AC_CHECK_FUNCS([setproctitle]) 
    215214AC_CHECK_FUNCS([srandomdev])