[GRASS-dev] Re: [GRASS GIS] #1158: Removing vector map in Windows fails with "Unable to delete vector map"

GRASS GIS trac at osgeo.org
Mon Aug 29 17:42:35 EDT 2011


#1158: Removing vector map in Windows fails with "Unable to delete vector map"
--------------------------------------------------------------------------+-
 Reporter:  lponti                                                        |       Owner:  grass-dev@…              
     Type:  defect                                                        |      Status:  new                      
 Priority:  blocker                                                       |   Milestone:  6.4.2                    
Component:  Vector                                                        |     Version:  6.4.0                    
 Keywords:  wingrass, g.mremove, wildcards, v.in.ogr, v.select, g.remove  |    Platform:  MSWindows 7              
      Cpu:  Unspecified                                                   |  
--------------------------------------------------------------------------+-

Comment(by glynn):

 Replying to [comment:42 mmetz]:

 > Has r42668 been an incomplete backport to 6.4? G_wait() has been
 introduced in trunk with r40648, i.e. before the backport to 6.4.

 40648 changed a lot of other stuff. Specifically, it replaced the existing
 G_popen() function (which was just a wrapper around popen()) with a new
 function based around G_spawn_ex(), and changed everything which was using
 the previous G_popen() function accordingly.

 It was at this point that the need for G_wait() was discovered, so it was
 added as part of the same changeset (r40648).

 6.4 still uses the old G_popen() function and 6.5 uses popen() directly,
 so most of r40648 cannot be back-ported. But the changes to
 lib/gis/spawn.c can and should be.

 > Do the small differences in lib/gis/spawn.c between trunk and 6.4 really
 make sense?

 No; that file should be sync'd from trunk to 6.x.

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



More information about the grass-dev mailing list