[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Other occurences of "true"
From: |
Pavel Roskin |
Subject: |
Other occurences of "true" |
Date: |
Wed, 8 Nov 2000 16:50:22 -0500 (EST) |
Hello!
ChangeLog:
* acgeneral.m4 (_AC_COMPUTE_INT_COMPILE): Use ":" instead of
"true".
* tests/atgeneral.m4 (AT_INIT): Likewise.
* tests/tools.at (Syntax of the scripts): Likewise.
Regards,
Pavel Roskin
_____________________
Index: acgeneral.m4
--- acgeneral.m4 Tue Nov 7 09:34:59 2000
+++ acgeneral.m4 Wed Nov 8 16:18:11 2000
@@ -3214,13 +3214,13 @@
[# Depending upon the size, compute the lo and hi bounds.
AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) >= 0])],
[ac_lo=0 ac_try=0
- while true; do
+ while :; do
AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) <= $ac_try])],
[ac_hi=$ac_try; break],
[ac_lo=`expr $ac_try + 1`; ac_try=`expr 2 '*' $ac_try + 1`])
done],
[ac_hi=-1 ac_try=-1
- while true; do
+ while :; do
AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) >= $ac_try])],
[ac_lo=$ac_try; break],
[ac_hi=`expr $ac_try - 1`; ac_try=`expr 2 '*' $ac_try`])
Index: tests/atgeneral.m4
--- tests/atgeneral.m4 Thu Nov 2 10:22:19 2000
+++ tests/atgeneral.m4 Wed Nov 8 16:18:26 2000
@@ -114,7 +114,7 @@
at_stop_on_error=false;
# Shall we save and check stdout and stderr?
# -n sets to false
-at_check_stds=true;
+at_check_stds=:;
# Shall we
# -s sets to false, and -v to true
at_verbose=false
Index: tests/tools.at
--- tests/tools.at Fri Nov 3 11:47:33 2000
+++ tests/tools.at Wed Nov 8 16:18:26 2000
@@ -37,7 +37,7 @@
# broken /bin/sh loop equally with `false', but it makes it easier to
# test the robusteness in a good environment: just remove the `-n'.
AT_DATA(endless.sh,
-[[while true
+[[while :
do
:
done
_____________________
- Other occurences of "true",
Pavel Roskin <=