diff options
author | Kalle Olavi Niemitalo <kon@iki.fi> | 2016-08-26 17:23:28 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-08 22:53:03 +0100 |
commit | 5dbe5dfd27633ebf2cc0e37fa7036fb1a689ef81 (patch) | |
tree | c12a4256607368b9ff64700327202d333b059be4 /exec/exec.c | |
parent | f7c3556e627bd6ede22255defb55084d21e4dca6 (diff) | |
download | hurd-5dbe5dfd27633ebf2cc0e37fa7036fb1a689ef81.tar.gz hurd-5dbe5dfd27633ebf2cc0e37fa7036fb1a689ef81.tar.bz2 hurd-5dbe5dfd27633ebf2cc0e37fa7036fb1a689ef81.zip |
rpctrace: Pass prefixed_name to _hurd_exec_paths.
This fixes the following test case:
mkdir testy
echo '#! /bin/bash' > testy/prog
echo 'printf "%s\n" "$0"' >> testy/prog
chmod +x testy/prog
PATH=$(pwd)/testy /bin/rpctrace -E PATH=/usr/bin:/bin -o /dev/null prog
Before this patch, the output is:
/bin/bash: prog: No such file or directory
After this patch, the output is similar to:
/home/kalle/testy/prog
* utils/rpctrace.c (traced_spawn): Get prefixed_name from
file_name_path_lookup and pass it to _hurd_exec_paths.
Diffstat (limited to 'exec/exec.c')
0 files changed, 0 insertions, 0 deletions