]> pd.if.org Git - pdclib/commitdiff
Bla
authorsolar <unknown>
Mon, 8 May 2006 15:48:38 +0000 (15:48 +0000)
committersolar <unknown>
Mon, 8 May 2006 15:48:38 +0000 (15:48 +0000)
functions/stdio/sprintf.c
functions/stdio/vsprintf.c

index 6f7ad75e8a6c83dcbb236770b422e121fa7f0b94..a4b28e1842fdbc0db75be225376d3b379f3c0c46 100644 (file)
@@ -17,7 +17,7 @@ int sprintf( char * _PDCLIB_restrict s, const char * _PDCLIB_restrict format, ..
     int rc;
     va_list ap;
     va_start( ap, format );
-    rc = vsnprintf( s, SIZE_MAX, format, ap );
+    rc = vsnprintf( s, SIZE_MAX, format, ap ); /* TODO: replace with non-checking call */
     va_end( ap );
     return rc;
 }
index c93f5cd38ac22f910c0497a09d45bc90b6ae4032..5276e3920a6278b406d32aa3d3c89faa1fcea027 100644 (file)
@@ -16,7 +16,7 @@ int foo = SIZE_MAX;
 
 int vsprintf( char * str, const char * format, va_list arg )
 {
-    return vsnprintf( str, SIZE_MAX, format, arg );
+    return vsnprintf( str, SIZE_MAX, format, arg ); /* TODO: Replace with a non-checking call */
 }
 
 #endif