summaryrefslogtreecommitdiff
path: root/Build/source/texk/bibtex8
diff options
context:
space:
mode:
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