Hash :
8f71b269
Author :
Date :
2022-06-19T23:30:01
lchmod: port back to AIX 7.2 Problem reported by Bruno Haible in: https://lists.gnu.org/r/bug-gnulib/2022-06/msg00075.html * lib/lchmod.c: Include string.h, for strlen. (lchmod): Do not depend on HAVE_READLINK since we now depend on the readlink module. Check for AIX 7.2 bug. * m4/lchmod.m4 (gl_PREREQ_LCHMOD): Do not check for readlink since we now depend on the readlink module. * modules/lchmod (Depends-on): Depend on readlink.
@node lchmod
@subsection @code{lchmod}
@findex lchmod
Gnulib module: lchmod
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
OpenBSD 6.7, Minix 3.1.8, AIX 5.1, IRIX 6.5, Solaris 11.4, Cygwin 2.9, mingw, MSVC 14, Android 9.0.
@item
This function is not declared on some platforms:
HP-UX 11.31.
@item
This function always fails with @code{errno} set to @code{ENOSYS},
even when the file is not a symbolic link:
GNU/Linux with glibc 2.31.
@item
This function does not fail when the file name argument ends in a slash
and (without the slash) names a non-directory, on some platforms:
AIX 7.2.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
Some platforms do not allow changing the access bits on symbolic
links.
@item
This function can fail with @code{errno} set to @code{EMFILE} or @code{ENFILE},
and it fails with @code{errno} set to @code{EOPNOTSUPP} if the
@file{/proc} file system is not mounted:
GNU/Linux with glibc 2.34.
@end itemize