History log of /PHP-8.0/main/main.c (Results 126 – 150 of 1197)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.1.8, php-7.2.0beta2, php-7.0.22
# 095d763f 28-Jul-2017 Anatol Belski

remove cast


# 7b34fae7 28-Jul-2017 Anatol Belski

adjust signature and remove casts


# 0d1eeeb6 28-Jul-2017 Anatol Belski

move zend_ato*() to size_t and remove casts


# 49d9b301 26-Jul-2017 Anatol Belski

Move cwd_state and path related routines to size_t

Having `int` there is no real profit in the size or speed, while unsigned
improves security and overall integration. ZPP supplied strin

Move cwd_state and path related routines to size_t

Having `int` there is no real profit in the size or speed, while unsigned
improves security and overall integration. ZPP supplied strings can
be then accepted directly and structs can be still handled with smaller
unsigned types for size reasons, which is safe. Yet some related places
are to go.

basic move tsrm_realpath_r to size_t

fix conditions and sync with affected places

touch ocurrences of php_sys_readlink usage

follow up on phar path handling

remove duplicated check

move zend_resolve_path and related pieces to size_t

touch yet resolve path related places

remove cast

missing pieces

missing piece

yet cleanups for php_sys_readlink for ssize_t

fix wrong return

show more ...


# e5beb4e8 19-Jul-2017 Dmitry Stogov

Reset globals on startup or restart


Revision tags: php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1, php-5.6.31, php-7.0.21, php-7.1.7, php-7.2.0alpha3
# e08c0ed8 27-Jun-2017 Anatol Belski

Bug #74815 crash with a combination of INI entries at startup

TS related VCWD routines depend on CWD. Thus, a premature CWD
deactivation renders the VCWD layer unusable. Same issue seems

Bug #74815 crash with a combination of INI entries at startup

TS related VCWD routines depend on CWD. Thus, a premature CWD
deactivation renders the VCWD layer unusable. Same issue seems to
persist in versions < 7.2, just that the code path is actually unused so
the issue didn't show up. Still might make sense to backport this into
lower branches.

show more ...


# caaeb484 26-Jun-2017 Dmitry Stogov

Removed EG(valid_symbol_table). Used EG(active) instead.


Revision tags: php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2, php-7.1.6, php-7.2.0alpha1, php-7.0.20
# fb6e7187 04-Jun-2017 Anatol Belski

fix ticks init in ts build


Revision tags: php-7.1.6RC1, php-7.0.20RC1, php-7.1.5, php-7.0.19, php-7.0.19RC1, php-7.1.5RC1, php-7.1.4, php-7.0.18, php-7.1.4RC1, php-7.0.18RC1, php-7.1.3, php-7.0.17
# c6982995 04-Mar-2017 Anatol Belski

Interned strings unification for TS/NTS

Hereby, interned strings are supported in thread safe PHP. The patch
implements two types of interned strings

- interning per process, st

Interned strings unification for TS/NTS

Hereby, interned strings are supported in thread safe PHP. The patch
implements two types of interned strings

- interning per process, strings are not freed till process end
- interning per request, strings are freed at request end

There is no runtime interning.

With Opcache, all the permanent iterned strings are copied into SHM on
startup, additional copying into SHM might happen on demand.

show more ...


Revision tags: php-7.1.3RC1, php-7.0.17RC1
# f9959ee7 22-Feb-2017 Kalle Sommer Nielsen

Change PHP_OS_FAMILY slightly

* PHP_OS_FAMILY is now a macro, to allow extensions to take advantage of it, it is defined in php.h
* Values are not upper-case-first, not always uppercase.

Change PHP_OS_FAMILY slightly

* PHP_OS_FAMILY is now a macro, to allow extensions to take advantage of it, it is defined in php.h
* Values are not upper-case-first, not always uppercase. Windows is no longer just "Win", if we want the short version for testing then PHP_OS is always WINNT anyway

show more ...


Revision tags: php-7.1.2, php-7.0.16
# d53d0a5d 12-Feb-2017 Anatol Belski

refactor php_win32_get_random_bytes(), take 2

As in previous variant, locking is removed and the initialization
is done only once at process start. The CNG API turns out to be
faster

refactor php_win32_get_random_bytes(), take 2

As in previous variant, locking is removed and the initialization
is done only once at process start. The CNG API turns out to be
faster, also the initialization is less resources hungry. The
initialization part could need to be improved, if too much startup
failures are sighted in the real world usage. Though that would mean
having locking back.

The usage of CNG was already pointed out and requested in several
reports, with the further refactoring it appears to make sense and
simplify things a backward compatible way.

show more ...


# 048aec47 11-Feb-2017 Anatol Belski

Revert "refactor php_win32_get_random_bytes()"

This reverts commit 23bd7bcde03c31e2678f23f12c72c96c24800c92.

Looks like this change is unstable. If same CSP is use but multiple proc

Revert "refactor php_win32_get_random_bytes()"

This reverts commit 23bd7bcde03c31e2678f23f12c72c96c24800c92.

Looks like this change is unstable. If same CSP is use but multiple processers,
the initialization failures are possible. Thus, CryptAcquireContext in
every process, even if it won't be used at all, is not sensible. This
might actually motivate to look for better CSP APIs.

show more ...


# 23bd7bcd 11-Feb-2017 Anatol Belski

refactor php_win32_get_random_bytes()

- avoid locking
- initialize only once
- the process will fail, if no init failed


# 02991f75 11-Feb-2017 Anatol Belski

Revert "move winsock specific stuff into dllmain"

This reverts commit d94c2c796a1b032d53b382681f8413cc3d02d2da.

WSA functions are documented explicitly as unsafe for dllmain


# d94c2c79 11-Feb-2017 Anatol Belski

move winsock specific stuff into dllmain


# 1b1399c9 09-Feb-2017 Jim Zubov

Added EG(flags) - executor global flags
EG_FLAGS_IN_SHUTDOWN - is set when PHP is in shutdown state


# c61daf41 02-Feb-2017 Nikita Popov

Deprecate track_errors / $php_errormsg


Revision tags: php-7.0.16RC1, php-7.1.2RC1
# bb059fe0 25-Jan-2017 Stricted

add PHP_OS_FAMILY constant to determine on which os we are


Revision tags: php-5.6.30, php-7.0.15, php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1
# 782b84c6 05-Jan-2017 Markus Staab

updated default per proposal

TODO: adjust php.ini defaults


# 66b698c3 03-Jan-2017 Markus Staab

Increase realpath_cache_size default value


# dac6c639 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 478f119a 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 9e29f841 02-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 5fc9aa9a 18-Dec-2016 Nikita Popov

Make printf_to_smart_str(ing) the primitive printf operation

vs(tr)pprintf is now implemented in Zend on top of
printf_to_smart_str(int), which is provided as a utility function.

Make printf_to_smart_str(ing) the primitive printf operation

vs(tr)pprintf is now implemented in Zend on top of
printf_to_smart_str(int), which is provided as a utility function.

This allows us to efficiently printf to the end of a smart string.

show more ...


# 935b5cb1 27-Dec-2016 Nikita Popov

Flush stderr on win32 in cli_log_message

This allows us to unfork a bunch of tests for Windows.


12345678910>>...48