History log of /PHP-8.4/ext/standard/filestat.c (Results 1 – 25 of 292)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 3fbca7fb 24-Jun-2024 Arnaud Le Blanc

Support sysconf(_SC_GETPW_R_SIZE_MAX) == -1 (#13922)


# f1097958 08-Jun-2024 Peter Kokot

Sync HAVE_GRP_H definition (#14514)

This syncs the HAVE_GRP_H definition on Windows (manually defined) and
Autotools (checked with AC_CHECK_HEADERS):
HAVE_GRP_H is is either undefine

Sync HAVE_GRP_H definition (#14514)

This syncs the HAVE_GRP_H definition on Windows (manually defined) and
Autotools (checked with AC_CHECK_HEADERS):
HAVE_GRP_H is is either undefined or defined to value 1.

show more ...


# 58f3b676 07-Jun-2024 Peter Kokot

Replace WINDOWS with PHP_WIN32 in ext/standard/filestat.c (#14464)

The WINDOWS symbol is project defined symbol in most cases and can be
replaced with PHP_WIN32 in this case at this poin

Replace WINDOWS with PHP_WIN32 in ext/standard/filestat.c (#14464)

The WINDOWS symbol is project defined symbol in most cases and can be
replaced with PHP_WIN32 in this case at this point.

show more ...


# 5e8c992c 23-Sep-2023 Jakub Zelenka

Reduce impact of stream file path check in filestat

Fix for #76857 introduced slight perf regression so this is an attempt
to fix it. The idea is to re-use stream path check from ZendAcc

Reduce impact of stream file path check in filestat

Fix for #76857 introduced slight perf regression so this is an attempt
to fix it. The idea is to re-use stream path check from ZendAccelerator
that should be quicker than strstr.

Signed-off-by: Jakub Zelenka <bukka@php.net>

show more ...


# 4e7ab147 28-Aug-2023 Jakub Zelenka

Small tyding up of filestat code


# 31833e6c 28-Aug-2023 Jakub Zelenka

Expand file path in file stat only for wrapper path (#12068)


# 766cac07 28-Aug-2023 Jakub Zelenka

Fix bug #76857: Can read "non-existant" files

This change makes checked and opened file consistent in a way that it is
using real path for stat operation in the same way like it is used

Fix bug #76857: Can read "non-existant" files

This change makes checked and opened file consistent in a way that it is
using real path for stat operation in the same way like it is used for
open.

Closes GH-12067

show more ...


# a7f70223 07-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Avoid copying the stat buffer on a cache hit

Closes GH-11628.


# d5ad7510 08-Jun-2023 George Peter Banyard

More usage of known zend_str instead of C string (#11381)


# dbf54e1a 09-Nov-2022 George Peter Banyard

Use zend_result return type instead of innacurate ones


# 726d595e 09-Nov-2022 George Peter Banyard

Remove code for OS2

The last release of OS2 was in December 2021, so 20 years ago. Remove this effectively dead code


Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23, php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3, php-8.2.0beta2, php-8.1.9, php-8.0.22, php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1, php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1, php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30, php-8.1.7RC1, php-8.0.20RC1
# 926407f2 13-May-2022 George Peter Banyard

Fix some MSAN complaints under Clang (#8553)


Revision tags: php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17, php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28, php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1, php-8.0.14, php-8.1.1, php-7.4.27, php-8.1.1RC1, php-8.0.14RC1, php-7.4.27RC1, php-8.1.0, php-8.0.13, php-7.4.26, php-7.3.33, php-8.1.0RC6, php-7.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32, php-7.4.25, php-8.0.12, php-8.1.0RC4, php-8.0.12RC1, php-7.4.25RC1, php-8.1.0RC3, php-8.0.11, php-7.4.24, php-7.3.31, php-8.1.0RC2, php-7.4.24RC1, php-8.0.11RC1, php-8.1.0RC1, php-7.4.23, php-8.0.10, php-7.3.30, php-8.1.0beta3, php-8.0.10RC1, php-7.4.23RC1, php-8.1.0beta2, php-8.0.9, php-7.4.22, php-8.1.0beta1, php-7.4.22RC1, php-8.0.9RC1, php-8.1.0alpha3, php-7.4.21, php-7.3.29, php-8.0.8, php-8.1.0alpha2, php-7.4.21RC1, php-8.0.8RC1, php-8.1.0alpha1, php-8.0.7, php-7.4.20, php-8.0.7RC1, php-7.4.20RC1, php-8.0.6, php-7.4.19, php-7.4.18, php-7.3.28, php-8.0.5, php-8.0.5RC1, php-7.4.18RC1, php-8.0.4RC1, php-7.4.17RC1, php-8.0.3, php-7.4.16, php-8.0.3RC1, php-7.4.16RC1, php-8.0.2, php-7.4.15, php-7.3.27, php-8.0.2RC1, php-7.4.15RC2, php-7.4.15RC1, php-8.0.1, php-7.4.14, php-7.3.26, php-7.4.14RC1, php-8.0.1RC1, php-7.3.26RC1, php-8.0.0, php-7.3.25, php-7.4.13, php-8.0.0RC5, php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1, php-7.4.12, php-8.0.0RC3, php-7.3.24, php-8.0.0RC2, php-7.4.12RC1, php-7.3.24RC1, php-7.2.34, php-8.0.0rc1, php-7.4.11, php-7.3.23, php-8.0.0beta4, php-7.4.11RC1, php-7.3.23RC1, php-8.0.0beta3, php-7.4.10, php-7.3.22, php-8.0.0beta2, php-7.3.22RC1, php-7.4.10RC1, php-8.0.0beta1, php-7.4.9, php-7.2.33, php-7.3.21, php-8.0.0alpha3, php-7.4.9RC1, php-7.3.21RC1, php-7.4.8, php-7.2.32, php-8.0.0alpha2, php-7.3.20, php-8.0.0alpha1, php-7.4.8RC1, php-7.3.20RC1, php-7.4.7, php-7.3.19, php-7.4.7RC1, php-7.3.19RC1
# 5171cb43 20-May-2020 George Peter Banyard

Fix [-Wundef] warnings in standard extension


# 57ef16bb 07-Feb-2022 risner

Fix GH-8048: disk_*_space wrong for some filesystems on macOS

A macOS bug in libc statvfs(3) call truncates 64 bit elements (e.g.
f_blocks) to 32 bits. Thus, we force macOS to use statf

Fix GH-8048: disk_*_space wrong for some filesystems on macOS

A macOS bug in libc statvfs(3) call truncates 64 bit elements (e.g.
f_blocks) to 32 bits. Thus, we force macOS to use statfs.

Closes GH-8056.

show more ...


# 10f102d7 02-Oct-2021 Kamil Tekiela

Fix 'can not' in error messages


# f924e972 16-Aug-2021 Christoph M. Becker

Fix #71542: disk_total_space does not work with relative paths

For ZTS builds, we need to expand the path given to `disk_free_space()`
and `disk_total_space()` to properly support the VC

Fix #71542: disk_total_space does not work with relative paths

For ZTS builds, we need to expand the path given to `disk_free_space()`
and `disk_total_space()` to properly support the VCWD.

Closes GH-7377.

show more ...


# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...


# 46865392 02-Apr-2021 Dmitry Stogov

Attempt to fix ext/spl/tests/bug67359.phpt broken by f323baa845b51e00e8116bc55fa40400a0f70e44


# f323baa8 02-Apr-2021 Dmitry Stogov

Reduce number of stat() calls


# 13e4ce38 25-Feb-2021 Dmitry Stogov

Improve SPL directory and stat() cache using zend_srting* instead of char*


# 3e01f5af 15-Jan-2021 Nikita Popov

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool is retained as an alias.

show more ...


# 7bc7a804 02-Dec-2020 Christian Schneider

Make is_file() and friends return false when path contains 0-byte

These functions now return false silently:
is_writable, is_readable, is_executable, is_file, is_dir, is_link,
file_e

Make is_file() and friends return false when path contains 0-byte

These functions now return false silently:
is_writable, is_readable, is_executable, is_file, is_dir, is_link,
file_exists

These functions now throw a warning an return false (rather than
throwing a ValueError):
fileperms, fileinode, filesize, fileowner, filegroup, filetype,
fileatime, filemtime, filectime, lstat, stat

See also https://externals.io/message/112333.

Closes GH-6478.

show more ...


# 1e9db80d 20-May-2020 George Peter Banyard

Tweak some macro definition on Windows

Closes GH-5606


# 2c96780e 20-Aug-2020 Máté Kocsis

Fix UNKNOWN default values in ext/standard

Closes GH-6026


# 2803c8fb 07-Aug-2020 Máté Kocsis

Add all the missing parameter types to stubs

Closes GH-5955


12345678910>>...12