[GRASS-SVN] r30648 - grass/trunk/vector/v.build
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Mar 19 12:12:57 EDT 2008
Author: martinl
Date: 2008-03-19 12:12:57 -0400 (Wed, 19 Mar 2008)
New Revision: 30648
Modified:
grass/trunk/vector/v.build/main.c
Log:
v.build: call Vect_close() if map is opened
Modified: grass/trunk/vector/v.build/main.c
===================================================================
--- grass/trunk/vector/v.build/main.c 2008-03-19 14:56:23 UTC (rev 30647)
+++ grass/trunk/vector/v.build/main.c 2008-03-19 16:12:57 UTC (rev 30648)
@@ -150,7 +150,9 @@
Vect_close ( &Err );
}
- Vect_close (&Map);
+ if (build || dump || sdump || cdump) {
+ Vect_close (&Map);
+ }
exit(EXIT_SUCCESS);
}
More information about the grass-commit
mailing list