Mercurial > hg > octave-lojdl > gnulib-hg
view tests/test-pipe-filter-ii1.sh @ 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 | 8de86f9d0def |
children |
line wrap: on
line source
#!/bin/sh # Find a 'tr' program that supports character ranges in the POSIX syntax. # Solaris /usr/bin/tr does not. if test -f /usr/xpg6/bin/tr; then TR=/usr/xpg6/bin/tr else if test -f /usr/xpg4/bin/tr; then TR=/usr/xpg4/bin/tr else TR=tr fi fi # A small file. ./test-pipe-filter-ii1${EXEEXT} ${TR} "${srcdir}/test-pipe-filter-ii1.sh" || exit 1 # A medium-sized file. ./test-pipe-filter-ii1${EXEEXT} ${TR} "${srcdir}/test-pipe-filter-ii1.c" || exit 1 # A large file. ./test-pipe-filter-ii1${EXEEXT} ${TR} "${srcdir}/test-vasnprintf-posix.c" || exit 1