summaryrefslogtreecommitdiff
path: root/opcode.h
diff options
context:
space:
mode:
authorGisle Aas <gisle@activestate.com>2006-02-07 17:32:50 +0000
committerGisle Aas <gisle@activestate.com>2006-02-07 17:32:50 +0000
commitd4ac975eac140a6fda54f99664f15120fd97e7be (patch)
treefde462215af5bd354dbcb674446cfe6d9b55c28b /opcode.h
parent71302fe379907f97d78296ec5f7430559d3a05ca (diff)
downloadperl-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcode.h b/opcode.h
index 95510146df..849b7d2318 100644
--- a/opcode.h
+++ b/opcode.h
@@ -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 */