[GRASSLIST:5587] Re: GRASS 5.0.1 compilation issues

Glynn Clements glynn.clements at virgin.net
Mon Feb 17 16:37:51 EST 2003


Wayne Gibson wrote:

> Running d.where also had some troubles. When I issued the command,
> an endless stream of coordinate were displayed until I made the 1st
> mouse click. Then the command worked as it should (1 pair of
> coordinates per mouse click).

I've found the bug. FWIW, it occurs when an uninitialised variable
happens to contain -1.

You can obtain an updated version of the file from:

http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass/src/display/devices/XDRIVER/XDRIVER24/Get_w_pnt.c?rev=1.11&content-type=text/plain

The file in question is:

src/display/devices/XDRIVER/XDRIVER24/Get_w_pnt.c

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list