[GRASS-SVN] r59958 - grass/branches/releasebranch_7_0/lib/raster

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Apr 29 01:08:14 PDT 2014


Author: mmetz
Date: 2014-04-29 01:08:14 -0700 (Tue, 29 Apr 2014)
New Revision: 59958

Modified:
   grass/branches/releasebranch_7_0/lib/raster/close.c
Log:
rasterlib: fix double close

Modified: grass/branches/releasebranch_7_0/lib/raster/close.c
===================================================================
--- grass/branches/releasebranch_7_0/lib/raster/close.c	2014-04-29 08:08:03 UTC (rev 59957)
+++ grass/branches/releasebranch_7_0/lib/raster/close.c	2014-04-29 08:08:14 UTC (rev 59958)
@@ -410,7 +410,6 @@
 			      fcb->mapset);
 	    remove(path);
 	    CELL_DIR = "cell";
-	    close(fcb->data_fd);
 	}
     }				/* ok */
     /* NOW CLOSE THE FILE DESCRIPTOR */



More information about the grass-commit mailing list