summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-11-23 18:34:24 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-11-23 18:34:24 +0000
commitd13a65216c1a6a5afb5e1a7f9ad5ee9debce75d7 (patch)
tree0534b4091a2170099d754ecd607f8b49e5ae48c4 /perl.c
parentf24dbf840a7182a9da07820ccca23bd6e2a4550e (diff)
downloadperl-d13a65216c1a6a5afb5e1a7f9ad5ee9debce75d7.tar.gz
Use PROCSELFEXE_PATH.
p4raw-id: //depot/perl@13215
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index 4b3eb608b7..5d4e5bbb25 100644
--- a/perl.c
+++ b/perl.c
@@ -3427,7 +3427,7 @@ STATIC void
S_procself_val(pTHX_ SV *sv, char *arg0)
{
char buf[MAXPATHLEN];
- int len = readlink("/proc/self/exe", buf, sizeof(buf) - 1);
+ int len = readlink(PROCSELFEXE_PATH, buf, sizeof(buf) - 1);
if (len > 0) {
sv_setpvn(sv,buf,len);
}