samba-cvs.cvs
[Top] [All Lists]

svn commit: samba r13401 - in branches/SAMBA_4_0/source/lib/replace: .

Subject: svn commit: samba r13401 - in branches/SAMBA_4_0/source/lib/replace: .
From:
Date: Thu, 9 Feb 2006 00:50:50 +0000 GMT
Author: tridge
Date: 2006-02-09 00:50:48 +0000 (Thu, 09 Feb 2006)
New Revision: 13401

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13401

Log:

remove the rename of the snprintf functions that simo accidentially
included in his last commit

Modified:
   branches/SAMBA_4_0/source/lib/replace/snprintf.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/snprintf.c
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/snprintf.c    2006-02-09 00:49:03 UTC 
(rev 13400)
+++ branches/SAMBA_4_0/source/lib/replace/snprintf.c    2006-02-09 00:50:48 UTC 
(rev 13401)
@@ -1187,11 +1187,10 @@
        return max;
 }
 
- int smb_vsnprintf (char *str, size_t count, const char *fmt, va_list args)
+ int vsnprintf (char *str, size_t count, const char *fmt, va_list args)
 {
        return dopr(str, count, fmt, args);
 }
-#define vsnprintf smb_vsnprintf
 #endif
 
 /* yes this really must be a ||. Don't muck with this (tridge)
@@ -1201,7 +1200,7 @@
  * that doesn't work properly according to the autoconf test.
  */
 #if !defined(HAVE_SNPRINTF) || !defined(HAVE_C99_VSNPRINTF)
-int smb_snprintf(char *str,size_t count,const char *fmt,...)
+ int snprintf(char *str,size_t count,const char *fmt,...)
 {
        size_t ret;
        va_list ap;
@@ -1211,7 +1210,6 @@
        va_end(ap);
        return ret;
 }
-#define snprintf smb_snprintf
 #endif
 
 #endif 

<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: samba r13401 - in branches/SAMBA_4_0/source/lib/replace: ., tridge <=