X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-functions%2Fmkdir.texi;h=6fdc35a0785772dff55eb23f28e444d30c9ba3cb;hb=43593319b31e6b0175b8eec4433bac744959822d;hp=20d13bb83c97f76b9212f68fe63a7e251e207168;hpb=09ef7461110822a3970aa8eebcfaa740996a82f2;p=gnulib.git diff --git a/doc/posix-functions/mkdir.texi b/doc/posix-functions/mkdir.texi index 20d13bb83..6fdc35a07 100644 --- a/doc/posix-functions/mkdir.texi +++ b/doc/posix-functions/mkdir.texi @@ -2,15 +2,23 @@ @section @code{mkdir} @findex mkdir -POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/mkdir.html} +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/mkdir.html} Gnulib module: mkdir Portability problems fixed by Gnulib: @itemize @item +This function is declared in different header files (namely, @code{} or +@code{}) on some platforms: +mingw, MSVC 9. +@item When the argument ends in a slash, the function call fails on some platforms. @item +This function mistakenly succeeds on @samp{mkdir("d/./",mode)} on +some platforms: +Cygwin 1.5.x, mingw, MSVC 9. +@item On Windows platforms (excluding Cygwin), this function is called @code{_mkdir} and takes only one argument. The fix (without Gnulib) is to define a macro like this: