Mercurial > hg > octave-lojdl > gnulib-hg
view modules/xvasprintf-posix @ 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 | be869a242af0 |
children |
line wrap: on
line source
Description: vasprintf and asprintf with POSIX compatible format string interpretation and with out-of-memory checking. Also see xalloc-die. Comment: This module should not be used as a dependency from a test module, otherwise when this module occurs as a tests-related module, it will have side effects on the compilation of the 'vasnprintf' module, if that module occurs among the main modules in lib/. Files: Depends-on: xvasprintf vasprintf-posix configure.ac: Makefile.am: Include: "xvasprintf.h" License: GPL Maintainer: Bruno Haible