The presence of __va_copy vs va_copy
rsharpe at richardsharpe.com
Thu Oct 23 20:24:58 GMT 2003
As some have pointed out, __va_copy() is not on some platforms, as the
standard actually seems to be va_copy().
I propose changing the test in configure.in to look for va_copy() first,
and set HAVE_VA_COPY, then look for __va_copy and set HAVE___VA_COPY and
change the only file that uses it, lib/snprintf.c, to do the right things.
Does this seem OK?
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org,
More information about the samba-technical