commit | 0c326a66c9eb3a3b5e4ab7892578b016b0590b1f | [log] [tgz] |
---|---|---|
author | Paul Smith <psmith@gnu.org> | Wed Apr 01 01:13:02 2020 -0400 |
committer | Paul Smith <psmith@gnu.org> | Wed Apr 01 02:02:57 2020 -0400 |
tree | 9b31aa163417015ebfb05b870eedaf2ff2ed8b5e | |
parent | f79bde1a6d6899641370835fb2aafcd8ec224301 [diff] |
[SV 57674] Use the system default PATH if $PATH is not set When using execvp() if $PATH is not present in the environment it will automatically search the system default PATH string. Emulate this by passing the system default PATH to find_in_given_path() if we don't find PATH in the environment. * src/job.c (child_execute_job): Use confstr(_CS_PATH) if PATH is not found.