texlive[42085] Build/source/texk/chktex: chktex: improve the patch

commits+kakuto at tug.org commits+kakuto at tug.org
Fri Sep 16 07:15:43 CEST 2016


Revision: 42085
          http://tug.org/svn/texlive?view=revision&revision=42085
Author:   kakuto
Date:     2016-09-16 07:15:43 +0200 (Fri, 16 Sep 2016)
Log Message:
-----------
chktex: improve the patch

Modified Paths:
--------------
    trunk/Build/source/texk/chktex/chktex-PATCHES/patch-04-finderrs
    trunk/Build/source/texk/chktex/chktex-src/FindErrs.c

Modified: trunk/Build/source/texk/chktex/chktex-PATCHES/patch-04-finderrs
===================================================================
--- trunk/Build/source/texk/chktex/chktex-PATCHES/patch-04-finderrs	2016-09-16 01:16:55 UTC (rev 42084)
+++ trunk/Build/source/texk/chktex/chktex-PATCHES/patch-04-finderrs	2016-09-16 05:15:43 UTC (rev 42085)
@@ -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;

Modified: trunk/Build/source/texk/chktex/chktex-src/FindErrs.c
===================================================================
--- trunk/Build/source/texk/chktex/chktex-src/FindErrs.c	2016-09-16 01:16:55 UTC (rev 42084)
+++ trunk/Build/source/texk/chktex/chktex-src/FindErrs.c	2016-09-16 05:15:43 UTC (rev 42085)
@@ -1872,9 +1872,6 @@
             }
             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 @@
                     break;
                 case etErr:
                     ErrPrint++;
+                    FoundErr = EXIT_FAILURE;
                     break;
                 case etMsg:
                     break;



More information about the tex-live-commits mailing list