[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6150] error message if couldn't open init file specified with --init-fi
From: |
Gavin D. Smith |
Subject: |
[6150] error message if couldn't open init file specified with --init-file |
Date: |
Tue, 24 Feb 2015 18:43:00 +0000 |
Revision: 6150
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6150
Author: gavin
Date: 2015-02-24 18:42:59 +0000 (Tue, 24 Feb 2015)
Log Message:
-----------
error message if couldn't open init file specified with --init-file
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/infomap.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-02-24 18:21:51 UTC (rev 6149)
+++ trunk/ChangeLog 2015-02-24 18:42:59 UTC (rev 6150)
@@ -1,3 +1,8 @@
+2015-02-24 Gavin Smith <address@hidden>
+
+ * info/infomap.c (fetch_user_maps): Print an error message if
+ couldn't open init file specified with --init-file.
+
2015-02-24 Eli Zaretskii <address@hidden>
* info/terminal.c [HAVE_NCURSES_TERMCAP_H && __MINGW32__]: Don't
Modified: trunk/info/infomap.c
===================================================================
--- trunk/info/infomap.c 2015-02-24 18:21:51 UTC (rev 6149)
+++ trunk/info/infomap.c 2015-02-24 18:42:59 UTC (rev 6150)
@@ -565,7 +565,8 @@
static int sup_info, sup_ea;
/* Fetch the contents of the init file at INIT_FILE, or the standard
- infokey file "$HOME/.infokey". Return non-zero on success. */
+ infokey file "$HOME/.infokey". Return non-zero if an init file was
+ loaded and read. */
static int
fetch_user_maps (char *init_file)
{
@@ -595,6 +596,8 @@
if (!inf)
{
free (filename);
+ if (init_file)
+ info_error (_("could not open init file %s"), init_file);
return 0;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6150] error message if couldn't open init file specified with --init-file,
Gavin D. Smith <=