tiny_impdef: remove artificial length restriction.
This commit is contained in:
parent
822f4630e3
commit
bba1c381f4
1 changed files with 1 additions and 1 deletions
|
|
@ -226,7 +226,7 @@ found:
|
||||||
for (l = 0;;) {
|
for (l = 0;;) {
|
||||||
if (n+1 >= n0)
|
if (n+1 >= n0)
|
||||||
p = tcc_realloc(p, n0 = n0 ? n0 * 2 : 256);
|
p = tcc_realloc(p, n0 = n0 ? n0 * 2 : 256);
|
||||||
if (!read_mem(fd, ptr - ref + l, p + n, 1) || ++l >= 80) {
|
if (!read_mem(fd, ptr - ref + l++, p + n, 1)) {
|
||||||
tcc_free(p), p = NULL;
|
tcc_free(p), p = NULL;
|
||||||
goto the_end;
|
goto the_end;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue