mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-17 12:41:05 +03:00
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>
26 lines
577 B
Plaintext
26 lines
577 B
Plaintext
@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
|