From: Jay Satiro Date: Fri, 10 May 2019 19:28:15 +0000 (-0400) Subject: checksrc.bat: Ignore snprintf warnings in docs/examples X-Git-Tag: curl-7_65_0~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=edf2f6a6f60debd80ae3cef7a68fb84faaef7c5d;p=curl checksrc.bat: Ignore snprintf warnings in docs/examples .. because we allow snprintf use in docs/examples. Closes https://github.com/curl/curl/pull/3862 --- diff --git a/projects/checksrc.bat b/projects/checksrc.bat index 5c8debf11..54c976ad1 100644 --- a/projects/checksrc.bat +++ b/projects/checksrc.bat @@ -143,7 +143,7 @@ rem *************************************************************************** if "%CHECK_EXAMPLES%" == "TRUE" ( rem Check the docs\examples directory if exist %SRC_DIR%\docs\examples ( - for /f "delims=" %%i in ('dir "%SRC_DIR%\docs\examples\*.c.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\docs\examples" "%%i" + for /f "delims=" %%i in ('dir "%SRC_DIR%\docs\examples\*.c.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\docs\examples" -ASNPRINTF "%%i" ) )