mojosetup
mojosetup copied to clipboard
MojoPlatform_mkdir() fails if dir already exists...
This bug report was migrated from our old Bugzilla tracker.
Reported in version: unspecified Reported for operating system, platform: Linux, PC
Comments on the original bug report:
On 2008-01-13 02:42:16 -0500, Ryan C. Gordon wrote:
From mailing list...
"Currently everything that uses it checks for existence in the caller before calling mkdir(). It might make more sense to have a "cantExist" argument, so MojoPlatform_mkdir() only fails if it's important to the caller that the directory not exist beforehand."
This might be important if we need to do some sort of atomic create, so add it.
--ryan.