diff options
-rw-r--r-- | Build/source/texk/web2c/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/web2c/bibtex.ch | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog index f090a6afeac..806f0e8cc38 100644 --- a/Build/source/texk/web2c/ChangeLog +++ b/Build/source/texk/web2c/ChangeLog @@ -1,3 +1,9 @@ +2012-04-12 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * bibtex.ch: Do not check whether ent_str_size > buf_size and + glob_str_size > buf_size, because buf_size can be changed dynamically, + whereas ent_str_size and glob_str_size are constants. + 2012-03-04 Peter Breitenlohner <peb@mppmu.mpg.de> Avoid 'differ in signedness' warnings. diff --git a/Build/source/texk/web2c/bibtex.ch b/Build/source/texk/web2c/bibtex.ch index 162ffcf252c..ce7faf597f6 100644 --- a/Build/source/texk/web2c/bibtex.ch +++ b/Build/source/texk/web2c/bibtex.ch @@ -290,6 +290,12 @@ if (hash_prime >= (16384-64)) then bad:=10*bad+6; if (hash_base <> 1) then bad:=10*bad+6; @z +@x [17] remove the following, since buf_size changes dynamically. +if (ent_str_size > buf_size) then bad:=10*bad+9; +if (glob_str_size > buf_size) then bad:=100*bad+11; +@y +@z + @x [22, 23, 27, 28] Allow any character as input. [22] @!ASCII_code=0..127; {seven-bit numbers} @y |