Hash :
24a6037a
Author :
Date :
2009-11-10T07:59:39
symlink: detect FreeBSD bug symlink(name,"dangling/") mistakenly created a symlink at the target of "dangling". * m4/symlink.m4 (gl_FUNC_SYMLINK): Also detect FreeBSD bug with slash on symlink. * doc/posix-functions/symlink.texi (symlink): Document the bug. * tests/test-symlink.h (test_symlink): Enhance test. Signed-off-by: Eric Blake <ebb9@byu.net>
@node symlink
@section @code{symlink}
@findex symlink
POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/symlink.html}
Gnulib module: symlink
Portability problems fixed by Gnulib:
@itemize
@item
On some systems, @code{symlink(value,"name/")} mistakenly creates a
symlink:
FreeBSD 7.2, Solaris 9
@item
This function is missing on some platforms; however, the replacement
always fails with @code{EPERM}:
mingw.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
Some file systems do not support symbolic links.
@end itemize