From 0906c956931d15ca28643dbad8ff050866d806d9 Mon Sep 17 00:00:00 2001 From: opencode Date: Sun, 29 Nov 2026 18:41:28 +0000 Subject: [PATCH] fix: casepath miss diagnostics go to stderr instead of stdout --- src/skel/crossplatform.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/skel/crossplatform.cpp b/src/skel/crossplatform.cpp index 1d6281ec..fc2010f9 100644 --- a/src/skel/crossplatform.cpp +++ b/src/skel/crossplatform.cpp @@ -286,7 +286,7 @@ char* casepath(char const* path, bool checkPathFirst) if (!e) { - printf("casepath couldn't find dir/file \"%s\", full path was %s\n", c, path); + fprintf(stderr, "casepath couldn't find dir/file \"%s\", full path was %s\n", c, path); // No match, add original name and continue converting further slashes. strcpy(out + rl, c); rl += strlen(c); @@ -301,7 +301,7 @@ char* casepath(char const* path, bool checkPathFirst) } if (rl > l + 2) { - printf("\n\ncasepath: Corrected path length is longer then original+2:\n\tOriginal: %s (%zu chars)\n\tCorrected: %s (%zu chars)\n\n", path, l, out, rl); + fprintf(stderr, "\n\ncasepath: Corrected path length is longer then original+2:\n\tOriginal: %s (%zu chars)\n\tCorrected: %s (%zu chars)\n\n", path, l, out, rl); } return out; }