Browse Source

G_open_option_file(): multiple files not supported

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@60517 15284696-431f-4ddb-bdfa-cd5b030d7da7
Huidae Cho 11 năm trước cách đây
mục cha
commit
f1c76f6568
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      lib/gis/parser.c

+ 2 - 0
lib/gis/parser.c

@@ -1506,6 +1506,8 @@ FILE *G_open_option_file(const struct Option *option)
 
     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;