]> Savannah Git Hosting - gnulib.git/commit
fopen-gnu: New module.
authorBruno Haible <bruno@clisp.org>
Sun, 24 May 2020 18:38:53 +0000 (20:38 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 24 May 2020 19:20:45 +0000 (21:20 +0200)
commit10cb4be2a2114dd6fff347acc9841d7904636adf
tree27cd0e13406412448ba2e4097d89780f66bf889a
parented8d8e847ab8c26165eaf8b446aee78c493dfce3
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.
ChangeLog
doc/posix-functions/fopen.texi
lib/fopen.c
m4/fopen.m4
modules/fopen-gnu [new file with mode: 0644]