summaryrefslogtreecommitdiff
path: root/modules/readme-release
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2011-05-02 15:00:50 -0600
committerEric Blake <eblake@redhat.com>2011-05-02 15:23:49 -0600
commitbcbcf0c59cec0e91db318eccdc564852bafa3c67 (patch)
tree90097b56044ba8fade5482dbae1eb17e8f7af5df /modules/readme-release
parent1fc3525d1fd7dafbc946dab4c754c593f448c21c (diff)
downloadgnulib-bcbcf0c59cec0e91db318eccdc564852bafa3c67.tar.gz
fflush: also replace fclose when fixing fflush
This fixes the fclose failures detected in the previous patch, but only when the GPL fflush module is also in use. That is because the need for behavior of resetting seekable input streams is much less common, and the fix more complex. The LGPLv2+ test for fclose() in isolation is relaxed to pass if fflush is not being replaced to cater to input streams. * modules/fflush (Depends-on): Add fclose. * m4/fflush.m4 (gl_FUNC_FFLUSH): Also replace fclose. * lib/fclose.c (rpl_fclose): Don't cause spurious failures on memstreams with no backing fd. * doc/posix-functions/fclose.texi (fclose): Document the use of fflush module to fix the bug. * tests/test-fclose.c (main): Relax test when fclose is used in isolation. Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'modules/readme-release')
0 files changed, 0 insertions, 0 deletions