Update comment.
authorBruno Haible <bruno@clisp.org>
Sat, 10 Apr 2010 23:55:23 +0000 (01:55 +0200)
committerIan Beckwith <ianb@erislabs.net>
Mon, 19 Apr 2010 15:33:43 +0000 (16:33 +0100)
(cherry picked from commit 3c79d5102b2c29f897d162543d6c0cf2d81bb0e6)

ChangeLog
lib/mkdir.c

index 667d7b0..a9c3ecb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
        mkdir: Make it work on mingw64.
        * lib/sys_stat.in.h: Include <direct.h> together with <io.h>.
+       * lib/mkdir.c: Update comment.
        Reported by Roman Donchenko (Роман Донченко) <dxdragon@yandex.ru>.
 
 2010-04-10  Jim Meyering  <meyering@redhat.com>
index b117b76..4e5928b 100644 (file)
@@ -36,7 +36,8 @@
 
 /* mingw's _mkdir() function has 1 argument, but we pass 2 arguments.
    Additionally, it declares _mkdir (and depending on compile flags, an
-   alias mkdir), only in the nonstandard io.h.  */
+   alias mkdir), only in the nonstandard includes <direct.h> and <io.h>,
+   which are included in the <sys/stat.h> override.  */
 #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
 # define mkdir(name,mode) _mkdir (name)
 # define maybe_unused _GL_UNUSED