9 Jan
2006
9 Jan
'06
2:14 p.m.
On 09/01/06, Hendrik Belitz
I just encountered a minor problem in boost::filesystem::path which seems to be unable to deal with hidden unix directories ( == names preceeded by an dot '.' character ). Is there any way to generate a valid path object for paths like "/foo/.bar"? Trying to create such an object from a C++ string results in an exception getting thrown.
How are you creating said path? IIRC, the default name checker won't allow filenames whose leaves start with dots for portability reasons ( some OSes don't like them ). - Scott