[GRASS-CVS] markus: grass6/doc/vector/v.example main.c, 1.8, 1.8.2.1

grass at intevation.de grass at intevation.de
Fri Nov 23 11:35:36 EST 2007


Author: markus

Update of /grassrepository/grass6/doc/vector/v.example
In directory doto:/tmp/cvs-serv19255/vector/v.example

Modified Files:
      Tag: releasebranch_6_3
	main.c 
Log Message:
updated (merged from HEAD)

Index: main.c
===================================================================
RCS file: /grassrepository/grass6/doc/vector/v.example/main.c,v
retrieving revision 1.8
retrieving revision 1.8.2.1
diff -u -d -r1.8 -r1.8.2.1
--- main.c	15 Mar 2007 08:54:16 -0000	1.8
+++ main.c	23 Nov 2007 16:35:34 -0000	1.8.2.1
@@ -58,16 +58,16 @@
     Vect_check_input_output_name(new->answer, old->answer, GV_FATAL_EXIT);
 
     if ((mapset = G_find_vector2(old->answer, "")) == NULL)
-	G_fatal_error(_("Could not find input %s"), old->answer);
+	G_fatal_error(_("Vector map <%s> not found"), old->answer);
 
     Vect_set_open_level(2);
 
     if (1 > Vect_open_old(&In, old->answer, mapset))
-	G_fatal_error(_("Could not open input"));
+	G_fatal_error(_("Unable to open vector map <%s>"), old->answer);
 
     if (0 > Vect_open_new(&Out, new->answer, WITHOUT_Z)) {
 	Vect_close(&In);
-	G_fatal_error(_("Could not open output"));
+	G_fatal_error(_("Unable to create vector map <%s>"), new->answer);
     }
 
     Vect_copy_head_data(&In, &Out);




More information about the grass-commit mailing list