diff options
author | Gisle Aas <gisle@activestate.com> | 2006-02-07 17:32:50 +0000 |
---|---|---|
committer | Gisle Aas <gisle@activestate.com> | 2006-02-07 17:32:50 +0000 |
commit | d4ac975eac140a6fda54f99664f15120fd97e7be (patch) | |
tree | fde462215af5bd354dbcb674446cfe6d9b55c28b /opcode.h | |
parent | 71302fe379907f97d78296ec5f7430559d3a05ca (diff) | |
download | perl-d4ac975eac140a6fda54f99664f15120fd97e7be.tar.gz |
Allow bareword file handle as argument to chdir().
This copies the mechanism used by truncate().
Fixes bug #38457.
p4raw-id: //depot/perl@27125
Diffstat (limited to 'opcode.h')
-rw-r--r-- | opcode.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1427,7 +1427,7 @@ EXT Perl_check_t PL_check[] /* or perlvars.h */ MEMBER_TO_FPTR(Perl_ck_ftst), /* fttty */ MEMBER_TO_FPTR(Perl_ck_ftst), /* fttext */ MEMBER_TO_FPTR(Perl_ck_ftst), /* ftbinary */ - MEMBER_TO_FPTR(Perl_ck_fun), /* chdir */ + MEMBER_TO_FPTR(Perl_ck_chdir), /* chdir */ MEMBER_TO_FPTR(Perl_ck_fun), /* chown */ MEMBER_TO_FPTR(Perl_ck_fun), /* chroot */ MEMBER_TO_FPTR(Perl_ck_fun), /* unlink */ |