Samba 2.2.2 problem in lib/sprintf.c

Jeremy Allison jra at
Mon Nov 26 21:28:02 GMT 2001

On Mon, Nov 26, 2001 at 09:00:38PM -0800, Andrew Tridgell wrote:

> no, the original code was correct. The patch breaks Samba on LOTS of
> platforms.
> The logic is that we want to do our own *snprintf() code if either the
> system doesn't have it OR the systems one is broken. 

Is it possible to have HAVE_SNPRINTF only defined if the
systems one is present and works, as the current define
is confusing (even with the "don't muck with this" comment :-) ?


More information about the samba-technical mailing list