[GRASS5] [bug #799] (grass) d.labels: unable to reject label

this bug's URL: http://intevation.de/rt/webrt?serial_num=799
-------------------------------------------------------------------------

Subject: d.labels: unable to reject label

Platform: SUN/Solaris2.8
Xwindows version: Xsun
Xwindows manager: dtwm
TclTk version: tcl/tk 8.3
grass downloaded at: CVS Server, Germany
grass binary for platform: I compiled the sources myself
grass sources source: yes, I am using the latest GRASS from CVS
c compiler name: gcc

Using d.labels to add labels to a raster map. Able to enter and save labels using the mouse. When I try to reject a label by right clicking it kills the graphics window with the following error message:

ERROR eof from graphics driver.

along with a core dump in the current directory.

Grass continues to run normally otherwise.

-------------------------------------------- Managed by Request Tracker

There's at least a misplaced unlink() call around line 298 in do_label.c.
Moving is down solves the segfault/eof combo, but the code below it doesn't
seem to be handling the button selections correctly. Will try to look at it
more later...

--
Eric G. Miller <egm2@jps.net>