summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-09-16 05:15:43 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-09-16 05:15:43 +0000
commitb929a3c77186d35e3899355fa3a140fe159f2658 (patch)
treedcbd42fe4740565a39a65811062c09fadfd2bed9 /Build/source
parentf73ae9e66c05f3532dda83430b4f977068c5aa35 (diff)
chktex: improve the patch
git-svn-id: svn://tug.org/texlive/trunk@42085 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/chktex/chktex-PATCHES/patch-04-finderrs19
-rw-r--r--Build/source/texk/chktex/chktex-src/FindErrs.c4
2 files changed, 13 insertions, 10 deletions
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;