Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
/proc/self/exe returning '/' ?
Hi!
lang/perl5/patches/patch-caretx.c has a patch that claims that
NetBSD's /proc/self/exe sometimes returns '/'.
The patch seems to be there since 2008 (then named patch-ah):
revision 1.9
date: 2008-01-08 16:19:39 +0100; author: apb; state: Exp; lines: +16 -4;
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].
Is this still an actual existing problem in NetBSD or should I just
remove the patch?
Thomas
Home |
Main Index |
Thread Index |
Old Index