[GRASS-SVN] r33627 - grass/trunk/raster/r.report

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 30 18:02:58 EDT 2008


Author: glynn
Date: 2008-09-30 18:02:58 -0400 (Tue, 30 Sep 2008)
New Revision: 33627

Modified:
   grass/trunk/raster/r.report/stats.c
Log:
Quote filename


Modified: grass/trunk/raster/r.report/stats.c
===================================================================
--- grass/trunk/raster/r.report/stats.c	2008-09-30 21:34:18 UTC (rev 33626)
+++ grass/trunk/raster/r.report/stats.c	2008-09-30 22:02:58 UTC (rev 33627)
@@ -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