[latex3-commits] [git/LaTeX3-latex3-l3build] main: No more off-by-one error in recent LuaTeX (0cccb6a)
Joseph Wright
joseph.wright at morningstar2.co.uk
Wed May 5 14:31:08 CEST 2021
Repository : https://github.com/latex3/l3build
On branch : main
Link : https://github.com/latex3/l3build/commit/0cccb6a3d5f06f2605817e5d627669279338f00a
>---------------------------------------------------------------
commit 0cccb6a3d5f06f2605817e5d627669279338f00a
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Fri Apr 2 19:30:43 2021 +0200
No more off-by-one error in recent LuaTeX
>---------------------------------------------------------------
0cccb6a3d5f06f2605817e5d627669279338f00a
CHANGELOG.md | 2 ++
l3build-check.lua | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 058b604..57cf0c9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,8 @@ this project uses date-based 'snapshot' version identifiers.
- the home texmf directory is now created before use
- the yyyy-mm-dd format of epoch caused a crashed
+- no longer expect LuaTeX line lengths to be off by a character for new
+ LuaTeX versions
## [2020-06-04]
diff --git a/l3build-check.lua b/l3build-check.lua
index cc57e32..34538f3 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -102,7 +102,7 @@ end
-- the 'business' part from the tests and removes system-dependent stuff
local function normalize_log(content,engine,errlevels)
local maxprintline = maxprintline
- if match(engine,"^lua") or match(engine,"^harf") then
+ if (match(engine,"^lua") or match(engine,"^harf")) and luatex_version < 113 then
maxprintline = maxprintline + 1 -- Deal with an out-by-one error
end
local function killcheck(line)
More information about the latex3-commits
mailing list.