#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 mmetz):

 Replying to [comment:23 marisn]:
 > I changed bug summary to better reflect it's scope.
 >
 > It affects also v.in.ogr removal of temporary files (coor and not hist
 file). Bug #1303

 Hopefully fixed for devbr in r46041.

 Vect_delete() uses unlink(), whereas raster and all other files are
 removed by remove(): the file will remain in existence until the last file
 descriptor referring to it is closed (at least on Linux). In
 Vect_delete(), I have replaced unlink() with remove(), working on Linux,
 awaits testing on Windows.

 Markus M

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

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to