History log of /PHP-7.4/win32/ioutil.c (Results 26 – 50 of 58)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# ccd4716e 02-Jan-2018 Xinchen Hui

year++


# 9baf84e5 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
# 331019c5 09-Dec-2017 Anatol Belski

Use cheaper ascii conversion for mode


# f3fd860e 09-Dec-2017 Anatol Belski

Revamp fopen implementation, rely on open


# 94f16f19 08-Dec-2017 Anatol Belski

Rework mkdir impl and expose wide char variant


# 6bd18c0f 08-Dec-2017 Anatol Belski

Remove dead code


# a9a49b82 08-Dec-2017 Anatol Belski

Improve ioutil access impl and refactor tsrm_win32_access


# 2fbdaec0 07-Dec-2017 Anatol Belski

Revamp unlink() implementation and improve error handling


# 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
# 34b19387 27-Nov-2017 Anatol Belski

Fix normalized path length calculation and error handling


Revision tags: php-7.1.12, php-7.0.26, 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, php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1
# 72c008f9 28-Sep-2017 Anatol Belski

Fix mkdir() special case for path length < 260 and > 248


Revision tags: 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, php-7.1.8, php-7.2.0beta2, php-7.0.22
# 07e8bdd8 21-Jul-2017 Kalle Sommer Nielsen

Free the HMODULE handle after use


Revision tags: php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1
# e24a8012 09-Jul-2017 Anatol Belski

fix uninitialized var


# a51cb393 09-Jul-2017 Anatol Belski

fix comparison warning


# ba5df1c6 09-Jul-2017 Anatol Belski

comply with POSIX signature


Revision tags: 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, php-7.0.19RC1, php-7.1.5RC1, php-7.1.4, php-7.0.18
# 80d5c23c 31-Mar-2017 Anatol Belski

do compare on wchar's


Revision tags: php-7.1.4RC1, php-7.0.18RC1, php-7.1.3, php-7.0.17, php-7.1.3RC1, php-7.0.17RC1, php-7.1.2, php-7.0.16, php-7.0.16RC1, php-7.1.2RC1
# ec78507b 24-Jan-2017 Anatol Belski

dirname() should not normalize paths

This is the BC piece with the case where dirname() is used with an URL.


Revision tags: php-5.6.30, php-7.0.15, php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1
# dac6c639 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 9e29f841 02-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


Revision tags: php-7.1.1, php-5.6.29, php-7.0.14, php-7.1.0, php-5.6.29RC1, php-7.0.14RC1, php-7.1.0RC6, php-5.6.28, php-7.0.13, php-5.6.28RC1, php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4, php-5.6.27, php-7.0.12, php-7.1.0RC3, php-5.6.27RC1, php-7.0.12RC1, php-5.6.26, php-7.1.0RC2, php-7.0.11
# 7020e6f9 01-Sep-2016 Anatol Belski

fix leak


Revision tags: php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1
# 7ecfb4b9 29-Aug-2016 Anatol Belski

fix leak


# b415290c 28-Aug-2016 Anatol Belski

fix leak


# 92a60a67 27-Aug-2016 Anatol Belski

fix leak


Revision tags: php-7.1.0beta3, php-5.6.25, php-7.0.10, php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1
# 41d172d2 29-Jul-2016 Anatol Belski

fix and improve the ioutil cwd routine for nts

- move intermediate var to stack
- fix length calculation
- improve error code setting


123