destination directory, as in @code{rename("dir","new/")}:
NetBSD 1.6.
@item
-This function does not reject trailing slashes on non-directories on
-some platforms, as in @code{rename("file","new/")}:
+This function does not reject trailing slashes on the destination for
+non-directories on some platforms, as in @code{rename("file","new/")}:
Solaris 10, Cygwin 1.5.x, mingw.
@item
+This function does not reject trailing slashes on symlinks to
+non-directories on some platforms, as in
+@code{rename("link-to-file/","f")}:
+FreeBSD 7.2.
+@item
This function ignores trailing slashes on symlinks on some platforms,
such that @code{rename("link/","new")} corrupts @file{link}:
Solaris 9.
@item
This function will not always replace an existing destination on some
platforms:
-mingw.
+Cygwin 1.5.x, mingw.
+However, the replacement is not atomic for directories, and may end up
+losing the empty destination if the source could not be renamed.
@item
This function mistakenly allows names ending in @samp{.} or @samp{..}
on some platforms: