From 1932fa55c545fffe9fdd79df0459f384028a39d2 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Thu, 12 Apr 2012 13:12:12 +0000 Subject: remove unnecessary tests git-svn-id: svn://tug.org/texlive/trunk@25937 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/ChangeLog | 6 ++++++ Build/source/texk/web2c/bibtex.ch | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'Build') 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 + + * 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 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 -- cgit v1.2.3