Jon Anglin <jang...@fortresgrand.com> added the comment:

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);

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9752>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to