diff options
Diffstat (limited to 'Build/source/texk/bibtexu/bibtex-2.c')
-rw-r--r-- | Build/source/texk/bibtexu/bibtex-2.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/Build/source/texk/bibtexu/bibtex-2.c b/Build/source/texk/bibtexu/bibtex-2.c index 89b03bb9a53..dfa889a7f90 100644 --- a/Build/source/texk/bibtexu/bibtex-2.c +++ b/Build/source/texk/bibtexu/bibtex-2.c @@ -2254,16 +2254,17 @@ BEGIN if (Max_Cites > Max_Strings) bad = 10 * bad + 8; - if (Ent_Str_Size > Buf_Size) - bad = 10 * bad + 9; - /* - ** The following check has been removed because glob_str_size can - ** now dynamically changed, which makes it possible that this test - ** fails without a real problem. + ** The following checks have been removed because + ** Buf_Size can be dynamically changed, whereas + ** Ent_Str_Size and Glob_Str_Size are maximum values + ** which are constants. + ** + ** if (Ent_Str_Size > Buf_Size) + ** bad = 10 * bad + 9; ** - ** if (Glob_Str_Size > Buf_Size) - ** bad = 100 * bad + 11; + ** if (Glob_Str_Size > Buf_Size) + ** bad = 100 * bad + 11; */ /*^^^^^^^^^^^^^^^^^^^^^^^^^^ END OF SECTION 17 ^^^^^^^^^^^^^^^^^^^^^^^^^^^*/ |