[latex3-commits] [l3svn] branch master updated: l3build: Newline has to be an exact match
noreply at latex-project.org
noreply at latex-project.org
Fri Mar 31 11:58:48 CEST 2017
This is an automated email from the git hooks/post-receive script.
joseph pushed a commit to branch master
in repository l3svn.
The following commit(s) were added to refs/heads/master by this push:
new 7fcd13c l3build: Newline has to be an exact match
7fcd13c is described below
commit 7fcd13c453c200e33e49d1d03ec6ab9d90659500
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Fri Mar 31 09:41:45 2017 +0100
l3build: Newline has to be an exact match
---
l3build/l3build.lua | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index e640aff..a0169cd 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -875,7 +875,7 @@ function formatlog(logfile, newfile, engine)
local file = assert(io.open(logfile, "rb"))
local contents = file:read("*all") .. os_newline
io.close(file)
- for line in string.gmatch(contents, "([^\r\n]*)[" .. os_newline .."]") do
+ for line in string.gmatch(contents, "([^\r\n]*)" .. os_newline) do
if line == "START-TEST-LOG" then
prestart = false
elseif line == "END-TEST-LOG" then
@@ -1072,7 +1072,7 @@ function formatlualog(logfile, newfile)
local file = assert(io.open(logfile, "rb"))
local contents = file:read("*all") .. os_newline
io.close(file)
- for line in string.gmatch(contents, "([^\r\n]*)[" .. os_newline .."]") do
+ for line in string.gmatch(contents, "([^\r\n]*)" .. os_newline) do
line, lastline, dropping = normalize(line, lastline, dropping)
if not string.match(line, "^ *$") then
newlog = newlog .. line .. os_newline
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the latex3-commits
mailing list