summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/stdlib/t_hsearch.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2015-02-27 19:05:23 +0000
committerjkim <jkim@FreeBSD.org>2015-02-27 19:05:23 +0000
commit1909a3ff8da7b144996d9fda1b0b411dbf3bdc58 (patch)
tree8b992320e05df528d1cd4bc87f2e98294b66acba /contrib/netbsd-tests/lib/libc/stdlib/t_hsearch.c
parent3c61aa79bfcaf99762f556d9ed3d18ee8d756bf2 (diff)
downloadFreeBSD-src-1909a3ff8da7b144996d9fda1b0b411dbf3bdc58.zip
FreeBSD-src-1909a3ff8da7b144996d9fda1b0b411dbf3bdc58.tar.gz
When a file is executed and the path starts with `/', AT_EXECPATH is set
without any translation. If the file is a symbolic link, $ORIGIN may not be expanded to the actual origin. Use realpath(3) to properly expand $ORIGIN to its absolute path. Reviewed by: kib MFC after: 1 week
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/stdlib/t_hsearch.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud