summaryrefslogtreecommitdiff
path: root/Build/source/texk/bibtex8
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2012-04-09 22:39:38 +0000
committerNorbert Preining <preining@logic.at>2012-04-09 22:39:38 +0000
commit8888656430dee2c3993747e12f5f6e6e69618fdf (patch)
tree33fa3d719831303e506910d81d474a9fa95afa61 /Build/source/texk/bibtex8
parent7f58fbcc8353d1b54446c94047b32925d6ad934b (diff)
Remove outdated test for Glob_Str_Size > Buf_Size
adjust BUF_SIZE to bibtex.ch value git-svn-id: svn://tug.org/texlive/trunk@25894 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/bibtex8')
-rw-r--r--Build/source/texk/bibtex8/ChangeLog6
-rw-r--r--Build/source/texk/bibtex8/bibtex-2.c10
-rw-r--r--Build/source/texk/bibtex8/bibtex.h2
3 files changed, 15 insertions, 3 deletions
diff --git a/Build/source/texk/bibtex8/ChangeLog b/Build/source/texk/bibtex8/ChangeLog
index 1554111be8a..26db22e9ac8 100644
--- a/Build/source/texk/bibtex8/ChangeLog
+++ b/Build/source/texk/bibtex8/ChangeLog
@@ -1,3 +1,9 @@
+2012-04-10 Norbert Preining <preining@logic.at>
+
+ * bibtex-2.c: Do not check whether Glob_Str_Size > Buf_Size,
+ since the former can be changed dynamically
+ * bibtex.h: Adjust BUF_SIZE to the value that matches bibtex.ch
+
2012-02-14 Peter Breitenlohner <peb@mppmu.mpg.de>
* bibtex.c (eoln): Accept both CR and LF as end-of-line.
diff --git a/Build/source/texk/bibtex8/bibtex-2.c b/Build/source/texk/bibtex8/bibtex-2.c
index 60dce110243..aae5ce91665 100644
--- a/Build/source/texk/bibtex8/bibtex-2.c
+++ b/Build/source/texk/bibtex8/bibtex-2.c
@@ -2212,8 +2212,14 @@ BEGIN
if (Ent_Str_Size > Buf_Size)
bad = 10 * bad + 9;
- if (Glob_Str_Size > Buf_Size)
- bad = 100 * bad + 11;
+ /*
+ ** 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.
+ **
+ ** if (Glob_Str_Size > Buf_Size)
+ ** bad = 100 * bad + 11;
+ */
/*^^^^^^^^^^^^^^^^^^^^^^^^^^ END OF SECTION 17 ^^^^^^^^^^^^^^^^^^^^^^^^^^^*/
diff --git a/Build/source/texk/bibtex8/bibtex.h b/Build/source/texk/bibtex8/bibtex.h
index bd708229711..f297539dd7c 100644
--- a/Build/source/texk/bibtex8/bibtex.h
+++ b/Build/source/texk/bibtex8/bibtex.h
@@ -267,7 +267,7 @@
#define AUX_STACK_SIZE 20
#define MAX_BIB_FILES 20
-#define BUF_SIZE 10000
+#define BUF_SIZE 20000
#define MAX_CITES 750
#define MAX_FIELDS 5000
#define MAX_STRINGS 4000