History log of /PHP-7.4/ext/standard/tests/file/bug81145.phpt (Results 1 – 2 of 2)
Revision Date Author Comments
# 99e7c5ce 17-Jun-2021 Christoph M. Becker

Fix test in case fallocate(1) is available, but fails

That happens on Travis s390x for whatever reasons. Thus, instead of
checking for `fallocate -h`, we attempt the real allocation and

Fix test in case fallocate(1) is available, but fails

That happens on Travis s390x for whatever reasons. Thus, instead of
checking for `fallocate -h`, we attempt the real allocation and skip if
that fails.

show more ...


# 2555efad 17-Jun-2021 Christoph M. Becker

Fix #81145: copy() and stream_copy_to_stream() fail for +4GB files

When mapping the file, we need to pass the proper `dwFileOffsetHigh`
instead of `0`.

Co-authored-by: Nikita Po

Fix #81145: copy() and stream_copy_to_stream() fail for +4GB files

When mapping the file, we need to pass the proper `dwFileOffsetHigh`
instead of `0`.

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>

Closes GH-7158.

show more ...