Skip to content
Snippets Groups Projects
Commit c82eff12 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Comment out access() call in Windows version of getfilecase()

I'm hoping this might help resolve instances where fexistcase() says a file
does not exist, but a subsequent call to fexist() says it does.
parent c366fdbd
Branches
Tags
No related merge requests found
Pipeline #7418 passed
......@@ -587,9 +587,10 @@ static bool getfilecase(char *path, bool dir)
intptr_t handle;
struct _finddata_t f;
#if 0
if(access(path, F_OK)==-1 && !strchr(path,'*') && !strchr(path,'?'))
return(false);
#endif
if((handle=_findfirst((char*)path,&f))==-1)
return(false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment