| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
* PHP-7.4:
Fix #78296: is_file fails to detect file
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.3:
Fix #78296: is_file fails to detect file
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If we're constructing extended-length paths (i.e. paths prefixed with
`\\?\`), we have to replace all forward slashes with backward slashes,
because the former are not supported by Windows for extended-length
paths.
The more efficient and likely cleaner alternative solution would be to
cater to this in `php_win32_ioutil_normalize_path_w()` by always
replacing forward slashes, but that might break existing code. It
might be sensible to change that for `master`, though.
|
| | | |
|
| | |
| | |
| | |
| | | |
Closes GH-4732.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix signature and calls
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #78386: fstat mode has unexpected value on PHP 7.4
|
| | |
| | |
| | |
| | |
| | |
| | | |
We must not assume that any file which is not a directory is a regular
file. Therefore we employ `GetFileType()` in this case to properly
distinguish between character special, FIFO special and regular files.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix WS
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Make extension compatibility check more liberal
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Checking for the exact linker version appears to be too restrictive; it
should be fine if the tens match.
We also refactor to avoid repeating ourselves.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
file encoding cleanup: remove bom in win32 files
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These two files have been: "UTF-8 Unicode (with BOM) text".
By applying `dos2unix` on these files the BOM has been removed.
I checked the whole source code with dos2unix:
These were the only two text files affected.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This was a left over for supporting old code in PHP extensions out there.
Check is not needed anymore since this is part of C89+ standard.
Closes GH-4445
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Use regedit to register event source
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
ext/win32std is unmaintained for years, so it is highly unlikely that
it is available. We therefore use regedit instead to register the
event source. We also remove the bundled syslog.reg, since it is of no
use, unless generated for the respective installation.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Revert "Remove Windows syslog script and syslog.reg"
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit cc44bad1f6ded6a62c9bbe4d145b5b418aa775f4, since its
assumptions were not correct. Actually, the classic event logging is
still used by PHP, because Windows 7 is still to be supported for a
while. Without the respective registry entries, the event log entries
show an error message regarding missing ID descriptions.
Thanks to ab@php.net for hinting at this!
Obviously, the part depending on ext/win32std has still to be
overhauled, and further improvements are conceivable; we will address
this in due course.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
* PHP-7.4:
Fix typo
Simplify functions checks in m4
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
* PHP-7.4:
Update changelog
Remove unused build checks
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- yp_get_default_domain was part of ext/yp
- functions checks produce HAVE_function_name symbols. These checks are
currently not used in php-src neither in the extensions out there.
- Removed symbols because they are not used in the code:
- HAVE_GCVT
- HAVE_PUTENV
- HAVE_PUTENV
- HAVE_SETVBUF
- HAVE_TEMPNAM
- HAVE_SIN (sin is also defined in C89 standard)
- HAVE_SETSOCKOPT
- HAVE_LOCKF
- HAVE_ISASCII
- HAVE_YP_GET_DEFAULT_DOMAIN (and other yp extension related unused checks)
- HAVE_LINK
- HAVE_USLEEP is already defined in Windows configuration header
- HAVE_LIBBIND has not been used in php-src for a while anymore
- HAVE_GETHOSTNAME is duplicated in Windows configuration header
Closes GH-4417
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Remove win32/php_stdbool.h
|
| | |
| | |
| | |
| | |
| | |
| | | |
File usage was removed via 33fc7d77d7d0f7c85025b8aa82d62b154c4bc71f.
Closes GH-4411
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Remove unused files
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These were introduced in 504b9beae60a45e1b1e6466e97a6bd246dfc74f6
and their usages were removed via
4b3e19802385c5874eefd3ba4565f2efbc55dc96.
Closes GH-4410
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Remove Windows syslog script and syslog.reg
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These were used on old Windows systems before Vista and also were
used together with unmaintained win32std extension.
https://docs.microsoft.com/en-us/windows/win32/eventlog/event-logging
Closes GH-4409
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Remove some *.dsp/*.dsw leftovers
|
| | |
| | |
| | |
| | |
| | |
| | | |
Usage of this was removed via 4b3e19802385c5874eefd3ba4565f2efbc55dc96
Closes GH-4408
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Remove timelib outdated defines
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- TIMELIB_OMIT_STDINT is not used anymore since
https://github.com/derickr/timelib/commit/a171f99cf02baf39549ab7209e37565b8b8f6529
- HAVE_GETTIMEOFDAY was defined multiple times in Windows headers
- ext/date/lib/timelib_config.h.win32 does not seem to be used
Closes GH-4400
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #78212: Segfault in built-in webserver
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fix #78212: Segfault in built-in webserver
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since syslog's ident and facility parameters have been added to
config[1], vsyslog() segfaults on Windows, if openlog() has not been
called before. We bring back the removed lines to fix this.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=2475337bd8a0fad0dac03db3f5e7e9d331d53653>
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Remove C89 checks for signal.h and strerror
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These are part of the C89 and on today's systems not needed to be
checked anymore. This removes symbols HAVE_SIGNAL and HAVE_STRERROR.
- http://port70.net/~nsz/c/c89/c89-draft.html
- locale.h is also part of C89 but will be removed per request in PHP 8
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Implement FR #77230: Support custom CFLAGS and LDFLAGS from environment
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
While it is already possible to *set* CFLAGS and LDFLAGS (actually all
variables) from the environment for `nmake` (by passing the `/E`
option), it is not possible to *add* any (C|LD)FLAGS, which can be
useful in some cases. Instead of allowing this for `nmake`, we add
support for additional custom (C|LD)FLAGS to `configure`, similar to
how that works on Linux, so one could actually write:
````
set CFLAGS=foo & set LDFLAGS=bar & configure
````
This also allows us to use these flags during configure.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Remove not needed checks for functions
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The following functions don't need to be checked anymore since the
they are not used across the code or the symbols aren't used anymore:
- cuserid (not used)
- lrand48 (not used and removed via
6d6ef7aacc7f9b17709d2f93b70b359c75011f89)
- random (check is not used)
- srand48 (not used)
- srandom (not used)
- strdup (check is not used)
and the unused check symbols:
- HAVE_CUSERID
- HAVE_LRAND48
- HAVE_RANDOM
- HAVE_SRAND48
- HAVE_SRANDOM
- HAVE_STRDUP
Closes GH-4338
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Remove HAVE_LIMITS_H check
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The limits.h header is part of the C89 and is today available
everywhere. There is no need to check for presence of this header
anymore.
The timelib has already been patched upstream via
aae5907cb7e775f16bedf61b010b8692c12a2843
PHP extensions out there shouldn't rely on symbols defined during the
build anyway and neither they do on this particular symbol anymore.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Remove HAVE_STRCOLL check
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The strcoll function is defined in the C89 standard and should be
on today's systems always available via the <string.h> header.
https://port70.net/~nsz/c/c89/c89-draft.html#4.11.4.3
- Remove also SKIPIF strcoll check in test
|