[GRASS-SVN] r60743 - grass/branches/releasebranch_7_0/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 8 01:54:37 PDT 2014


Author: martinl
Date: 2014-06-08 01:54:37 -0700 (Sun, 08 Jun 2014)
New Revision: 60743

Modified:
   grass/branches/releasebranch_7_0/lib/gis/parser.c
Log:
hcho:  G_open_option_file(): message read => open
       (merge r60539 from trunk)


Modified: grass/branches/releasebranch_7_0/lib/gis/parser.c
===================================================================
--- grass/branches/releasebranch_7_0/lib/gis/parser.c	2014-06-08 08:53:15 UTC (rev 60742)
+++ grass/branches/releasebranch_7_0/lib/gis/parser.c	2014-06-08 08:54:37 UTC (rev 60743)
@@ -1514,7 +1514,7 @@
 	if (stdinout)
 	    fp = stdin;
 	else if ((fp = fopen(option->answer, "r")) == NULL)
-	    G_fatal_error(_("Unable to read %s file <%s>"),
+	    G_fatal_error(_("Unable to open %s file <%s>"),
 			    option->key, option->answer);
     } else if (strcmp(option->gisprompt, "new,file,file") == 0) {
 	if (stdinout)



More information about the grass-commit mailing list