svn commit: samba r2141 - in trunk/source/lib: .

abartlet at samba.org abartlet at samba.org
Tue Aug 31 20:22:26 GMT 2004


Author: abartlet
Date: 2004-08-31 20:22:25 +0000 (Tue, 31 Aug 2004)
New Revision: 2141

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/trunk/source/lib&rev=2141&nolog=1

Log:
Merge fix by jpeach at sgi.com for systems without even the basics of the
snprintf() suite.  Make sure that we use the replacement versions in
constructing further replacments like asprintf().

Andrew Bartlett

Modified:
   trunk/source/lib/snprintf.c


Changeset:
Modified: trunk/source/lib/snprintf.c
===================================================================
--- trunk/source/lib/snprintf.c	2004-08-31 20:18:48 UTC (rev 2140)
+++ trunk/source/lib/snprintf.c	2004-08-31 20:22:25 UTC (rev 2141)
@@ -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