New module 'fchownat', split off from module 'openat'.
authorBruno Haible <bruno@clisp.org>
Tue, 1 Nov 2011 10:01:10 +0000 (11:01 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 1 Nov 2011 10:07:09 +0000 (11:07 +0100)
commitf2c567087196c591677b4542e6f208f37892ec0f
treec4876d93805bd44e233adc9d466cbbe4dff7fce7
parent4e647944bd613bb7b419779881b5f3cb053f2869
New module 'fchownat', split off from module 'openat'.

* lib/openat.h (chownat, lchownat): Enable only if GNULIB_FCHOWNAT is
defined.
* m4/fchownat.m4: New file, extracted from m4/openat.m4.
* m4/openat.m4 (gl_FUNC_OPENAT): Don't set GNULIB_FCHOWNAT. Don't
invoke gl_FUNC_FCHOWNAT.
(gl_FUNC_FCHOWNAT_DEREF_BUG, gl_FUNC_FCHOWNAT_EMPTY_FILENAME_BUG,
gl_FUNC_FCHOWNAT): Moved to m4/fchownat.m4.
* modules/fchownat: New file, extracted from modules/openat.
* modules/openat (Files): Remove lib/fchownat.c.
(Depends-on): Remove lchown.
(configure.ac): Remove AC_LIBOBJ of fchownat.
* modules/fchownat-tests: New file, extracted from modules/openat-tests.
* modules/openat-tests (Files): Remove tests/test-fchownat.c,
tests/test-chown.h, tests/test-lchown.h, tests/nap.h.
(Depends-on): Remove mgetgroups, usleep, stat-time.
(configure.ac): Remove test for getegid.
(Makefile.am): Remove rules for test-fchownat.
* doc/posix-functions/fchownat.texi: Mention module 'fchownat' instead
of module 'openat'.
* NEWS: Mention the change.
ChangeLog
NEWS
doc/posix-functions/fchownat.texi
lib/openat.h
m4/fchownat.m4 [new file with mode: 0644]
m4/openat.m4
modules/fchownat [new file with mode: 0644]
modules/fchownat-tests [new file with mode: 0644]
modules/openat
modules/openat-tests