diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-11-02 21:27:58 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-11-02 21:27:58 +0000 |
commit | 605b9385ca432fdf5dd870e452cfa8fc5038eab7 (patch) | |
tree | 0944bd4c65457f142fc212862178100ba30a6da3 /pp_sys.c | |
parent | 1444765efaefee475386d81c393f3e679a455714 (diff) | |
download | perl-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.c | 42 |
1 files changed, 1 insertions, 41 deletions
@@ -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 |