[GRASS-SVN] r53608 - grass/trunk/db/drivers/sqlite

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Oct 29 08:22:44 PDT 2012


Author: martinl
Date: 2012-10-29 08:22:43 -0700 (Mon, 29 Oct 2012)
New Revision: 53608

Modified:
   grass/trunk/db/drivers/sqlite/listdb.c
Log:
SQLite DB driver: list_databases() - report full path to the databases


Modified: grass/trunk/db/drivers/sqlite/listdb.c
===================================================================
--- grass/trunk/db/drivers/sqlite/listdb.c	2012-10-29 14:59:56 UTC (rev 53607)
+++ grass/trunk/db/drivers/sqlite/listdb.c	2012-10-29 15:22:43 UTC (rev 53608)
@@ -120,7 +120,7 @@
                 hcount++;
                 dlist = (char **) G_realloc(dlist, hcount * sizeof(char *));
                 G_debug(3, "%s", dp->d_name);
-                dlist[hcount-1] = G_store(dp->d_name);
+                dlist[hcount-1] = G_store(fpath);
             }
         }
     }



More information about the grass-commit mailing list