The presence of __va_copy vs va_copy
rsharpe at richardsharpe.com
Fri Oct 24 18:08:54 GMT 2003
On Fri, 24 Oct 2003, Green, Paul wrote:
> Richard Sharpe [mailto:rsharpe at richardsharpe.com] writes:
> > As some have pointed out, __va_copy() is not on some platforms, as the
> > standard actually seems to be va_copy().
> Bear in mind that va_copy came into existence with C-1999 and does not exist
> in C-1990. Some of us have only partial implementations of C-1999. VOS
> doesn't have va_copy but does have snprintf.
OK, I wasn't aware of that gory level of detail :-)
However, in that case, __va_copy would not be found, and I am trying to
get the build to look for va_copy first, and then fall back to __va_copy,
and will preserve the current behavior is neither is found.
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org,
More information about the samba-technical