[GRASS-SVN] r38761 - grass/trunk/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 17 01:44:34 EDT 2009
Author: hamish
Date: 2009-08-17 01:44:31 -0400 (Mon, 17 Aug 2009)
New Revision: 38761
Modified:
grass/trunk/lib/gis/home.c
Log:
GRASS_DIRSEP or HOST_DIRSEP ?
Modified: grass/trunk/lib/gis/home.c
===================================================================
--- grass/trunk/lib/gis/home.c 2009-08-17 05:31:08 UTC (rev 38760)
+++ grass/trunk/lib/gis/home.c 2009-08-17 05:44:31 UTC (rev 38761)
@@ -102,7 +102,7 @@
/* HB: making a complete bollocks of this, but to express the idea... */
const char *rcpath = 0;
- sprintf(rcpath, "%s/%s", G_home(), RCDIR);
+ sprintf(rcpath, "%s%c%s", G_home(), HOST_DIRSEP, RCDIR);
#ifdef POSSIBILITY
/* create it if it doesn't exist */
More information about the grass-commit
mailing list