Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-08-18 14:11:42


At 12:31 PM 8/17/2002, Thomas Witt wrote:

>When a directory iterator is used to fully traverse a directory
find_close
>is called twice with the same handle. The resulting API call does not
>return on Linux/Win2k.
>
>The problem is that find_next_file calls find_close without resetting
>handle to BOOST_INVALID_HANDLE_VALUE. I do not fully understand why
>find_next_file has to call find_close. IIUC this would be handled in
>the directory_iterator dtor anyway?

Yes, you are right on both counts. Fixed in the sandbox.

Thanks,

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk