Index: src/libchcore/TLocalFilesystem.cpp =================================================================== diff -u -N -r548382442cbf7bed7f744b279ce3f66b54992724 -rf18d23588f370de68d37adb285dcf5e046a8d37c --- src/libchcore/TLocalFilesystem.cpp (.../TLocalFilesystem.cpp) (revision 548382442cbf7bed7f744b279ce3f66b54992724) +++ src/libchcore/TLocalFilesystem.cpp (.../TLocalFilesystem.cpp) (revision f18d23588f370de68d37adb285dcf5e046a8d37c) @@ -113,12 +113,14 @@ return ::CreateDirectory(PrependPathExtensionIfNeeded(pathDirectory).ToString(), NULL) != FALSE; else { - std::vector vComponents; + TPathContainer vComponents; pathDirectory.SplitPath(vComponents); TSmartPath pathToTest; - BOOST_FOREACH(const TSmartPath& pathComponent, vComponents) + for(size_t stIndex = 0; stIndex < vComponents.GetCount(); ++stIndex) { + const TSmartPath& pathComponent = vComponents.GetAt(stIndex); + pathToTest += pathComponent; // try to create subsequent paths if(!pathToTest.IsDrive() && !pathToTest.IsServerName())