php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80048 Bug #69100 has not been fixed for Windows
Submitted: 2020-09-03 12:26 UTC Modified: 2020-09-03 12:26 UTC
From: cmb@php.net Assigned: cmb (profile)
Status: Closed Package: Streams related
PHP Version: 7.3Git-2020-09-03 (Git) OS: Windows only
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cmb@php.net
New email:
PHP Version: OS:

 

 [2020-09-03 12:26 UTC] cmb@php.net
Description:
------------
The code that implements `PHP_STREAM_OPTION_MMAP_API` is
unfortunately split for systems supporting mmap() and Windows, so
fixing the Windows specific code has been missed.  bug69100.phpt
succeeds on Windows, but only because the copying falls back to
directly reading from source and writing to destination; the
memory mapping fails for the second stream_copy_to_stream(), due
to the erroneous length calculation.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-09-03 12:26 UTC] cmb@php.net
-Assigned To: +Assigned To: cmb
 [2020-09-03 13:47 UTC] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=1848ccdae2b9fbdfbbe8de56f8eda8b8869c825e
Log: Fix #80048: Bug #69100 has not been fixed for Windows
 [2020-09-03 13:47 UTC] cmb@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 14:01:30 2024 UTC