]> git.pld-linux.org Git - packages/texinfo.git/blob - texinfo-fix.patch
- release 1.
[packages/texinfo.git] / texinfo-fix.patch
1 --- texinfo-3.12/util/install-info.c.fix        Thu Sep 24 14:59:11 1998
2 +++ texinfo-3.12/util/install-info.c    Thu Sep 24 15:01:09 1998
3 @@ -1019,7 +1019,7 @@
4          break;
5  
6        filled += nread;
7 -      if (filled == data_size)
8 +      if (filled >= data_size - 1)
9          {
10            data_size *= 2;
11            data = (char *) xrealloc (data, data_size);
12 @@ -1061,7 +1061,7 @@
13      {
14        if (lineflag)
15          {
16 -          if (filled == lines_allocated)
17 +          if (filled == lines_allocated - 1)
18              {
19                lines_allocated *= 2;
20                lines = (struct line_data *) xrealloc (lines, lines_allocated * sizeof (struct line_data));
This page took 0.08463 seconds and 3 git commands to generate.