]> granicus.if.org Git - php/commit
A Whole buncha stuff, mostly bug fixing...
authorSterling Hughes <sterling@php.net>
Sun, 20 Aug 2000 10:31:27 +0000 (10:31 +0000)
committerSterling Hughes <sterling@php.net>
Sun, 20 Aug 2000 10:31:27 +0000 (10:31 +0000)
commitf75db1e3cbbdf5b5e7101dc393627f5241b41490
treebfa4b5a8a8b025916ddefbeecd8e10ac0b7e3400
parent67daa655f6d769fd7c56e0abc6006ade5fda18e5
A Whole buncha stuff, mostly bug fixing...
- Make constants case-sensitive, conforming with the rest of PHP &
the C API.
- Make module compatible with thread safety features.
- open_listen_sok() -> open_listen_sock()
- Remove ext_skel comments
- Get rid of the ZVAL macro and replace with the correct Z_*_*
macros
- declare all functions local to the file as static.
- Remove empty PHP_MSHUTDOWN() function.
- Removed confirm_sockets_compiled()
- Changed RETVAL_* macro's to RETURN_* macro's eliminating errors
with incorrect return values and a potential leak/crash or two.
- functions that return void, actually return void
- Replaced 'long' in the prototypes with 'int'
- Fixed fd_zero() function, it gave a WRONG_PARAM_COUNT when you
gave it the proper parameter count.
- Changed the way an arbitrary number of parameters were accessed
from build_iovec() to use the Zend API.
- Added socketpair() and shutdown() functions.
ext/sockets/php_sockets.h
ext/sockets/sockets.c