diff options
author | apb <apb@pkgsrc.org> | 2008-01-08 15:19:38 +0000 |
---|---|---|
committer | apb <apb@pkgsrc.org> | 2008-01-08 15:19:38 +0000 |
commit | 71e9b52b3a7ca3a263287a3d3492cca03f687e15 (patch) | |
tree | 1ec71e6c3a6234ca126f339b6c5e81b158578cbe /lang/sr-examples | |
parent | 2e4ede884aa938d4080a5da4dacc8ad2cd4762b9 (diff) | |
download | pkgsrc-71e9b52b3a7ca3a263287a3d3492cca03f687e15.tar.gz |
NetBSD's /proc/${pid}/exe is sometimes a symlink to "/" instead of to the
actual program name, so Perl's $^X or $EXECUTABLE_NAME variable was wrong.
Change a test to detect this case, and fall back to using argv[0].
Diffstat (limited to 'lang/sr-examples')
0 files changed, 0 insertions, 0 deletions