summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorWinfried König <win@in.rhein-main.de>1998-07-27 22:13:00 +0100
committerGurusamy Sarathy <gsar@cpan.org>1998-08-01 19:37:13 +0000
commit3654eb6c94c503df3bbf29cfeb2429609f7a0879 (patch)
tree069f52c5bfec818601c2f4148f10676b98ac3e5c /pp_sys.c
parentb73f56772c75866d31e08a5f5c123e238222b74d (diff)
downloadperl-3654eb6c94c503df3bbf29cfeb2429609f7a0879.tar.gz
stray s/foo/PL_foo/
Message-Id: <m0z0teW-00019aC@incom.rhein-main.de> Subject: Bug in pp_rename and ISC hint p4raw-id: //depot/maint-5.005/perl@1676
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 7ac2d986f0..5e570754c5 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -2739,7 +2739,7 @@ PP(pp_rename)
if (same_dirent(tmps2, tmps)) /* can always rename to same name */
anum = 1;
else {
- if (euid || PerlLIO_stat(tmps2, &PL_statbuf) < 0 || !S_ISDIR(PL_statbuf.st_mode))
+ if (PL_euid || PerlLIO_stat(tmps2, &PL_statbuf) < 0 || !S_ISDIR(PL_statbuf.st_mode))
(void)UNLINK(tmps2);
if (!(anum = link(tmps, tmps2)))
anum = UNLINK(tmps);