[GRASS-SVN] r33629 - grass/branches/develbranch_6/raster/r.report

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 30 18:10:51 EDT 2008


Author: neteler
Date: 2008-09-30 18:10:51 -0400 (Tue, 30 Sep 2008)
New Revision: 33629

Modified:
   grass/branches/develbranch_6/raster/r.report/stats.c
Log:
Quote filenames (merge from trunk, r33627)

Modified: grass/branches/develbranch_6/raster/r.report/stats.c
===================================================================
--- grass/branches/develbranch_6/raster/r.report/stats.c	2008-09-30 22:10:25 UTC (rev 33628)
+++ grass/branches/develbranch_6/raster/r.report/stats.c	2008-09-30 22:10:51 UTC (rev 33629)
@@ -44,8 +44,9 @@
 	}
 	strcat(buf, "\"");
 
-	strcat(buf, " > ");
+	strcat(buf, " > \"");
 	strcat(buf, stats_file);
+	strcat(buf, "\"");
 	/*      G_fatal_error(buf); */
 	if (system(buf)) {
 	    if (stats_flag == EVERYTHING)



More information about the grass-commit mailing list