Bug #36365 [Csd->ReO]: scandir duplicates file name at every 65535th file
| From: | cmb@php.net | Date: | Tue, 15 Oct 2019 07:54:55 +0000 |
| Subject: | Bug #36365 [Csd->ReO]: scandir duplicates file name at every 65535th file | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-223207@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: Closed
+Status: Re-Opened
Type: Bug
Package: Directory function related
Operating System: Windows only
PHP Version: *
-Assigned To: pajoye
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
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>
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[2015-07-23 12:59:28] cmb@php.net
I've made a respective PR.
------------------------------------------------------------------------
[2015-07-23 05:59:31] cbader92 at gmail dot com
Can reproduce bug with PHP 5.5.12 (cli) (built: Apr 30 2014 11:20:58) in Windows 7 Home Premium x64,
build 7601.
I thought I was going crazy. My 100,000 files generated an array with 100,001 indexes. Took forever
to find out why my script was trying to copy more files than there were in the directory.
------------------------------------------------------------------------
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