diff options
| author | minux <minux.ma@gmail.com> | 2014-04-11 23:23:05 -0400 |
|---|---|---|
| committer | minux <minux.ma@gmail.com> | 2014-04-11 23:23:05 -0400 |
| commit | bba1c381f4f9862f0c9ce4afc7705ac9a624842f (patch) | |
| tree | 212fe16cef4381c12ec71955062f4cb00a7e056f /win32 | |
| parent | 822f4630e30bb52729ff6aa3c857c9504675107e (diff) | |
| download | tinycc-bba1c381f4f9862f0c9ce4afc7705ac9a624842f.tar.gz tinycc-bba1c381f4f9862f0c9ce4afc7705ac9a624842f.tar.bz2 | |
tiny_impdef: remove artificial length restriction.
Diffstat (limited to 'win32')
| -rw-r--r-- | win32/tools/tiny_impdef.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/tools/tiny_impdef.c b/win32/tools/tiny_impdef.c index 1739549..d12c502 100644 --- a/win32/tools/tiny_impdef.c +++ b/win32/tools/tiny_impdef.c @@ -226,7 +226,7 @@ found: for (l = 0;;) { if (n+1 >= n0) 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; goto the_end; } |
