[GRASS-SVN] r47578 - grass/branches/develbranch_6/db/base

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 11 17:43:13 EDT 2011


Author: neteler
Date: 2011-08-11 14:43:13 -0700 (Thu, 11 Aug 2011)
New Revision: 47578

Modified:
   grass/branches/develbranch_6/db/base/copy.c
Log:
db.copy: add missing G_gisinit()

Modified: grass/branches/develbranch_6/db/base/copy.c
===================================================================
--- grass/branches/develbranch_6/db/base/copy.c	2011-08-11 21:43:05 UTC (rev 47577)
+++ grass/branches/develbranch_6/db/base/copy.c	2011-08-11 21:43:13 UTC (rev 47578)
@@ -29,6 +29,9 @@
     struct GModule *module;
     const char *drv, *db;
 
+    /* Initialize the GIS calls */
+    G_gisinit(argv[0]);
+
     /* Set description */
     module = G_define_module();
     module->keywords = _("database, attribute table, SQL");



More information about the grass-commit mailing list