bug-gnulib
[Top][All Lists]
Advanced

[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: Paul Smith
Subject: Re: [PATCH] findprog-in: Set errno to indicate why NULL was returned.
Date: Sat, 14 Sep 2019 15:38:50 -0400
User-agent: Evolution 3.32.1-2

On Sat, 2019-09-14 at 15:35 -0400, Paul Smith wrote:
> Set errno to either ENOENT if the program was not found, or another
> error if a program was found but was no suitable (i.e., EACCES).

Without this change it's impossible for a program to show the correct
error message when the program is found on the path, but is not
executable.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]