summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-03-12 00:51:08 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-03-12 00:51:08 +0000
commit01f988be05578e1f4609174755be9d7b61543c58 (patch)
tree7ebcceb4314c8b249ec6cc249e699dc385acd199 /doio.c
parent3bd495df69b982704c59fc1ecbed71e5112e7da0 (diff)
downloadperl-01f988be05578e1f4609174755be9d7b61543c58.tar.gz
[asperl] added AS patch#12 with minor changes
p4raw-id: //depot/asperl@806
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/doio.c b/doio.c
index d8ce25d186..4e263e1665 100644
--- a/doio.c
+++ b/doio.c
@@ -503,7 +503,7 @@ nextargv(register GV *gv)
(void)fchown(lastfd,fileuid,filegid);
#else
#ifdef HAS_CHOWN
- (void)chown(oldname,fileuid,filegid);
+ (void)PerlLIO_chown(oldname,fileuid,filegid);
#endif
#endif
}
@@ -1065,7 +1065,7 @@ apply(I32 type, register SV **mark, register SV **sp)
val2 = SvIVx(*++mark);
tot = sp - mark;
while (++mark <= sp) {
- if (chown(SvPVx(*mark, na),val,val2))
+ if (PerlLIO_chown(SvPVx(*mark, na),val,val2))
tot--;
}
}