Branch
Hash :
4bdd70e3
Author :
Date :
2025-09-20T22:36:22
lchmod: Port to Android API level 36. * m4/lchmod.m4 (gl_FUNC_LCHMOD): Use gl_CHECK_FUNCS_ANDROID to check for lchmod instead of AC_CHECK_FUNCS_ONCE. * m4/lchown.m4 (gl_FUNC_LCHOWN): Likewise. * doc/glibc-functions/lchmod.texi (lchmod): Document that the function is missing on Android API 35 and lower.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
@node lchmod
@subsection @code{lchmod}
@findex lchmod
Gnulib module: lchmod
@mindex lchmod
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
OpenBSD 7.5, Minix 3.1.8, AIX 5.1, Solaris 11.4, Cygwin 2.9, mingw, MSVC 14, Android API level 35.
@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