diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2012-04-12 13:12:12 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2012-04-12 13:12:12 +0000 |
commit | 1932fa55c545fffe9fdd79df0459f384028a39d2 (patch) | |
tree | 36d7ce9a9d2be5f134891c8be2b081565c7ce628 | |
parent | f6166921da0f6fb93100cc0135c4a5246bc1ebe6 (diff) |
remove unnecessary tests
git-svn-id: svn://tug.org/texlive/trunk@25937 c570f23f-e606-0410-a88d-b1316a301751
-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 |