]> Savannah Git Hosting - gnulib.git/commit
chmod: New module.
authorBruno Haible <bruno@clisp.org>
Tue, 21 Jun 2022 23:43:52 +0000 (01:43 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 31 Aug 2022 23:14:54 +0000 (01:14 +0200)
commit1e018331e5c889cd8b7ed2f2cbf0ba0e8cbb947f
tree8046d198720d88be7b0126aa22e61fe9ae6c7578
parent8ae038bc6cd53d7a2ba9c1c7539f3a965f95b05f
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.
ChangeLog
doc/posix-functions/chmod.texi
lib/chmod.c [new file with mode: 0644]
lib/sys_stat.in.h
m4/chmod.m4 [new file with mode: 0644]
m4/sys_stat_h.m4
modules/chmod [new file with mode: 0644]
modules/sys_stat