Date: 01/16/01
- Next message: Andi Gutmans: "RE: [PHP-DEV] Patch that corrects non blocked socket reading on W IN32"
- Previous message: j-f <email protected>: "[PHP-DEV] PHP 4.0 Bug #8742: Little typo in the get_loaded_extensions-example"
- In reply to: Christophe Thibault: "RE: [PHP-DEV] Patch that corrects non blocked socket reading on W IN32"
- Next in thread: Andi Gutmans: "RE: [PHP-DEV] Patch that corrects non blocked socket reading on W IN32"
- Reply: Andi Gutmans: "RE: [PHP-DEV] Patch that corrects non blocked socket reading on W IN32"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 16 Jan 2001, Christophe Thibault wrote:
> Actually, it's not that dangerous as the redefinition of errno only occurs
> in fsock.c and errno is only used in fsock.c for retrieving socket errors...
Something like this is more safer:
#ifdef PHP_WIN32
#define php_sock_errno() WSAGetLastError()
#else
#define php_sock_errno() errno
#endif
- Sascha
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andi Gutmans: "RE: [PHP-DEV] Patch that corrects non blocked socket reading on W IN32"
- Previous message: j-f <email protected>: "[PHP-DEV] PHP 4.0 Bug #8742: Little typo in the get_loaded_extensions-example"
- In reply to: Christophe Thibault: "RE: [PHP-DEV] Patch that corrects non blocked socket reading on W IN32"
- Next in thread: Andi Gutmans: "RE: [PHP-DEV] Patch that corrects non blocked socket reading on W IN32"
- Reply: Andi Gutmans: "RE: [PHP-DEV] Patch that corrects non blocked socket reading on W IN32"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

