Socket constants
| From: | Nicolas Bérard-Nault | Date: | Sat, 21 Jul 2007 17:52:46 +0000 |
| Subject: | Socket constants | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-31147@lists.php.net to get a copy of this message | ||
Is there a reason the MSG_EOR and MSG_EOF constants are not registered in
PHP ? If not, could someone apply the attached patch (against HEAD).
Regards,
Nicolas.
Patch below:
Index: sockets.c
===================================================================
RCS file: /repository/php-src/ext/sockets/sockets.c,v
retrieving revision 1.190
diff -r1.190 sockets.c
471a472,473
REGISTER_LONG_CONSTANT("MSG_EOR",
MSG_EOR, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("MSG_EOF",
MSG_EOF, CONST_CS | CONST_PERSISTENT);
--
Nicolas Bérard-Nault (nicobn@gmail.com)
Étudiant D.E.C. Sciences, Lettres & Arts
Cégep de Sherbrooke
Homepage: http://nicobn.googlepages.com