[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] findprog-in: Set errno to indicate why NULL was returned.
From: |
Eli Zaretskii |
Subject: |
Re: [PATCH] findprog-in: Set errno to indicate why NULL was returned. |
Date: |
Mon, 16 Sep 2019 18:18:11 +0300 |
> From: Bruno Haible <address@hidden>
> Cc: Paul Smith <address@hidden>
> 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.
- Re: [PATCH] findprog-in: Set errno to indicate why NULL was returned., (continued)
- Re: [PATCH] findprog-in: Set errno to indicate why NULL was returned., Paul Smith, 2019/09/14
- new module 'access', Bruno Haible, 2019/09/15
- Re: new module 'access', Eli Zaretskii, 2019/09/16
- Re: new module 'access', Bruno Haible, 2019/09/16
- Re: new module 'access', Eli Zaretskii, 2019/09/17
- Re: new module 'access', Bruno Haible, 2019/09/28
- Re: new module 'access', Eli Zaretskii, 2019/09/28
- Re: new module 'access', Bruno Haible, 2019/09/28
- Re: new module 'access', Eli Zaretskii, 2019/09/28
Re: [PATCH] findprog-in: Set errno to indicate why NULL was returned., Bruno Haible, 2019/09/15
- Re: [PATCH] findprog-in: Set errno to indicate why NULL was returned.,
Eli Zaretskii <=