C6X port, version 2
Bernd Schmidt
bernds at codesourcery.com
Mon Mar 7 13:28:30 UTC 2011
On 03/05/2011 08:11 PM, Bernhard Reutner-Fischer wrote:
> As to xdrproc_t, doesn't that change API WRT both manpage as well as glibc?
Yes. However, it seems to change it to a more correct form given
existing usage. There's no xdrproc I could find that's actually defined
as variadic (every example I've seen uses two arguments), so every cast
to xdrproc_t and use of that pointer invokes undefined behaviour.
As far as I can tell, the variadic form is a historical artifact for
using xdr_string without xdr_wrapstring.
Bernd
More information about the uClibc
mailing list