[GRASS-SVN] r60517 - grass/trunk/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Tue May 27 08:29:08 PDT 2014


Author: hcho
Date: 2014-05-27 08:29:08 -0700 (Tue, 27 May 2014)
New Revision: 60517

Modified:
   grass/trunk/lib/gis/parser.c
Log:
G_open_option_file(): multiple files not supported

Modified: grass/trunk/lib/gis/parser.c
===================================================================
--- grass/trunk/lib/gis/parser.c	2014-05-27 15:15:21 UTC (rev 60516)
+++ grass/trunk/lib/gis/parser.c	2014-05-27 15:29:08 UTC (rev 60517)
@@ -1506,6 +1506,8 @@
 
     if (option->gisprompt == NULL)
         G_fatal_error(_("Not a file option"));
+    else if (option->multiple)
+	G_fatal_error(_("Multiple files not supported"));
     else if (strcmp(option->gisprompt, "old,file,file") == 0) {
 	if (stdinout)
 	    fp = stdin;



More information about the grass-commit mailing list