* lib/sys_stat.in.h (lchown): Declare also on HP-UX.
* doc/glibc-functions/lchmod.texi: Mention the HP-UX problem.
+2020-02-08 Bruno Haible <bruno@clisp.org>
+
+ lchmod: Ensure declaration on HP-UX.
+ * lib/sys_stat.in.h (lchown): Declare also on HP-UX.
+ * doc/glibc-functions/lchmod.texi: Mention the HP-UX problem.
+
2020-02-08 Bruno Haible <bruno@clisp.org>
fchmodat: Strengthen tests.
This function is missing on some platforms:
OpenBSD 3.8, Minix 3.1.8, AIX 5.1, IRIX 6.5, Solaris 11.4, Cygwin, 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.
_GL_CXXALIAS_RPL (lchmod, int,
(char const *filename, mode_t mode));
# else
-# if !@HAVE_LCHMOD@
+# if !@HAVE_LCHMOD@ || defined __hpux
_GL_FUNCDECL_SYS (lchmod, int, (const char *filename, mode_t mode)
_GL_ARG_NONNULL ((1)));
# endif