[GRASS-SVN] r52804 - grass/trunk/vector/v.info

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 21 02:23:17 PDT 2012


Author: mmetz
Date: 2012-08-21 02:23:16 -0700 (Tue, 21 Aug 2012)
New Revision: 52804

Modified:
   grass/trunk/vector/v.info/print.c
Log:
v.info increase buffer sizes

Modified: grass/trunk/vector/v.info/print.c
===================================================================
--- grass/trunk/vector/v.info/print.c	2012-08-21 08:11:00 UTC (rev 52803)
+++ grass/trunk/vector/v.info/print.c	2012-08-21 09:23:16 UTC (rev 52804)
@@ -23,7 +23,7 @@
 
 void print_region(const struct Map_info *Map)
 {
-    char tmp1[100], tmp2[100];
+    char tmp1[1024], tmp2[1024];
     
     struct bound_box box;
 
@@ -277,8 +277,8 @@
 void print_info(const struct Map_info *Map)
 {
     int i, map_type;
-    char line[100];
-    char tmp1[100], tmp2[100];
+    char line[1024];
+    char tmp1[1024], tmp2[1024];
     char timebuff[256];
     struct TimeStamp ts;
     int time_ok, first_time_ok, second_time_ok;



More information about the grass-commit mailing list