fix: resolve hardcoded Windows path literals through POSIX helpers (Linux)
linux / build (push) Successful in 13m8s
linux / build (push) Successful in 13m8s
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user