Re: [PATCH] mkdir: alway check-for-existence

2019-06-03 Thread Corinna Vinschen
Hi Ben, I'm fine with the patch, and it's short enough not to require an entry in the CONTRIBUTORS file, but the commit msg needs some rephrasing: On Jun 3 20:31, Ben wrote: > When using either CreateDirectory or NtCreateFile when creating a directory > that already exists, these functions

[PATCH] mkdir: alway check-for-existence

2019-06-03 Thread Ben
When using either CreateDirectory or NtCreateFile when creating a directory that already exists, these functions return: ERROR_ALREADY_EXISTS However when using these function to create a directory (and all its parents) a normal use would be to start with mkdir(ā€˜/cā€™) which translates to ā€˜C:\ā€™