php-src/win32/build
Christoph M. Becker edcd6cc564
gai_strerror() is not thread-safe on Windows (GH-15568)
First we refactor to have only a single usage of `PHP_GAI_STRERROR()`
left; then we drop the macro in favor of calling the different
functions conditionally in an ad-hoc style.

This is necessary because the return value of `php_win32_error_to_msg`
needs to be freed by the caller.

The error messages are no more inline with other error messages, since
`gai_strerror()` apparently always appends a period and a space.

We also properly configure IPv4/v6 on Windows.  Since WSPiApi.h has been
created in 2000, so we can safely assume that it is available everywhere
nowadays.  Furthermore, `gai_strerror()` is available regardless of
whether there is IPv6 support.
2024-09-08 16:16:40 +02:00
..
buildconf.js Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
config.w32 gai_strerror() is not thread-safe on Windows (GH-15568) 2024-09-08 16:16:40 +02:00
config.w32.h.in Refactor HAVE_SQLDATASOURCES check (#15222) 2024-08-04 11:57:01 +02:00
config.w32.phpize.in Update http links to https and sync www.php.net URLs (#14854) 2024-07-07 04:23:08 +02:00
configure.bat Fix #79146: cscript can fail to run on some systems 2020-01-21 11:53:11 +01:00
configure.tail Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
confutils.js Fix typo (#15780) 2024-09-07 15:25:02 +02:00
cppcheck_suppress.txt Add basic cppcheck suppressions file 2018-02-19 17:43:49 +01:00
cppcheck_x64.cfg Zend/zend_types.h: deprecate zend_bool, zend_intptr_t, zend_uintptr_t (#10597) 2023-02-18 19:31:28 +00:00
cppcheck_x86.cfg Zend/zend_types.h: deprecate zend_bool, zend_intptr_t, zend_uintptr_t (#10597) 2023-02-18 19:31:28 +00:00
cppcheck.cfg extend ccppcheck defs 2017-03-07 01:29:45 +01:00
default.manifest [ci skip] supportedOs Id for Windows 10 and 11 are the same 2021-12-27 15:18:47 +01:00
deplister.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
Makefile Define default RE2C_FLAGS (#14615) 2024-06-24 22:09:04 +02:00
Makefile.phpize Support test-ini also for phpize builds 2022-08-26 14:25:10 +02:00
mkdist.php [skip ci] Fix typos discovered by codespell (#12228) 2023-09-18 11:07:17 +01:00
mkico.bat Build/Windows: Update the Windows icon as svg and build derivatives from it 2024-07-16 14:47:31 +02:00
mkico.sh Sync file permissions 2024-08-02 02:39:52 +02:00
php-classic.svg Build/Windows: Update the Windows icon as svg and build derivatives from it 2024-07-16 14:47:31 +02:00
php.ico Build/Windows: Update the Windows icon as svg and build derivatives from it 2024-07-16 14:47:31 +02:00
php.svg Build/Windows: Update the Windows icon as svg and build derivatives from it 2024-07-16 14:47:31 +02:00
phpize.bat Fix #79146: cscript can fail to run on some systems 2020-01-21 11:53:11 +01:00
phpize.js.in Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
registersyslog.php Use regedit to register event source 2019-07-18 09:10:48 +02:00
template.rc Use HTTPS URLs in resource files 2022-06-15 17:56:14 +02:00
wsyslog.mc Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00