X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=inline;f=doc%2Fposix-functions%2Frenameat.texi;h=e95f9feb4320b50e92d4f5969e335a396d90b58c;hb=07809063056aef043ba738ab8229042f1ffc9659;hp=52f3921a667c12d2404000102968221017d7df06;hpb=1b6986bdbf9454a758ed2c24f8f7d91e34e6bc75;p=gnulib.git diff --git a/doc/posix-functions/renameat.texi b/doc/posix-functions/renameat.texi index 52f3921a6..e95f9feb4 100644 --- a/doc/posix-functions/renameat.texi +++ b/doc/posix-functions/renameat.texi @@ -2,7 +2,7 @@ @section @code{renameat} @findex renameat -POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/renameat.html} +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/renameat.html} Gnulib module: renameat @@ -11,16 +11,21 @@ Portability problems fixed by Gnulib: @item This function does not reject trailing slashes on non-directories on some platforms, as in @code{renameat(fd,"file",fd,"new/")}: -Solaris 10. +Solaris 11 2010-11. @item This function ignores trailing slashes on symlinks on some platforms, such that @code{renameat(fd,"link/",fd,"new")} corrupts @file{link}: Solaris 9. @item +This function is declared in @code{} instead of @code{} +on some platforms: +Solaris 11 2010-11. +@item This function is missing on some platforms: -glibc 2.3.6, MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, AIX -5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 8, Cygwin 1.5.x, mingw, +glibc 2.3.6, MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, +AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 8, Cygwin 1.5.x, mingw, Interix 3.5, BeOS. +But the replacement function is not safe to be used in libraries and is not multithread-safe. @end itemize Portability problems not fixed by Gnulib: @@ -34,6 +39,11 @@ is counter-intuitive, so on some systems, @code{renameat} fails with @code{ENOTDIR} if either argument is a symlink with a trailing slash: glibc, OpenBSD, Cygwin 1.7. @item +After renaming a non-empty directory over an existing empty directory, +the old directory name is still visible through the @code{stat} function +for 30 seconds after the rename, on NFS file systems, on some platforms: +Linux 2.6.18. +@item This function will not rename a source that is currently opened by any process: mingw.