[GRASS-SVN] r39517 -
grass/branches/releasebranch_6_4/raster/r.watershed/front
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Oct 13 21:02:30 EDT 2009
Author: hamish
Date: 2009-10-13 21:02:29 -0400 (Tue, 13 Oct 2009)
New Revision: 39517
Modified:
grass/branches/releasebranch_6_4/raster/r.watershed/front/main.c
Log:
all tricks fail on wingrass (trac #783; merge from devbr6)
Modified: grass/branches/releasebranch_6_4/raster/r.watershed/front/main.c
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.watershed/front/main.c 2009-10-14 01:02:23 UTC (rev 39516)
+++ grass/branches/releasebranch_6_4/raster/r.watershed/front/main.c 2009-10-14 01:02:29 UTC (rev 39517)
@@ -233,12 +233,12 @@
}
/* Build command line */
- sprintf(command, "\"%s/etc/", G_gisbase());
+ sprintf(command, "%s/etc/", G_gisbase());
if (flag_seg->answer)
- strcat(command, "r.watershed.seg\"");
+ strcat(command, "r.watershed.seg");
else
- strcat(command, "r.watershed.ram\"");
+ strcat(command, "r.watershed.ram");
if (flag_flow->answer)
strcat(command, " -4");
@@ -351,11 +351,6 @@
strcat(command, "\"");
}
-#ifdef __MINGW32__
- /* quoting seems to be greedy, so hack to make sure string doesn't end with \" */
- strcat(command, " ");
-#endif
-
G_debug(1, "Mode: %s", flag_seg->answer ? "Segmented" : "All in RAM");
G_debug(1, "Running: %s", command);
More information about the grass-commit
mailing list