summaryrefslogtreecommitdiff
path: root/Build/source/texk/bibtexu/bibtex-2.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-03-24 18:00:22 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-03-24 18:00:22 +0000
commit2256310fae2a2c24e5d062a51b4de574b148c738 (patch)
tree86c8326f77d1a6e08ec4cc53fd836912388bf7bf /Build/source/texk/bibtexu/bibtex-2.c
parentb43a81e1ba916e7daaf0559ae06791e720533e7e (diff)
bibtex8/bibtexu: reallocate arrays when needed, same as in bibtex
git-svn-id: svn://tug.org/texlive/trunk@17548 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/bibtexu/bibtex-2.c')
-rw-r--r--Build/source/texk/bibtexu/bibtex-2.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/Build/source/texk/bibtexu/bibtex-2.c b/Build/source/texk/bibtexu/bibtex-2.c
index 713a1a40c08..4385fa3c346 100644
--- a/Build/source/texk/bibtexu/bibtex-2.c
+++ b/Build/source/texk/bibtexu/bibtex-2.c
@@ -624,8 +624,7 @@ End_While_Label: DO_NOTHING;
glob_chr_ptr = 0;
while (glob_chr_ptr < glb_str_end[str_glb_ptr])
BEGIN
- APPEND_CHAR (global_strs[str_glb_ptr][glob_chr_ptr]);
-
+ APPEND_CHAR (GLOBAL_STRS(str_glb_ptr, glob_chr_ptr));
INCR (glob_chr_ptr);
END
@@ -2255,10 +2254,10 @@ BEGIN
if (Max_Cites > Max_Strings)
bad = 10 * bad + 8;
- if (ENT_STR_SIZE > Buf_Size)
+ if (Ent_Str_Size > Buf_Size)
bad = 10 * bad + 9;
- if (GLOB_STR_SIZE > Buf_Size)
+ if (Glob_Str_Size > Buf_Size)
bad = 100 * bad + 11;
/*^^^^^^^^^^^^^^^^^^^^^^^^^^ END OF SECTION 17 ^^^^^^^^^^^^^^^^^^^^^^^^^^^*/
@@ -2744,7 +2743,7 @@ BEGIN
num_ent_strs = 0;
num_fields = 0;
str_glb_ptr = 0;
- while (str_glb_ptr < MAX_GLOB_STRS)
+ while (str_glb_ptr < Max_Glob_Strs)
BEGIN
glb_str_ptr[str_glb_ptr] = 0;
glb_str_end[str_glb_ptr] = 0;