lib/findprog-in.c


Log

Author Commit Date CI Message
Paul Eggert 2cdc1baf 2020-01-01T00:00:18 maint: Run 'make update-copyright'
Paul Smith 6e963416 2019-09-15T19:47:43 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".
Bruno Haible 43fcc2ac 2019-09-14T13:10:22 findprog-in: Better mimic the system on native Windows. Reported by Paul Smith <psmith@gnu.org>. * lib/findprog-in.c (find_in_given_path): On native Windows, don't try non-empty suffixes when the file name already contains a '.'.
Bruno Haible 5b586b1e 2019-09-09T20:46:44 findprog-in: Make exec optimization optional. * lib/findprog.h: Add double-inclusion guard. Include <stdbool.h>. (find_in_given_path): Add optimize_for_exec parameter. * lib/findprog-in.c (find_in_given_path): Likewise.
Bruno Haible 3578d062 2019-09-08T18:21:21 findprog-in: New module. Suggested by Paul Smith <psmith@gnu.org>. * lib/findprog.h (find_in_given_path): New declaration. * lib/findprog-in.c: New file, based on lib/findprog.c. * m4/findprog-in.m4: New file, based on m4/findprog.m4. * modules/findprog-in: New file.