]> Savannah Git Hosting - gnulib.git/commit
findprog-in: Set errno when the search fails.
authorPaul Smith <psmith@gnu.org>
Sun, 15 Sep 2019 17:47:43 +0000 (19:47 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 15 Sep 2019 17:47:43 +0000 (19:47 +0200)
commit6e9634163167de7f153cdfd1023e5c164485f4bc
tree940c2bce61848bb503c80ddf6c947a30aab5a1cc
parentccfbc26dce79adcb32bf421ff813247699d70ea5
findprog-in: Set errno when the search fails.

* lib/findprog-in.c: Include <errno.h>.
(find_in_given_path): Set errno before returning NULL.
* lib/findprog.h (find_in_given_path): Update comment accordingly.
Define the term "slash".
ChangeLog
lib/findprog-in.c
lib/findprog.h