Bug #80048 [Asn->Csd]: Bug #69100 has not been fixed for Windows

From: Date: Thu, 03 Sep 2020 13:47:14 +0000
Subject: Bug #80048 [Asn->Csd]: Bug #69100 has not been fixed for Windows
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-228861@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80048&edit=1 ID: 80048 Updated by: cmb@php.net Reported by: cmb@php.net Summary: Bug #69100 has not been fixed for Windows -Status: Assigned +Status: Closed Type: Bug Package: Streams related Operating System: Windows only PHP Version: 7.3Git-2020-09-03 (Git) Assigned To: cmb Block user comment: N Private report: N New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2020-09-03 12:26:01] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=80048&edit=1

« previous php.bugs (#228861) next »