[GRASS-SVN] r31918 - grass/branches/develbranch_6/vector/v.in.ascii
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jul 1 04:18:17 EDT 2008
Author: neteler
Date: 2008-07-01 04:18:17 -0400 (Tue, 01 Jul 2008)
New Revision: 31918
Modified:
grass/branches/develbranch_6/vector/v.in.ascii/points.c
Log:
Enlarge buffers (merge from trunk)
Modified: grass/branches/develbranch_6/vector/v.in.ascii/points.c
===================================================================
--- grass/branches/develbranch_6/vector/v.in.ascii/points.c 2008-07-01 08:16:45 UTC (rev 31917)
+++ grass/branches/develbranch_6/vector/v.in.ascii/points.c 2008-07-01 08:18:17 UTC (rev 31918)
@@ -74,7 +74,7 @@
char *coorbuf, *tmp_token, *sav_buf;
int skip = FALSE, skipped = 0;
- buflen = 1000;
+ buflen = 4000;
buf = (char *)G_malloc(buflen);
buf_raw = (char *)G_malloc(buflen);
coorbuf = (char *)G_malloc(256);
@@ -269,7 +269,7 @@
int *coltype, int xcol, int ycol, int zcol, int catcol,
int skip_lines)
{
- char *buf, buf2[1000];
+ char *buf, buf2[4000];
int cat = 0;
int row = 1;
struct line_pnts *Points;
More information about the grass-commit
mailing list