(xundump): Rev. 1.44 broke ef_load(). Fix.
This commit is contained in:
parent
524fe1aa50
commit
10096cbf98
1 changed files with 5 additions and 0 deletions
|
@ -647,6 +647,11 @@ xundump(FILE *fp, char *file, int expected_table)
|
|||
free(fldidx);
|
||||
free(fldca);
|
||||
|
||||
/* Skip empty lines so that callers can easily check for EOF */
|
||||
while ((ch = skipfs(fp)) == '\n')
|
||||
lineno++;
|
||||
ungetc(ch, fp);
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue