Roger Bivand wrote:

> CC-ed to GRASS-dev, short file name buffer issue in 
> raster/r.out.bin/main.c line 225:

> Yes, because a shorter file name buffer is declared on line 225 of main.c 
> in r.out.bin - with a length of 100, so fname fits, but the header 
> overwrites it, I think - could I suggest that the lengths of the out_bufs 
> in line 255 be set to [GNAME_MAX] instead?

GPATH_MAX is the standard constant for pathnames.

Fixed in CVS.

-- 
Glynn Clements <[EMAIL PROTECTED]>

_______________________________________________
grass-dev mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grass-dev

Reply via email to