[GRASS-SVN] r31416 - grass/trunk/lib/imagery
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon May 19 03:03:18 EDT 2008
Author: glynn
Date: 2008-05-19 03:03:17 -0400 (Mon, 19 May 2008)
New Revision: 31416
Modified:
grass/trunk/lib/imagery/fopen.c
Log:
Create subgroup directories
Modified: grass/trunk/lib/imagery/fopen.c
===================================================================
--- grass/trunk/lib/imagery/fopen.c 2008-05-18 21:12:26 UTC (rev 31415)
+++ grass/trunk/lib/imagery/fopen.c 2008-05-19 07:03:17 UTC (rev 31416)
@@ -74,6 +74,10 @@
FILE *fd;
char element[GNAME_MAX*2];
+ /* create subgroup directory */
+ sprintf(element, "%s/subgroup/%s", group, subgroup);
+ G__make_mapset_element_misc("group", element);
+
/* get subgroup element name */
sprintf (element, "subgroup/%s/%s", subgroup, file);
@@ -95,6 +99,10 @@
FILE *fd;
char element[GNAME_MAX*2];
+ /* create subgroup directory */
+ sprintf(element, "%s/subgroup/%s", group, subgroup);
+ G__make_mapset_element_misc("group", element);
+
/* get subgroup element name */
sprintf (element, "subgroup/%s/%s", subgroup, file);
More information about the grass-commit
mailing list