svn commit: samba r1656 - branches/SAMBA_3_0/source/lib
vance at samba.org
vance at samba.org
Thu Aug 5 01:27:28 GMT 2004
Author: vance
Date: 2004-08-05 01:27:28 +0000 (Thu, 05 Aug 2004)
New Revision: 1656
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1656&nolog=1
Log:
Patch from James Peach:
> This patch is (probably) needed for all systems that don't have a
> C99/UNIX98 compliant vsnprintf by default. The builtin sm_*printf
> were no being called, causing things like talloc_init to fail, with
> predictable results.
The should fix 6 (solaris/hpux/irix) builds on the build farm.
Vance
Modified:
branches/SAMBA_3_0/source/lib/snprintf.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/snprintf.c
===================================================================
--- branches/SAMBA_3_0/source/lib/snprintf.c 2004-08-04 14:42:28 UTC (rev 1655)
+++ branches/SAMBA_3_0/source/lib/snprintf.c 2004-08-05 01:27:28 UTC (rev 1656)
@@ -821,6 +821,7 @@
{
return dopr(str, count, fmt, args);
}
+#define vsnprintf smb_vsnprintf
#endif
/* yes this really must be a ||. Don't muck with this (tridge)
@@ -840,6 +841,7 @@
va_end(ap);
return ret;
}
+#define snprintf smb_snprintf
#endif
#endif
More information about the samba-cvs
mailing list