[GRASS5] Re: [GRASSLIST:2833] core dumps after i.rectify

frank at gevaerts.be frank at gevaerts.be
Tue Jan 1 13:31:23 EST 2002


On Tue, 1 Jan 2002, Eric G. Miller wrote:

<clipped>
 
> Alright, the problem seems to be that in "exec.c", G_put_cellhd() is
> called after the raster has been written. I think it is entirely
> unnecessary (and obviously screws up some critical info).  I created
> an integer test file (floats didn't seem to be affected), and after
> commenting the G_put_cellhd() call, the rectified image doesn't
> cause a segfault.  Would others care to try... ?

It seems to work here

Frank

> 
> It's around, line 75 or so...
>         
>         ...
>         if (rectify (name, mapset, result,order))
>         {
>             select_target_env();
> /*          G_put_cellhd (result,&target_window); */
>             if(cats_ok)
>             {
>         ...
> 
> -- 
> Eric G. Miller <egm2 at jps.net>
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5
> 

HI! I'm a .signature virus! cp me into your .signature file to help me spread!




More information about the grass-dev mailing list