Samba 2.2.2 problem in lib/sprintf.c

Andrew Tridgell tridge at samba.org
Mon Nov 26 21:01:15 GMT 2001


> > The original code uses OR ( || ) and caused the new vsnprintf and snprintf
> > routines to be added despite being 
> > defined previously.
>
> Looks good - thanks !

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. 

comment added ...




More information about the samba-technical mailing list