]> Savannah Git Hosting - gnulib.git/commit
creat: New module.
authorBruno Haible <bruno@clisp.org>
Sun, 15 Sep 2019 15:41:29 +0000 (17:41 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 15 Sep 2019 15:41:29 +0000 (17:41 +0200)
commitc5f7c7c69b3b986c49930c1c7ac37c552a3be738
tree154ad65d2faf2341dae38d9004ae457327cc4f32
parent9e75623a64a07215f2c7811e0356697d6df10fa2
creat: New module.

* lib/fcntl.in.h (creat): New declaration.
* lib/creat.c: New file, based on lib/open.c.
* m4/creat.m4: New file.
* m4/open-slash.m4: New file, extracted from m4/open.m4.
* m4/open.m4 (gl_FUNC_OPEN): Move trailing-slash test to open-slash.m4.
Invoke gl_OPEN_TRAILING_SLASH_BUG.
* modules/open (Files): Add m4/open-slash.m4.
* m4/fcntl_h.m4 (gl_FCNTL_H_DEFAULTS): Initialize GNULIB_CREAT,
REPLACE_CREAT.
* modules/fcntl-h (Makefile.am): Substitute GNULIB_CREAT, REPLACE_CREAT.
* modules/creat: New file.
* tests/test-fcntl-h-c++.cc (creat): Check signature.
* doc/posix-functions/creat.texi: Mention the new module.
12 files changed:
ChangeLog
doc/posix-functions/creat.texi
lib/creat.c [new file with mode: 0644]
lib/fcntl.in.h
m4/creat.m4 [new file with mode: 0644]
m4/fcntl_h.m4
m4/open-slash.m4 [new file with mode: 0644]
m4/open.m4
modules/creat [new file with mode: 0644]
modules/fcntl-h
modules/open
tests/test-fcntl-h-c++.cc