diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-23 18:34:24 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-23 18:34:24 +0000 |
commit | d13a65216c1a6a5afb5e1a7f9ad5ee9debce75d7 (patch) | |
tree | 0534b4091a2170099d754ecd607f8b49e5ae48c4 /perl.c | |
parent | f24dbf840a7182a9da07820ccca23bd6e2a4550e (diff) | |
download | perl-d13a65216c1a6a5afb5e1a7f9ad5ee9debce75d7.tar.gz |
Use PROCSELFEXE_PATH.
p4raw-id: //depot/perl@13215
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |