]> Savannah Git Hosting - gnulib.git/commit
fchmodat: Work around trailing slash bug in fchmodat() on AIX 7.2.
authorBruno Haible <bruno@clisp.org>
Sat, 9 Jan 2021 07:20:17 +0000 (08:20 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 9 Jan 2021 07:20:17 +0000 (08:20 +0100)
commitc738b11c840efa0b75df5ae28b915b8b59bbff6e
treebfab2cdffbd453689abb223d45787fa41bdb6b32
parent711098617fea3674aada0f1aee583d29cc47bfa7
fchmodat: Work around trailing slash bug in fchmodat() on AIX 7.2.

* m4/fchmodat.m4 (gl_FUNC_FCHMODAT): In the test whether fchmodat works,
also test for the trailing slashes behaviour. Define
HAVE_NEARLY_WORKING_FCHMODAT if this is the only missing feature.
* lib/fchmodat.c (fchmodat): If HAVE_NEARLY_WORKING_FCHMODAT, handle
trailing slashes here.
* modules/fchmodat (Depends-on): Sort by condition, not alphabetically.
* doc/posix-functions/fchmodat.texi: Document the AIX bug.
ChangeLog
doc/posix-functions/fchmodat.texi
lib/fchmodat.c
m4/fchmodat.m4
modules/fchmodat