[GRASS-dev] Re: [GRASS GIS] #606: WinGRASS GIS.m: broken newlines in output window

GRASS GIS trac at osgeo.org
Mon May 18 06:07:44 EDT 2009


#606: WinGRASS GIS.m: broken newlines in output window
---------------------------+------------------------------------------------
  Reporter:  hamish        |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect        |      Status:  new                      
  Priority:  major         |   Milestone:  6.4.0                    
 Component:  Tcl           |     Version:  6.4.0 RCs                
Resolution:                |    Keywords:  wingrass gis.m           
  Platform:  MSWindows XP  |         Cpu:  x86-32                   
---------------------------+------------------------------------------------
Comment (by hamish):

 Replying to [comment:2 glynn]:
 > Don't use Tcl's "update" command unless you are able and willing
 > to make the function and everything which calls it re-entrant.
 > Even then, don't use it, as someone will eventually modify the
 > code without considering the re-entrancy issues, and we'll end
 > up spending days trying to track down a hard-to-reproduce bug.
 > Again.

 ok. note that I was just cutting and pasting it from two or three lines
 down in the same function where it was already used.


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/606#comment:5>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list