[GRASS-SVN] r47577 - grass/branches/releasebranch_6_4/db/base

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


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

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

Modified: grass/branches/releasebranch_6_4/db/base/copy.c
===================================================================
--- grass/branches/releasebranch_6_4/db/base/copy.c	2011-08-11 21:34:00 UTC (rev 47576)
+++ grass/branches/releasebranch_6_4/db/base/copy.c	2011-08-11 21:43:05 UTC (rev 47577)
@@ -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