diff options
author | Bruno Haible <bruno@clisp.org> | 2022-06-22 01:43:52 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2022-06-22 01:43:52 +0200 |
commit | 2f1bb5913edea1ae76d365b18d73c30f1e33a034 (patch) | |
tree | 59a091a71d1927ead359a6335cd362b0e0bcdc0b /ChangeLog | |
parent | e67a519439200086ba122678807b4831fbeb8ac7 (diff) | |
download | gnulib-2f1bb5913edea1ae76d365b18d73c30f1e33a034.tar.gz |
chmod: New module.
* lib/sys_stat.in.h (chmod): Declare when GNULIB_CHMOD is 1.
* lib/chmod.c: New file, based on lib/lchmod.c.
* m4/chmod.m4: New file, based on m4/fchmodat.m4.
* m4/sys_stat_h.m4 (gl_SYS_STAT_H): Test whether chmod is declared.
(gl_SYS_STAT_H_REQUIRE_DEFAULTS): Initialize GNULIB_CHMOD.
(gl_SYS_STAT_H_DEFAULTS): Initialize REPLACE_CHMOD.
* modules/sys_stat (Makefile.am): Substitute GNULIB_CHMOD,
REPLACE_CHMOD.
* modules/chmod: New file, based on modules/lchmod.
* doc/posix-functions/chmod.texi: Mention the new module and the
problems on IRIX and Windows.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,18 @@ +2022-06-22 Bruno Haible <bruno@clisp.org> + + chmod: New module. + * lib/sys_stat.in.h (chmod): Declare when GNULIB_CHMOD is 1. + * lib/chmod.c: New file, based on lib/lchmod.c. + * m4/chmod.m4: New file, based on m4/fchmodat.m4. + * m4/sys_stat_h.m4 (gl_SYS_STAT_H): Test whether chmod is declared. + (gl_SYS_STAT_H_REQUIRE_DEFAULTS): Initialize GNULIB_CHMOD. + (gl_SYS_STAT_H_DEFAULTS): Initialize REPLACE_CHMOD. + * modules/sys_stat (Makefile.am): Substitute GNULIB_CHMOD, + REPLACE_CHMOD. + * modules/chmod: New file, based on modules/lchmod. + * doc/posix-functions/chmod.texi: Mention the new module and the + problems on IRIX and Windows. + 2022-06-21 Bruno Haible <bruno@clisp.org> lchmod: Simplify. |