[GRASS-SVN] r56202 - grass/trunk/vector/v.random

svn_grass at osgeo.org svn_grass at osgeo.org
Sat May 11 08:12:39 PDT 2013


Author: martinl
Date: 2013-05-11 08:12:39 -0700 (Sat, 11 May 2013)
New Revision: 56202

Modified:
   grass/trunk/vector/v.random/main.c
Log:
v.random: use DB_SQL_MAX


Modified: grass/trunk/vector/v.random/main.c
===================================================================
--- grass/trunk/vector/v.random/main.c	2013-05-11 15:09:34 UTC (rev 56201)
+++ grass/trunk/vector/v.random/main.c	2013-05-11 15:12:39 UTC (rev 56202)
@@ -56,7 +56,7 @@
 
 int main(int argc, char *argv[])
 {
-    char *output, buf[2000];
+    char *output, buf[DB_SQL_MAX];
     double (*rng) ();
     double max, zmin, zmax;
     int seed;



More information about the grass-commit mailing list