Mercurial > hg > octave-lojdl > gnulib-hg
view modules/passfd-tests @ 14730:f0a9a2cd267c
fclose: preserve fflush errors
Caught by gcc -Werror=unused-but-set-variable.
* lib/fclose.c (rpl_fclose): Don't lose fflush errors.
Reported by Jim Meyering.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Wed, 11 May 2011 11:35:06 -0600 |
parents | ed598c7742aa |
children |
line wrap: on
line source
Files: tests/test-passfd.c tests/macros.h Depends-on: sys_wait configure.ac: AC_CHECK_DECLS_ONCE([alarm]) AC_CHECK_FUNCS_ONCE([socketpair]) Makefile.am: TESTS += test-passfd check_PROGRAMS += test-passfd test_passfd_LDADD = $(LDADD) @LIBSOCKET@