Set time limits when dealing with the file system
mikeytown2 - November 3, 2009 - 11:16
| Project: | Boost |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
boost_count_all_files() can take way too long; abort count if longer then 10 seconds.

#1
Using glob() instead of opendir(), readdir(); I've heard mixed reports of either function being faster, so I'm going with the cleaner looking one.
Patch also contains some minor code fixes as well.
#2
committed
#3
Automatically closed -- issue fixed for 2 weeks with no activity.