summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-11-02 21:27:58 +0000
committerNicholas Clark <nick@ccl4.org>2005-11-02 21:27:58 +0000
commit605b9385ca432fdf5dd870e452cfa8fc5038eab7 (patch)
tree0944bd4c65457f142fc212862178100ba30a6da3 /pp_sys.c
parent1444765efaefee475386d81c393f3e679a455714 (diff)
downloadperl-605b9385ca432fdf5dd870e452cfa8fc5038eab7.tar.gz
unlink chmod utime kill can be merged into Perl_pp_chown().
p4raw-id: //depot/perl@25964
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c42
1 files changed, 1 insertions, 41 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 52a2839638..8682be3012 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -3456,7 +3456,7 @@ PP(pp_chdir)
PP(pp_chown)
{
dSP; dMARK; dTARGET;
- I32 value = (I32)apply(PL_op->op_type, MARK, SP);
+ const I32 value = (I32)apply(PL_op->op_type, MARK, SP);
SP = MARK;
PUSHi(value);
@@ -3476,36 +3476,6 @@ PP(pp_chroot)
#endif
}
-PP(pp_unlink)
-{
- dSP; dMARK; dTARGET;
- I32 value;
- value = (I32)apply(PL_op->op_type, MARK, SP);
- SP = MARK;
- PUSHi(value);
- RETURN;
-}
-
-PP(pp_chmod)
-{
- dSP; dMARK; dTARGET;
- I32 value;
- value = (I32)apply(PL_op->op_type, MARK, SP);
- SP = MARK;
- PUSHi(value);
- RETURN;
-}
-
-PP(pp_utime)
-{
- dSP; dMARK; dTARGET;
- I32 value;
- value = (I32)apply(PL_op->op_type, MARK, SP);
- SP = MARK;
- PUSHi(value);
- RETURN;
-}
-
PP(pp_rename)
{
dSP; dTARGET;
@@ -4210,16 +4180,6 @@ PP(pp_exec)
RETURN;
}
-PP(pp_kill)
-{
- dSP; dMARK; dTARGET;
- I32 value;
- value = (I32)apply(PL_op->op_type, MARK, SP);
- SP = MARK;
- PUSHi(value);
- RETURN;
-}
-
PP(pp_getppid)
{
#ifdef HAS_GETPPID