|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchessocket-patch (last revision 2011-10-13 07:51 UTC by china at thewrittenword dot com)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-10-13 22:49 UTC] felipe@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: felipe
[2011-10-13 22:49 UTC] felipe@php.net
[2011-10-13 22:56 UTC] felipe@php.net
[2012-04-18 09:48 UTC] laruence@php.net
[2012-07-24 23:39 UTC] rasmus@php.net
[2013-11-17 09:36 UTC] laruence@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 01:00:02 2025 UTC |
Description: ------------ <sys/socket.h> on IRIX 6.5 defines sa_len as: #define sa_len sa_union.sa_generic.sa_len2 Because of this, socket_accept() in ext/sockets/sockets.c cannot be compiled on this platform because it uses sa_len as a variable: PHP_FUNCTION(socket_accept) { zval *arg1; php_socket *php_sock, *new_sock; php_sockaddr_storage sa; socklen_t sa_len = sizeof(sa); The obvious fix is to rename "sa_len" to something like php_sa_len.