diff -NurbBp /tmp/TCLAP/tclap-1.1.0/include/tclap/MultiArg.h src/foreign/tclap/MultiArg.h --- /tmp/TCLAP/tclap-1.1.0/include/tclap/MultiArg.h 2005-09-11 01:25:43.000000000 +0200 +++ src/foreign/tclap/MultiArg.h 2011-02-28 00:42:41.000000000 +0100 @@ -100,9 +100,7 @@ class ValueExtractor while ( is.good() ) { - if ( is.peek() != EOF ) - is >> temp; - else + if ( !(is >> temp ) ) break; valuesRead++; diff -NurbBp /tmp/TCLAP/tclap-1.1.0/include/tclap/ValueArg.h src/foreign/tclap/ValueArg.h --- /tmp/TCLAP/tclap-1.1.0/include/tclap/ValueArg.h 2005-09-11 01:25:43.000000000 +0200 +++ src/foreign/tclap/ValueArg.h 2011-02-28 00:42:41.000000000 +0100 @@ -100,9 +100,7 @@ template class ValueExtractor int valuesRead = 0; while ( is.good() ) { - if ( is.peek() != EOF ) - is >> _value; - else + if ( ! (is >> _value )) break; valuesRead++;