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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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-2021 The PHP Group
All rights reserved.
Last updated: Tue Apr 13 04:01:23 2021 UTC