[GRASS5] v.in.ascii

Hamish hamish_nospam at yahoo.com
Wed Jun 22 01:25:23 EDT 2005


> There was a change in in.c implemented 4 weaks ago see
> http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.in.ascii/
> Could this have broken the example shown by Hamish?


That's the one.  The coltype2[] that gets sent to points_to_bin() on line 
389 is only populated if the columns= option is used. Otherwise it is 
being used uninitialized.  No gcc warning for uninitialized pointers?

Changing that back to "coltype" makes it work again for me.

work-around: be sure to use columns=



Hamish




More information about the grass-dev mailing list