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

(sorry if this appears twice, I sent it out with the wrong sender address
at first)

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@jps.net>
_______________________________________________
grass5 mailing list
grass5@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!