[GRASS-SVN] r67527 - grass/trunk/raster/r.fill.dir

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 9 05:58:09 PST 2016


Author: annakrat
Date: 2016-01-09 05:58:09 -0800 (Sat, 09 Jan 2016)
New Revision: 67527

Modified:
   grass/trunk/raster/r.fill.dir/main.c
Log:
r.fill.dir: remove temporary files when done

Modified: grass/trunk/raster/r.fill.dir/main.c
===================================================================
--- grass/trunk/raster/r.fill.dir/main.c	2016-01-09 10:29:28 UTC (rev 67526)
+++ grass/trunk/raster/r.fill.dir/main.c	2016-01-09 13:58:09 UTC (rev 67527)
@@ -271,6 +271,10 @@
     Rast_close(dir_id);
     close(fd);
 
+    unlink(tempfile1);
+    unlink(tempfile2);
+    unlink(tempfile3);
+
     G_free(in_buf);
     G_free(out_buf);
 



More information about the grass-commit mailing list