[GRASS-SVN] r59957 - grass/trunk/lib/raster

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


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

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

Modified: grass/trunk/lib/raster/close.c
===================================================================
--- grass/trunk/lib/raster/close.c	2014-04-29 07:01:24 UTC (rev 59956)
+++ grass/trunk/lib/raster/close.c	2014-04-29 08:08:03 UTC (rev 59957)
@@ -411,7 +411,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