History log of /PHP-8.2/ext/standard/tests/file/windows_links/bug78862.phpt (Results 1 – 7 of 7)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7a411564 03-Sep-2021 Nikita Popov

Fix some more CLEAN sections


# 2ab4482d 03-Sep-2021 Nikita Popov

Fix some broken or unnecessary CLEAN sections


# 7e339a33 08-Sep-2020 Nikita Popov

Make null byte error a ValueError

Currently we treat paths with null bytes as a TypeError, which is
incorrect, and rather inconsistent, as we treat empty paths as
ValueError. We do t

Make null byte error a ValueError

Currently we treat paths with null bytes as a TypeError, which is
incorrect, and rather inconsistent, as we treat empty paths as
ValueError. We do this because the error is generated by zpp and
it's easier to always throw TypeError there.

This changes the zpp implementation to throw a TypeError only if
the type is actually wrong and throw ValueError for null bytes.
The error message is also split accordingly, to be more precise.

Closes GH-6094.

show more ...


# 960318ed 25-Feb-2020 Máté Kocsis

Change argument error message format

Closes GH-5211


# ac0853eb 29-Jan-2020 Máté Kocsis

Make type error messages more consistent

Closes GH-5092


# 90b13626 16-Dec-2019 Stanislav Malyshev

Fix tests


Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0
# 0e6c0654 23-Nov-2019 Christoph M. Becker

Fix #78862: link() silently truncates after a null byte on Windows

Since link() is supposed to accepts paths (i.e. strings without NUL
bytes), we must not accept arbitrary strings.