[GRASS-SVN] r52896 - grass/branches/releasebranch_6_4/raster/r.quant

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 25 06:02:51 PDT 2012


Author: mmetz
Date: 2012-08-25 06:02:51 -0700 (Sat, 25 Aug 2012)
New Revision: 52896

Modified:
   grass/branches/releasebranch_6_4/raster/r.quant/read_rules.c
Log:
r.quant: fix buffer size

Modified: grass/branches/releasebranch_6_4/raster/r.quant/read_rules.c
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.quant/read_rules.c	2012-08-25 12:49:48 UTC (rev 52895)
+++ grass/branches/releasebranch_6_4/raster/r.quant/read_rules.c	2012-08-25 13:02:51 UTC (rev 52896)
@@ -65,7 +65,7 @@
 
 int read_rules(void)
 {
-    char buf[256];
+    char buf[1024];
     DCELL dLow, dHigh;
     CELL iLow, iHigh;
     int line, n, nrules = 0;



More information about the grass-commit mailing list