diff options
author | Bruno Haible <bruno@clisp.org> | 2020-05-24 20:38:53 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-05-24 21:20:45 +0200 |
commit | 10cb4be2a2114dd6fff347acc9841d7904636adf (patch) | |
tree | 27cd0e13406412448ba2e4097d89780f66bf889a /ChangeLog | |
parent | ed8d8e847ab8c26165eaf8b446aee78c493dfce3 (diff) | |
download | gnulib-10cb4be2a2114dd6fff347acc9841d7904636adf.tar.gz |
fopen-gnu: New module.
Suggested by Tim Rühsen <tim.ruehsen@gmx.de> in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-05/msg00119.html>.
* lib/fopen.c (rpl_fopen): When the fopen-gnu module is enabled and the
mode contains an 'x' or 'e' flag, use open() followed by fdopen().
* m4/fopen.m4 (gl_FUNC_FOPEN_GNU): New macro.
* modules/fopen-gnu: New file.
* doc/posix-functions/fopen.texi: Document the 'fopen-gnu' module.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,5 +1,16 @@ 2020-05-24 Bruno Haible <bruno@clisp.org> + fopen-gnu: New module. + Suggested by Tim Rühsen <tim.ruehsen@gmx.de> in + <https://lists.gnu.org/archive/html/bug-gnulib/2020-05/msg00119.html>. + * lib/fopen.c (rpl_fopen): When the fopen-gnu module is enabled and the + mode contains an 'x' or 'e' flag, use open() followed by fdopen(). + * m4/fopen.m4 (gl_FUNC_FOPEN_GNU): New macro. + * modules/fopen-gnu: New file. + * doc/posix-functions/fopen.texi: Document the 'fopen-gnu' module. + +2020-05-24 Bruno Haible <bruno@clisp.org> + open, openat: Really support O_CLOEXEC. * lib/open.c (open): When have_cloexec is still undecided, do pass a O_CLOEXEC flag to orig_open. |