Mercurial > octave-antonio
view build-aux/find-files-with-tests.sh @ 20148:4a41b7d426b6 stable
Fix loading of ASCII files with NA values in final column (bug #44967).
* lo-utils.cc (read_inf_nan_na): Check that last character read was not an EOF
indicator (-1) before attempting to put it back on the stream.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 01 May 2015 08:29:52 -0700 |
parents | 43e6415393ff |
children |
line wrap: on
line source
#! /bin/sh set -e GREP=${GREP:-grep} SED=${SED:-sed} srcdir="$1" shift for arg do if [ -f "$arg" ]; then file="$arg" else file="$srcdir/$arg" fi if [ "`$GREP -l '^%!' $file`" ]; then echo "$file" | $SED "s,\\$srcdir/,,"; fi done