From: solar Date: Mon, 8 May 2006 15:48:38 +0000 (+0000) Subject: Bla X-Git-Tag: v0.5~207 X-Git-Url: https://pd.if.org/git/?p=pdclib;a=commitdiff_plain;h=4a5ecefb4058e36a637357bab5b50bf2ef538587 Bla --- diff --git a/functions/stdio/sprintf.c b/functions/stdio/sprintf.c index 6f7ad75..a4b28e1 100644 --- a/functions/stdio/sprintf.c +++ b/functions/stdio/sprintf.c @@ -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; } diff --git a/functions/stdio/vsprintf.c b/functions/stdio/vsprintf.c index c93f5cd..5276e39 100644 --- a/functions/stdio/vsprintf.c +++ b/functions/stdio/vsprintf.c @@ -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