> From: Bruno Haible <br...@clisp.org> > Cc: Paul Smith <psm...@gnu.org> > Date: Sun, 15 Sep 2019 19:58:56 +0200 > > + - Otherwise, it sets errno and returns NULL. > + Specific errno values include: > + - ENOENT: means that the program's file was not found. > + - EACCESS: means that the program's file was found but lacks the > + execute permissions.
The value of EACCES (not EACCESS!) on MS-Windows frequently means the file cannot be accessed for a reason that has nothing to do with execute permissions. It could be, for example, that some intermediate directory in the full file name doesn't exist or is otherwise inaccessible.