diff options
author | emaste <emaste@FreeBSD.org> | 2014-10-09 20:39:18 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2014-10-09 20:39:18 +0000 |
commit | 4e4631a453a14a72ebc3d9bb1ec25f151dde3191 (patch) | |
tree | b626f9c91a4b16d96487589a2a113f099113a663 /contrib/netbsd-tests/lib/libc/stdio/t_clearerr.c | |
parent | a83188df551eec7fe57716d2b8185638bc0ba424 (diff) | |
download | FreeBSD-src-4e4631a453a14a72ebc3d9bb1ec25f151dde3191.zip FreeBSD-src-4e4631a453a14a72ebc3d9bb1ec25f151dde3191.tar.gz |
Always return pathname in dl_iterate_phdr's dlpi_name, as Linux does
Linux LD_ITERATE_PHDR(3):
The dlpi_name field is a null-terminated string giving the
pathname from which the shared object was loaded.
That functionality is much more useful than returning just the short
name.
Approved by: kan
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/stdio/t_clearerr.c')
0 files changed, 0 insertions, 0 deletions