diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-05 06:27:37 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-05 06:27:37 +0000 |
commit | 5081475eefaf24307ce7eaf4c87aafd588b37e98 (patch) | |
tree | 744b428598c31382b30b98187d16cb837b6db9ec /opcode.h | |
parent | f6f9bdb7c056c5766371aa31d1a898fb878f3de5 (diff) | |
download | perl-5081475eefaf24307ce7eaf4c87aafd588b37e98.tar.gz |
add ck_sysread() for better sysread/read/recv sanity
p4raw-id: //depot/perl@1319
Diffstat (limited to 'opcode.h')
-rw-r--r-- | opcode.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1095,6 +1095,7 @@ OP * ck_spair _((OP* o)); OP * ck_split _((OP* o)); OP * ck_subr _((OP* o)); OP * ck_svconst _((OP* o)); +OP * ck_sysread _((OP* o)); OP * ck_trunc _((OP* o)); OP * pp_null _((ARGSproto)); @@ -2009,17 +2010,17 @@ EXT OP * (CPERLscope(*check)[]) _((OP *op)) = { ck_select, /* sselect */ ck_select, /* select */ ck_eof, /* getc */ - ck_fun, /* read */ + ck_sysread, /* read */ ck_fun, /* enterwrite */ ck_null, /* leavewrite */ ck_listiob, /* prtf */ ck_listiob, /* print */ ck_fun, /* sysopen */ ck_fun, /* sysseek */ - ck_fun, /* sysread */ + ck_sysread, /* sysread */ ck_fun, /* syswrite */ ck_fun, /* send */ - ck_fun, /* recv */ + ck_sysread, /* recv */ ck_eof, /* eof */ ck_fun, /* tell */ ck_fun, /* seek */ |