summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-05-02 13:19:32 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-05-02 13:19:32 +0000
commitb681ffb23a916a6f89af5487777f06be79ab7c43 (patch)
treef6274d45ce7e08504bba2a830c9d2d201a72f12b
parentb14a0b1326df1249833529a9373c621df959a159 (diff)
bug fix for bibtex, from Akira
git-svn-id: svn://tug.org/texlive/trunk@18078 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/ChangeLog11
-rw-r--r--Build/source/texk/web2c/bibtex.ch2
-rw-r--r--Build/source/texk/web2c/cpascal.h2
3 files changed, 13 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog
index a2cab0469a7..972f4467da7 100644
--- a/Build/source/texk/web2c/ChangeLog
+++ b/Build/source/texk/web2c/ChangeLog
@@ -1,3 +1,10 @@
+2010-05-01 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * cpascal.h (BIBXRETALLOCSTRING): Need parens around new_size.
+ From Akira, 02 May 2010 21:49:27.
+
+ * bibtex.ch (MAX_GLOB_STRS): Changed from 20 back to 10.
+
2010-05-02 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* bibtex.ch: increase MAX_GLOB_STRS from 10 to 20, because pbibtex on
@@ -9,6 +16,10 @@
* config.h: remove TEXDLL.
+2010-05-01 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * help.h (PTFTOPLHELP): Document '-charcode-format'.
+
2010-04-30 Peter Breitenlohner <peb@mppmu.mpg.de>
* dvitype.test: Use installed cm fonts.
diff --git a/Build/source/texk/web2c/bibtex.ch b/Build/source/texk/web2c/bibtex.ch
index 3912a70c544..1832185d6a7 100644
--- a/Build/source/texk/web2c/bibtex.ch
+++ b/Build/source/texk/web2c/bibtex.ch
@@ -231,7 +231,7 @@ end.
@!ENT_STR_SIZE=100; {maximum size of a |str_entry_var|; must be |<=buf_size|}
@!GLOB_STR_SIZE=1000; {maximum size of a |str_global_var|;
must be |<=buf_size|}
-@!MAX_GLOB_STRS=20; {initial number of |str_global_var| names}
+@!MAX_GLOB_STRS=10; {initial number of |str_global_var| names}
@!MAX_FIELDS=5000; {initial number of fields (entries $\times$ fields,
@z
diff --git a/Build/source/texk/web2c/cpascal.h b/Build/source/texk/web2c/cpascal.h
index 63078cceb37..c98a1b2c529 100644
--- a/Build/source/texk/web2c/cpascal.h
+++ b/Build/source/texk/web2c/cpascal.h
@@ -180,7 +180,7 @@ typedef unsigned char *pointertobyte;
#define BIBXRETALLOCSTRING(array_name, array_var, length, size_var, new_size) \
fprintf (logfile, "Reallocated %s (elt_size=%d) to %ld items from %ld.\n", \
array_name, (int) (length + 1), new_size, size_var); \
- XRETALLOC (array_var, new_size * (length + 1), ASCIIcode)
+ XRETALLOC (array_var, (new_size) * (length + 1), ASCIIcode)
/* Need precisely int for getopt, etc. */
#define cinttype int