git-svn-id: https://svn.osgeo.org/grass/grass/trunk@53608 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -120,7 +120,7 @@ int listdb(dbString* path, int npaths,
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);
}