[GRASS5] v.in.ascii

Radim Blazek radim.blazek at gmail.com
Thu Jun 23 05:01:47 EDT 2005


Patch, my CVS account doesnot work:

Radim

--- in.c.orig   2005-06-23 10:51:21.777120402 +0200
+++ in.c        2005-06-23 11:00:04.465776241 +0200
@@ -364,6 +364,8 @@
                                break;
                        }
                    }
+               } else {
+                   coltype2 = coltype;
                }

                if ( catcol < 0 ) {

 

On 6/22/05, Hamish <hamish_nospam at yahoo.com> wrote:
> > 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