History log of /PHP-7.4/Zend/zend_virtual_cwd.c (Results 26 – 50 of 117)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7a7ec01a 02-Jan-2018 Xinchen Hui

year++


# ccd4716e 02-Jan-2018 Xinchen Hui

year++


# 32db45ca 15-Dec-2017 Anatol Belski

Drop unused code


# f3f6cd24 15-Dec-2017 Anatol Belski

Modernize realpath and integrate quick variant into virtual_file_ex

The slower I/O as a traditional bottleneck on Windows which is
the target of this patch. The recursive path resolution

Modernize realpath and integrate quick variant into virtual_file_ex

The slower I/O as a traditional bottleneck on Windows which is
the target of this patch. The recursive path resolution, while being
an allround solution, is expensive when it comes to the common case.
Files with proper ACLs set can be resolved in one go by usage of specific
API. Those are available since Vista, so actually can be called old. Those
simpler api is used for the cases where no CWD_EXPAND is requested. For
the cases where ACLs are improper, the existing solution based on
FindFirstFile still does good job also partially providing quirks. Cases
involing reparse tags and other non local filesystems are also partially
server by new APIs.

The approach uses both APIs - the quick one for the common case still
integrating realpath cache, and the existing one as a fallback. The tests
show the I/O load drop on the realpath resolution part due to less
system calls for the sub part resolution of paths. In most case it is
justified, as the sub parts were otherwise cached or unused as well. The
realpath() implementation in ioutil is also closer to the POSIX.

show more ...


Revision tags: php-7.2.1RC1
# 17d621e7 07-Dec-2017 Anatol Belski

Allow delete-sharing mode for CreateFile by default

This effectively allows a UNIX like semantics for deleting files
with an open handle. Some OS related limitations still persist,
b

Allow delete-sharing mode for CreateFile by default

This effectively allows a UNIX like semantics for deleting files
with an open handle. Some OS related limitations still persist,
but the Windows 95 times can be considered as definitely over.

show more ...


Revision tags: php-7.1.13RC1, php-7.0.27RC1, php-7.2.0, php-7.1.12, php-7.0.26
# 80d6eb68 17-Nov-2017 Anatol Belski

Fix unsigned comparisons and remove dead code

Fix unsigned comparison

Cleanup never executed block

Fix unsigned comparison

Fix unsigned comparison, diff can't be <

Fix unsigned comparisons and remove dead code

Fix unsigned comparison

Cleanup never executed block

Fix unsigned comparison

Fix unsigned comparison, diff can't be < 0

Fix unsigned comparison

Fix unsigned comparison

Remove dead code

show more ...


# c6720e2f 08-Nov-2017 Anatol Belski

Fixed #75384 PHP seems incompatible with OneDrive files on demand


Revision tags: php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1, php-7.1.11, php-5.6.32, php-7.2.0RC5, php-7.0.25
# 53169dc4 11-Oct-2017 Anatol Belski

Fix datatype


Revision tags: php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1, php-7.1.10, php-7.2.0RC3, php-7.0.24, php-7.2.0RC2, php-7.1.10RC1, php-7.0.24RC1, php-7.1.9, php-7.2.0RC1, php-7.0.23, php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1
# 3069ad8d 13-Aug-2017 Anatol Belski

Fixed bug #75063


Revision tags: php-7.1.8, php-7.2.0beta2, php-7.0.22
# 827284ec 27-Jul-2017 Anatol Belski

fix up porting mistakes


# 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 ...


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, php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2, php-7.1.6, php-7.2.0alpha1, php-7.0.20, php-7.1.6RC1, php-7.0.20RC1, php-7.1.5, php-7.0.19
# 6a010ad4 27-Apr-2017 Anatol Belski

Avoid unnecessary string copy

which is the case when there's no impersonation.


# 24ae8810 27-Apr-2017 Anatol Belski

get rid of two strlen calls


Revision tags: php-7.0.19RC1, php-7.1.5RC1, php-7.1.4, php-7.0.18
# ad4ef13c 07-Apr-2017 Anatol Belski

Switch to FindFirstFileEx with basic info level

That omits querying of short names, thus improving perf.


# 936e341b 03-Apr-2017 Anatol Belski

missing bits for php_sys_stat_ex so everything is handled with wide chars

rename to pathw_len


# feeb35e4 03-Apr-2017 Anatol Belski

fix possible out of bounds buffer access


Revision tags: php-7.1.4RC1, php-7.0.18RC1, php-7.1.3, php-7.0.17
# edcabf6d 12-Mar-2017 Nikita Popov

Drop unnecessary allocator return value checks


Revision tags: php-7.1.3RC1, php-7.0.17RC1, php-7.1.2, php-7.0.16, php-7.0.16RC1, php-7.1.2RC1
# 5b5130c4 31-Jan-2017 Anatol Belski

Revert "backport 51e1da6ea1e663908302e162ced1b7a8cb5aee05 into 7.0"

This reverts commit 8da87563122e4d14208b2827fd6b2807578677ec.


# 403f3524 24-Jan-2017 Anatol Belski

make length check more robust


# 8da87563 21-Jan-2017 Anatol Belski

backport 51e1da6ea1e663908302e162ced1b7a8cb5aee05 into 7.0


# 51e1da6e 21-Jan-2017 Anatol Belski

exclude debug code


# 6b6122a9 21-Jan-2017 Anatol Belski

ensure the string for conversion is \0 terminated and integrade
additional path length check


# 95406c87 20-Jan-2017 Anatol Belski

Fixed bug #73962 bug with symlink related to cyrillic directory


Revision tags: php-5.6.30, php-7.0.15
# b716a1fb 07-Jan-2017 Anatol Belski

fix edge case leak


# 0f410f80 07-Jan-2017 Anatol Belski

Fixed bug #73877 readlink() returns garbage for UTF-8 paths


12345