Fix endless loop in createDirectory().
Fix endless loop in createDirectory().

How is it supposed to work if "i" is unsigned and std::string::npos is -1 and
thus unsigned?

Anyway, "i" is now size_t like std::string::npos.

nemerle/boomerang,xujun10110/boomerang,TambourineReindeer/boomerang,nemerle/boomerang,xujun10110/boomerang,nemerle/boomerang,xujun10110/boomerang,xujun10110/boomerang,xujun10110/boomerang,nemerle/boomerang,TambourineReindeer/boomerang,nemerle/boomerang,xujun10110/boomerang,TambourineReindeer/boomerang,nemerle/boomerang,xujun10110/boomerang,nemerle/boomerang,nemerle/boomerang,TambourineReindeer/boomerang,TambourineReindeer/boomerang,xujun10110/boomerang,TambourineReindeer/boomerang,TambourineReindeer/boomerang,TambourineReindeer/boomerang