summaryrefslogtreecommitdiff
path: root/opcode.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-08-11 22:19:50 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-08-12 06:28:10 -0700
commit465bc0f5bf04702adf1825f8db8511ecc5c3adfc (patch)
tree089d41911358bd6b5f17d1169cee5794637a31e1 /opcode.h
parent93e6f00ed5ef68c787902ea1f88084f619b59561 (diff)
downloadperl-465bc0f5bf04702adf1825f8db8511ecc5c3adfc.tar.gz
Change (l)stat’s prototype from * to ;*
Since the argument is optional, we need a semicolon. This commit accomplishes that by setting the OA_OPTIONAL flag for the appropriate entries in PL_opargs. This should not affect anything else, as ck_ftst (the check routine for [l]stat) doesn’t even look at PL_opargs. It also has to tweak the prototype-generation logic slightly, because PL_opargs also has OA_DEFGV set. I think this is insignificant enough not to warrant a delta entry.
Diffstat (limited to 'opcode.h')
-rw-r--r--opcode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcode.h b/opcode.h
index fb64ae271b..73c81dd747 100644
--- a/opcode.h
+++ b/opcode.h
@@ -1939,8 +1939,8 @@ EXTCONST U32 PL_opargs[] = {
0x01116404, /* ssockopt */
0x00006b04, /* getsockname */
0x00006b04, /* getpeername */
- 0x00006c80, /* lstat */
- 0x00006c80, /* stat */
+ 0x0000ec80, /* lstat */
+ 0x0000ec80, /* stat */
0x00006c84, /* ftrread */
0x00006c84, /* ftrwrite */
0x00006c84, /* ftrexec */