fix: resolve hardcoded Windows path literals through POSIX helpers (Linux)
linux / build (push) Successful in 13m8s

This commit is contained in:
2026-11-29 18:22:40 +00:00
parent f93ae59627
commit 2ca63d7061
2 changed files with 15 additions and 1 deletions
+13
View File
@@ -155,6 +155,19 @@ FILE* _fcaseopen(char const* filename, char const* mode)
return result;
}
int _fcasedelete(const char *filename)
{
int result;
char *real = casepath(filename);
if (!real)
result = unlink(filename);
else {
result = unlink(real);
free(real);
}
return result;
}
int _caserename(const char *old_filename, const char *new_filename)
{
int result;