+Thu Aug 29 14:31:22 CDT 2002 Adam Heath <doogie@debian.org>
+
+ * lib/parse.c: Check for eof before we getc(), not after.
+
Sat Aug 24 15:36:41 CDT 2002 Adam Heath <doogie@debian.org>
* scripts/install-info.pl: Previous install-infos(before 1.10) handled
for (;;) {
if (c == '\n' || c == MSDOS_EOF_CHAR) {
lno++;
- c= getc_mmap(dataptr);
if (EOF_mmap(dataptr, endptr)) break;
+ c= getc_mmap(dataptr);
/* Found double eol, or start of new field */
if (EOF_mmap(dataptr, endptr) || c == '\n' || !isspace(c)) break;
ungetc_mmap(c,dataptr, data);