Thanks to John Darrington for reporting this bug.
+Thu Nov 30 22:01:27 2006 Ben Pfaff <blp@gnu.org>
+
+ * repeat.c (do_repeat_read): Properly handle empty DO REPEAT...END
+ REPEAT block. Fixes bug #18407. Thanks to John Darrington for
+ reporting this bug.
+
Sat Oct 28 16:18:48 WST 2006 John Darrington <john@darrington.wattle.id.au>
* repeat.c: Eliminated references to extern variable getl_buf.
if (block->loop_idx >= block->loop_cnt)
return false;
block->cur_line = block->first_line;
+ if (block->cur_line == NULL)
+ return false;
}
line = block->cur_line;
+Thu Nov 30 22:01:57 2006 Ben Pfaff <blp@gnu.org>
+
+ * automake.mk: Add new test.
+
+ * tests/bugs/empty-do-repeat: New test, for bug #18407.
+
Wed Nov 22 06:28:04 2006 Ben Pfaff <blp@gnu.org>
* tests/bugs/signals.sh: Fix race condition.
tests/bugs/curtailed.sh \
tests/bugs/data-crash.sh \
tests/bugs/double-frequency.sh \
+ tests/bugs/empty-do-repeat.sh \
tests/bugs/get.sh \
tests/bugs/examine-1sample.sh \
tests/bugs/examine-missing.sh \