SOURCES: popt-va.patch - va end it

arekm arekm at pld-linux.org
Fri Jun 15 11:56:57 CEST 2007


Author: arekm                        Date: Fri Jun 15 09:56:57 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- va end it

---- Files affected:
SOURCES:
   popt-va.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/popt-va.patch
diff -u SOURCES/popt-va.patch:1.1 SOURCES/popt-va.patch:1.2
--- SOURCES/popt-va.patch:1.1	Fri Jun 15 11:46:09 2007
+++ SOURCES/popt-va.patch	Fri Jun 15 11:56:52 2007
@@ -15,7 +15,7 @@
  
    buffer = calloc (sizeof (char), vsnprintf (&c, 1, format, ap) + 1);
 -  vsprintf (buffer, format, ap);
-+  vsprintf (buffer, format, apc);
++  vsprintf (buffer, format, apc); va_end(apc);
  
    return buffer;
  }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/popt-va.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list