Download & Extend

Set time limits when dealing with the file system

Project:Boost
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

boost_count_all_files() can take way too long; abort count if longer then 10 seconds.

Comments

#1

Status:active» needs review

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.

AttachmentSize
boost-621870.patch 3.64 KB

#2

Status:needs review» fixed

committed

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here