History log of /PHP-8.1/ext/sockets/sendrecvmsg.c (Results 1 – 25 of 72)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# f97a6509 09-Jun-2022 Pierrick Charron

Merge branch 'PHP-8.0' into PHP-8.1


# e2d55f2f 09-Jun-2022 Pierrick Charron

Fix LONG_CHECK_VALID_INT in socket extension

Revision tags: php-8.1.7RC1
# f16d35cf 10-Mar-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix Solaris builds of ext/sockets


Revision tags: php-8.1.4RC1, php-8.1.3, php-8.1.2RC1
# 7eb972c4 31-Dec-2021 David Carlier

Fix Solaris builds of ext/sockets

We enable the proper ancillary data handling layout and API.

Closes GH-7859.

# 00113b95 21-Dec-2021 Joe Watkins

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
socket: ancillary credentials build fix for non linux systems.


Revision tags: php-8.1.0
# 51647eb2 21-Nov-2021 David Carlier

socket: ancillary credentials build fix for non linux systems.

for systems using SO_PASSCRED sockopt flag but not using ucred struct.

Revision tags: php-7.3.33, php-7.3.32, php-7.3.31, php-7.3.30, php-7.3.29
# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...

Revision tags: php-7.3.28, php-7.3.27, php-7.3.26, php-7.3.26RC1
# e074e029 24-Nov-2020 Calvin Buckley

sockets: Fix variable/macro name collision on AIX

The name "rem_size" is used by a macro in a system header on AIX,
specifically `sys/xmem.h`. Without changing the name, you get the

sockets: Fix variable/macro name collision on AIX

The name "rem_size" is used by a macro in a system header on AIX,
specifically `sys/xmem.h`. Without changing the name, you get the
name mangled like so:

```
In file included from /usr/include/sys/uio.h:92:0,
from /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include-fixed-7.1/sys/socket.h:83,
from /usr/include/sys/syslog.h:151,
from /usr/include/syslog.h:29,
from /home/calvin/rpmbuild/BUILD/php-8.0.0RC5/main/php_syslog.h:27,
from /home/calvin/rpmbuild/BUILD/php-8.0.0RC5/main/php.h:318,
from /home/calvin/rpmbuild/BUILD/php-8.0.0RC5/ext/sockets/sendrecvmsg.c:17:
/home/calvin/rpmbuild/BUILD/php-8.0.0RC5/ext/sockets/sendrecvmsg.c: In function 'zif_socket_cmsg_space':
/home/calvin/rpmbuild/BUILD/php-8.0.0RC5/ext/sockets/sendrecvmsg.c:298:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
size_t rem_size = ZEND_LONG_MAX - entry->size;
^
/home/calvin/rpmbuild/BUILD/php-8.0.0RC5/ext/sockets/sendrecvmsg.c:298:10: error: expected expression before '.' token
/home/calvin/rpmbuild/BUILD/php-8.0.0RC5/ext/sockets/sendrecvmsg.c:299:18: error: 'u2' undeclared (first use in this function)
size_t n_max = rem_size / entry->var_el_size;
^
/home/calvin/rpmbuild/BUILD/php-8.0.0RC5/ext/sockets/sendrecvmsg.c:299:18: note: each undeclared identifier is reported only once for each function it appears in
```

...because of the declaration in `sys/xmem.h`:

```
```

This just renames the variable so that it won't trip on this
definition. Tested to fix the build on IBM i PASE.

Closes GH-6453.

show more ...

Revision tags: php-7.3.25, php-7.3.25RC1, php-7.3.24, php-7.3.24RC1, php-7.3.23, php-7.3.23RC1, php-7.3.22, php-7.3.22RC1
# af64001d 05-Aug-2020 Nikita Popov

Normalize error message capitalization

# 25d849d4 05-Aug-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix memory leak on socket_sendmsg() / socket_recvmsg() error


# 3b86be23 05-Aug-2020 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix memory leak on socket_sendmsg() / socket_recvmsg() error


# 6a1bd57d 05-Aug-2020 Nikita Popov

Fix memory leak on socket_sendmsg() / socket_recvmsg() error

Revision tags: php-7.3.21
# 77172c22 27-Jul-2020 Máté Kocsis

Convert resources to objects in ext/sockets

Closes GH-5900.

# 65713aad 01-Aug-2020 Santiago M. Mola

Fix #79923: fix socket_set_option_bindtodevice test

Closes GH-5924.

Revision tags: php-7.3.21RC1, php-7.3.20, php-7.3.20RC1, php-7.3.19, php-7.4.7RC1, php-7.3.19RC1, php-7.3.18RC1
# 0b990175 21-Apr-2020 George Peter Banyard

Fix error message in ext/socket

Revision tags: php-7.2.30, php-7.3.17, php-7.3.17RC1, php-7.3.18, php-7.3.16, php-7.3.16RC1, php-7.3.15RC1, php-7.3.15, php-7.3.14
# 7ff8eaa5 10-Jan-2020 George Peter Banyard

Promote warnings to Errors in sockets's extension.

# adea221b 14-Apr-2020 Guillaume Charifi

Improve socket cmsg space handling.

This should also fix the null pointer arithmetic warning on MacOS as we don't depend on whack code written by Apple.

Closes GH-5387

# d1764ca3 15-Jan-2020 Máté Kocsis

Make error messages more consistent by fixing capitalization

Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.

Revision tags: php-7.3.14RC1
# aadd3aae 03-Jan-2020 Máté Kocsis

Use RETURN_THROWS() in various places

# bbcfa66e 03-Jan-2020 Máté Kocsis

Use RETURN_THROWS() after zend_fetch_resource*()

# 34570372 31-Dec-2019 Máté Kocsis

Use RETURN_THROWS() during ZPP in most of the extensions

Except for some bigger ones: reflection, sodium, spl

Revision tags: php-7.3.13, php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4
# 77bd1ce6 12-Oct-2019 Christoph M. Becker

Just return after exception has been thrown

Revision tags: php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3
# 5d6e923d 24-Sep-2019 Gabriel Caruso

Remove mention of PHP major version in Copyright headers

Closes GH-4732.

Revision tags: php-7.2.23, php-7.3.10
# f5b9cc4b 21-Sep-2019 Christoph M. Becker

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix length of key passed to zend_hash_str_find_ptr


# 33e556fa 21-Sep-2019 Christoph M. Becker

Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
Fix length of key passed to zend_hash_str_find_ptr


123