Forráskód Böngészése

v.info increase buffer sizes

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52804 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 12 éve
szülő
commit
60602fd5a5
1 módosított fájl, 3 hozzáadás és 3 törlés
  1. 3 3
      vector/v.info/print.c

+ 3 - 3
vector/v.info/print.c

@@ -23,7 +23,7 @@ void format_double(double value, char *buf)
 
 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_shell(const struct Map_info *Map)
 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;