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

GRASS GIS trac at osgeo.org
Thu Apr 21 11:48:14 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 martinl):

 Replying to [comment:30 mmetz]:
 > OK. I suggest Vect!__open_old() and Vect_open_new() should initialize
 all file pointers to NULL and Vect_close() should close anything that is
 not NULL.

 it's already in trunk [source:grass/trunk/lib/vector/Vlib/open.c#L165]

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



More information about the grass-dev mailing list