Re: New 2.0.31 pre patch is out

Thomas Sailer (sailer@ife.ee.ethz.ch)
Tue, 03 Jun 1997 13:31:34 +0200


> I would love it if only one more pre-patch is needed for a final
> 2.0.31 so people please test this well.

The configure script does not work for me.
function int does not accept "0" as valid answer.
I'm not sure if it is a shell utils bug however
I'm using expr (GNU sh-utils) 1.16

>From linux/scripts/Configure

function int () {
old=$(eval echo "\${$2}")
def=${old:-$3}
while :; do
readln "$1 ($2) [$def] " "$def" "$old"
if expr "$ans" : '0$\|\(-[1-9]\|[1-9]\)[0-9]*$' > /dev/null; then
This expr ^ fails if given 0

define_int "$2" "$ans"
break
else
help "$2"
fi
done
}

Tom