Mercurial > hg > octave-lojdl > gnulib-hg
view modules/dirent-safer @ 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 | a126d5b22410 |
children | feefe0d50259 |
line wrap: on
line source
Description: Directory functions that avoid clobbering STD{IN,OUT,ERR}_FILENO. Files: lib/dirent--.h lib/dirent-safer.h lib/opendir-safer.c m4/dirent-safer.m4 Depends-on: dirent dirfd unistd-safer configure.ac: gl_DIRENT_SAFER gl_MODULE_INDICATOR([dirent-safer]) Makefile.am: Include: "dirent-safer.h" License: GPL Maintainer: Eric Blake