This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author janglin
Recipients brian.curtin, janglin, stutzbach
Date 2010-09-08.12:24:39
SpamBayes Score 0.0015533925
Marked as misclassified No
Message-id <1283948680.94.0.334579228473.issue9752@psf.upfronthosting.co.za>
In-reply-to
Content
Visual Studio ships with the source code for the CRT (\Program Files\Microsoft Visual Studio 9.0\VC\crt\src). I looked up _mkdir. It does just call CreateDirectory(path, NULL).  If no error occurs it returns zero. If an error occurs, it then converts the result of GetLastError to an appropriate errno code and returns -1.

Thus the following calls are equivalent:
    _mkdir(dirname);
    CreateDirectory(dirname, NULL);
History
Date User Action Args
2010-09-08 12:24:41janglinsetrecipients: + janglin, stutzbach, brian.curtin
2010-09-08 12:24:40janglinsetmessageid: <1283948680.94.0.334579228473.issue9752@psf.upfronthosting.co.za>
2010-09-08 12:24:39janglinlinkissue9752 messages
2010-09-08 12:24:39janglincreate