From 164bafd9c22f1f670e211e51fb4c31359e606937 Mon Sep 17 00:00:00 2001 From: Jason Zou Date: Thu, 12 Oct 2023 10:20:48 -0700 Subject: [PATCH] remove checksrc comments in tool_stderr.c, their work is unclear and do not follow the checksrc doc, but break the debug build --- deps/curl-8.4.0/src/tool_stderr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deps/curl-8.4.0/src/tool_stderr.c b/deps/curl-8.4.0/src/tool_stderr.c index 4ab5516ae4..193c736d49 100644 --- a/deps/curl-8.4.0/src/tool_stderr.c +++ b/deps/curl-8.4.0/src/tool_stderr.c @@ -32,7 +32,7 @@ FILE *tool_stderr; void tool_init_stderr(void) { - /* !checksrc! disable STDERR 1 */ + /* !check-src! disable STDERR 1 */ tool_stderr = stderr; } @@ -59,13 +59,13 @@ void tool_set_stderr_file(struct GlobalConfig *global, char *filename) /* freopen the actual stderr (stdio.h stderr) instead of tool_stderr since the latter may be set to stdout. */ - /* !checksrc! disable STDERR 1 */ + /* !check-src! disable STDERR 1 */ fp = freopen(filename, FOPEN_WRITETEXT, stderr); if(!fp) { /* stderr may have been closed by freopen. there is nothing to be done. */ DEBUGASSERT(0); return; } - /* !checksrc! disable STDERR 1 */ + /* !check-src! disable STDERR 1 */ tool_stderr = stderr; }