From b929a3c77186d35e3899355fa3a140fe159f2658 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Fri, 16 Sep 2016 05:15:43 +0000 Subject: chktex: improve the patch git-svn-id: svn://tug.org/texlive/trunk@42085 c570f23f-e606-0410-a88d-b1316a301751 --- .../texk/chktex/chktex-PATCHES/patch-04-finderrs | 19 ++++++++++++------- Build/source/texk/chktex/chktex-src/FindErrs.c | 4 +--- 2 files changed, 13 insertions(+), 10 deletions(-) (limited to 'Build/source/texk/chktex') diff --git a/Build/source/texk/chktex/chktex-PATCHES/patch-04-finderrs b/Build/source/texk/chktex/chktex-PATCHES/patch-04-finderrs index 11010fddf56..1717fc972db 100644 --- a/Build/source/texk/chktex/chktex-PATCHES/patch-04-finderrs +++ b/Build/source/texk/chktex/chktex-PATCHES/patch-04-finderrs @@ -1,14 +1,19 @@ -diff -u chktex.orig/FindErrs.c chktex/FindErrs.c +diff -ur chktex.orig/FindErrs.c chktex/FindErrs.c --- chktex.orig/FindErrs.c Sat Sep 10 06:22:18 2016 -+++ chktex/FindErrs.c Fri Sep 16 10:09:42 2016 -@@ -1872,7 +1872,9 @@ ++++ chktex/FindErrs.c Fri Sep 16 14:09:38 2016 +@@ -1872,7 +1872,6 @@ } else { -+/* I remove this line temporarily, because chktex.test fails. --ak (2016/09/16) - FoundErr = EXIT_FAILURE; -+*/ +- FoundErr = EXIT_FAILURE; Context = LaTeXMsgs[Error].Context; if (!HeadErrOut) -Common subdirectories: chktex.orig/m4 and chktex/m4 +@@ -1892,6 +1891,7 @@ + break; + case etErr: + ErrPrint++; ++ FoundErr = EXIT_FAILURE; + break; + case etMsg: + break; diff --git a/Build/source/texk/chktex/chktex-src/FindErrs.c b/Build/source/texk/chktex/chktex-src/FindErrs.c index 57015b9505d..994ae83e2b2 100644 --- a/Build/source/texk/chktex/chktex-src/FindErrs.c +++ b/Build/source/texk/chktex/chktex-src/FindErrs.c @@ -1872,9 +1872,6 @@ PrintError(const char *File, const char *String, } else { -/* I remove this line temporarily, because chktex.test fails. --ak (2016/09/16) - FoundErr = EXIT_FAILURE; -*/ Context = LaTeXMsgs[Error].Context; if (!HeadErrOut) @@ -1894,6 +1891,7 @@ PrintError(const char *File, const char *String, break; case etErr: ErrPrint++; + FoundErr = EXIT_FAILURE; break; case etMsg: break; -- cgit v1.2.3