Mercurial > hg > octave-lojdl > gnulib-hg
view tests/unistdio/test-ulc-vasnprintf2.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 | 870029929d86 |
children |
line wrap: on
line source
#!/bin/sh # Test whether a traditional french locale is installed. : ${LOCALE_FR=fr_FR} if test $LOCALE_FR != none; then testlocale=$LOCALE_FR else if test -f /usr/bin/localedef; then echo "Skipping test: no traditional french locale is installed" else echo "Skipping test: no traditional french locale is supported" fi exit 77 fi LC_ALL=$testlocale \ ./test-ulc-vasnprintf1${EXEEXT} \ || exit 1 LC_ALL=$testlocale \ ./test-ulc-vasnprintf2${EXEEXT}