[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[7694] non-zero exit status if not loading any nodes
From: |
gavinsmith0123 |
Subject: |
[7694] non-zero exit status if not loading any nodes |
Date: |
Sun, 19 Mar 2017 16:40:27 -0400 (EDT) |
Revision: 7694
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7694
Author: gavin
Date: 2017-03-19 16:40:26 -0400 (Sun, 19 Mar 2017)
Log Message:
-----------
non-zero exit status if not loading any nodes
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/info.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2017-03-19 20:30:07 UTC (rev 7693)
+++ trunk/ChangeLog 2017-03-19 20:40:26 UTC (rev 7694)
@@ -1,5 +1,16 @@
2017-03-19 Gavin Smith <address@hidden>
+ * info/info.c: If not loading any nodes at all, and outputting
+ an error message, exit with a non-zero status.
+
+2017-03-19 Gavin Smith <address@hidden>
+
+ * doc/info-stnd.texi (Invoking Info): Mention combination of
+ --all and --index-search.
+ * NEWS: Mention this feature.
+
+2017-03-19 Gavin Smith <address@hidden>
+
* info/info.c (virtual_index_p): Remove variable.
(long_options): Remove "--virtual-index".
(main): Don't check for --virtual-index option. Use the
Modified: trunk/info/info.c
===================================================================
--- trunk/info/info.c 2017-03-19 20:30:07 UTC (rev 7693)
+++ trunk/info/info.c 2017-03-19 20:40:26 UTC (rev 7694)
@@ -1069,7 +1069,10 @@
if (ref_index == 0)
{
if (error)
- info_error ("%s", error);
+ {
+ info_error ("%s", error);
+ exit (1);
+ }
exit (0);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [7694] non-zero exit status if not loading any nodes,
gavinsmith0123 <=