aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xtool/ifchange2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d42ec41428..0c8e5a6929 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jun 17 13:04:01 2013 Akinori MUSHA <knu@iDaemons.org>
+
+ * tool/ifchange (until): Fix the condition, although harmless in
+ this case.
+
Mon Jun 17 11:50:29 2013 Koichi Sasada <ko1@atdot.net>
* gc.c (gc_mark_maybe): added. check `is_pointer_to_heap()' and
diff --git a/tool/ifchange b/tool/ifchange
index c54b8fbb03..5695e5a9b8 100755
--- a/tool/ifchange
+++ b/tool/ifchange
@@ -4,7 +4,7 @@
set -e
timestamp=
keepsuffix=
-until [ "$0" = 0 ]; do
+until [ $# -eq 0 ]; do
case "$1" in
--timestamp)
timestamp=.