Gnulib module: link
Portability problems fixed by Gnulib:
- This function is missing on some platforms:
mingw, MSVC 9.
- This function fails to reject trailing slashes on non-directories on
FreeBSD 7.2, Solaris 11 2010-11, Cygwin 1.5.x.
- When the second argument is a dangling symlink, some platforms follow
that link and create the destination rather than failing:
Portability problems not fixed by Gnulib:
- When the first argument is a symlink, some platforms create a
hard-link to what the symlink referenced, rather than to the symlink
itself. Use ‘linkat’ to force a particular behavior.