From 56998277f0571d1b01939e6097068835db09f765 Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Fri, 17 Jan 2025 03:17:15 -0500 Subject: [PATCH] checksrc.bat: remove explicit SNPRINTF bypass - Remove the command line argument passed to checksrc.pl that accepts SNPRINTF violations in docs/examples. This is a follow-up to c445b742 which introduced a different management of banned functions and removed the SNPRINTF rule in favor of banning snprintf in lib. There's no longer a SNPRINTF warning to suppress. Closes https://github.com/curl/curl/pull/16032 --- projects/checksrc.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/checksrc.bat b/projects/checksrc.bat index 69e3d8c4f1..cbabad6a48 100644 --- a/projects/checksrc.bat +++ b/projects/checksrc.bat @@ -175,7 +175,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%\scripts\checksrc.pl" "-D%SRC_DIR%\docs\examples" -ASNPRINTF "%%i" + for /f "delims=" %%i in ('dir "%SRC_DIR%\docs\examples\*.c.*" /b 2^>NUL') do @perl "%SRC_DIR%\scripts\checksrc.pl" "-D%SRC_DIR%\docs\examples" "%%i" ) )