Bug #36365 [ReO]: scandir duplicates file name at every 65535th file

From: Date: Thu, 23 Apr 2020 09:38:04 +0000
Subject: Bug #36365 [ReO]: scandir duplicates file name at every 65535th file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-226739@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=36365&edit=1 ID: 36365 Updated by: cmb@php.net Reported by: pilhoon at gmail dot com Summary: scandir duplicates file name at every 65535th file Status: Re-Opened Type: Bug Package: Directory function related Operating System: Windows only PHP Version: * Assigned To: cmb Block user comment: N Private report: N New Comment: Unfortunately, this cannot be fixed in a PHP revision, because it requires to change the definition of struct DIR_W32[1], what would constitute an ABI break. I'll check whether a test would be viable (it'll likely be very slow). [1] <https://github.com/php/php-src/blob/php-7.4.5/win32/readdir.h#L27-L34> Previous Comments: ------------------------------------------------------------------------ [2020-04-23 08:51:53] michael dot vorisek at email dot cz Any progress on this and can this be added to tests when run on Windows? ------------------------------------------------------------------------ [2019-10-15 07:54:55] cmb@php.net Re-opening, since this issue has been re-introduced by commit 758af77[1] affecting PHP 7.2 and up. [1] <http://git.php.net/?p=php-src.git;a=commit;h=758af77e9d1c3c6e5aea365bc0d35c385278ad5a> ------------------------------------------------------------------------ [2016-07-20 11:37:22] davey@php.net Automatic comment on behalf of cmb Revision: http://git.php.net/?p=php-src.git;a=commit;h=4e8f01cb6e75e09ad7ffa5201c42d1bea2a61264 Log: Fix #36365: scandir duplicates file name at every 65535th file ------------------------------------------------------------------------ [2015-08-04 20:54:49] ab@php.net Automatic comment on behalf of cmb Revision: http://git.php.net/?p=php-src.git;a=commit;h=4e8f01cb6e75e09ad7ffa5201c42d1bea2a61264 Log: Fix #36365: scandir duplicates file name at every 65535th file ------------------------------------------------------------------------ [2015-07-27 23:07:55] cmb@php.net Automatic comment on behalf of cmb Revision: http://git.php.net/?p=php-src.git;a=commit;h=4e8f01cb6e75e09ad7ffa5201c42d1bea2a61264 Log: Fix #36365: scandir duplicates file name at every 65535th file ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=36365 -- Edit this bug report at https://bugs.php.net/bug.php?id=36365&edit=1

« previous php.bugs (#226739) next »