texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[7031] filter_files zero return status


From: Gavin D. Smith
Subject: [7031] filter_files zero return status
Date: Thu, 25 Feb 2016 18:57:25 +0000

Revision: 7031
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7031
Author:   gavin
Date:     2016-02-25 18:53:54 +0000 (Thu, 25 Feb 2016)
Log Message:
-----------
filter_files zero return status

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/util/texi2dvi

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2016-02-22 15:39:06 UTC (rev 7030)
+++ trunk/ChangeLog     2016-02-25 18:53:54 UTC (rev 7031)
@@ -1,3 +1,11 @@
+2016-02-24  Vincent Bela\xEFche  <address@hidden>
+
+       * util/texi2dvi (filter_files): Ensure that this function does not
+       make any non zero return status when the list of new xref files is
+       empty. Otherwise that causes a prematurate exit of calling
+       function, notably run_index. Remember texi2dvi is running under
+       set -e regime.
+
 2016-02-22  Masamichi Hosoda  <address@hidden>
 
        * doc/texinfo.tex: Fix PDF outline cmap for XeTeX.

Modified: trunk/util/texi2dvi
===================================================================
--- trunk/util/texi2dvi 2016-02-22 15:39:06 UTC (rev 7030)
+++ trunk/util/texi2dvi 2016-02-25 18:53:54 UTC (rev 7031)
@@ -988,7 +988,8 @@
 #                         that match PREDICATE.
 filter_files ()
 {
-  test -n "$xref_files_new" && echo "$xref_files_new" |
+  test -n "$xref_files_new" || return 0
+  echo "$xref_files_new" |
   # Filter existing files matching the criterion.
   #
   while read file; do




reply via email to

[Prev in Thread] Current Thread [Next in Thread]