summaryrefslogtreecommitdiff
path: root/opcode.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-01-08 13:49:21 +0000
committerNicholas Clark <nick@ccl4.org>2011-01-09 12:22:53 +0000
commit60504e186da3226f64f36cdc4c9e700993e6f372 (patch)
treeafca9944b071e6a828748364167bac09e7be41b2 /opcode.h
parent6f3ed33686edc657dce73f7b5a70e096a40970aa (diff)
downloadperl-60504e186da3226f64f36cdc4c9e700993e6f372.tar.gz
Rename pp_send to pp_syswrite, making send an alias for syswrite.
Previously syswrite was an alias for send. However, syswrite is always available, whereas send is not implemented if HAS_SOCKET is not defined.
Diffstat (limited to 'opcode.h')
-rw-r--r--opcode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/opcode.h b/opcode.h
index 9e42d8bc23..33b485cf8b 100644
--- a/opcode.h
+++ b/opcode.h
@@ -51,9 +51,9 @@
#define Perl_pp_dbmclose Perl_pp_untie
#define Perl_pp_read Perl_pp_sysread
#define Perl_pp_say Perl_pp_print
-#define Perl_pp_syswrite Perl_pp_send
#define Perl_pp_seek Perl_pp_sysseek
#define Perl_pp_fcntl Perl_pp_ioctl
+#define Perl_pp_send Perl_pp_syswrite
#define Perl_pp_recv Perl_pp_sysread
#define Perl_pp_connect Perl_pp_bind
#define Perl_pp_gsockopt Perl_pp_ssockopt
@@ -1113,7 +1113,7 @@ EXT Perl_ppaddr_t PL_ppaddr[] /* or perlvars.h */
Perl_pp_sysopen,
Perl_pp_sysseek,
Perl_pp_sysread,
- Perl_pp_syswrite, /* implemented by Perl_pp_send */
+ Perl_pp_syswrite,
Perl_pp_eof,
Perl_pp_tell,
Perl_pp_seek, /* implemented by Perl_pp_sysseek */
@@ -1121,7 +1121,7 @@ EXT Perl_ppaddr_t PL_ppaddr[] /* or perlvars.h */
Perl_pp_fcntl, /* implemented by Perl_pp_ioctl */
Perl_pp_ioctl,
Perl_pp_flock,
- Perl_pp_send,
+ Perl_pp_send, /* implemented by Perl_pp_syswrite */
Perl_pp_recv, /* implemented by Perl_pp_sysread */
Perl_pp_socket,
Perl_pp_sockpair,