Skip to content
Snippets Groups Projects
Commit b5bd70ee authored by rswindell's avatar rswindell
Browse files

Work-around for fexistcase() where on Linux, at least, glob("",...) returns

a single entry with a name of "", which makes no sense to me.
parent b6abf1ba
Branches
Tags
No related merge requests found
......@@ -536,6 +536,9 @@ BOOL DLLCALL fexistcase(char *path)
int i;
glob_t glb;
if(path[0]==0)
return FALSE;
if(!strchr(path,'*') && !strchr(path,'?') && fnameexist(path))
return(TRUE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment