Re: [boost] Some Boost.Filesystem problems

3 Jan
2005
3 Jan
'05
3:01 p.m.
At 04:42 PM 12/12/2004, Ben Hutchings wrote:
On a visual inspection some time back I also noted that there's no special handling for empty root directories on Windows. The problem with these is that while even an empty directory normally has entries for "." and "..", so that FindFirstFile can return something, root directories on FAT volumes (and I think NTFS as well) do not have these and Windows doesn't fake them, so FindFirstFile on an empty root returns INVALID_HANDLE_VALUE. Note that this only applies to real root directories, not to the roots of drives that are mapped to sub-directories using subst or file sharing.
Fixed in CVS. Thanks for the report, --Beman
7465
Age (days ago)
7465
Last active (days ago)
0 comments
1 participants
participants (1)
-
Beman Dawes