-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
f3read/f3write: avoid the execution stack to list files
For large number of files, the original, recursive version of __ls_my_files() triggers a stack overflow; see issue #153 for an example. This patch replaces __ls_my_files() with a version that replaces the recursion with two scans of the target folder.
- Loading branch information
1 parent
46a5095
commit 7c5d6b7
Showing
1 changed file
with
67 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters