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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun May 11 14:15:58 PDT 2014


Author: neteler
Date: 2014-05-11 14:15:58 -0700 (Sun, 11 May 2014)
New Revision: 60200

Modified:
   grass/branches/releasebranch_7_0/lib/raster/open.c
Log:
rasterlib: report reason when no temp files available (r60148)

Modified: grass/branches/releasebranch_7_0/lib/raster/open.c
===================================================================
--- grass/branches/releasebranch_7_0/lib/raster/open.c	2014-05-11 21:13:16 UTC (rev 60199)
+++ grass/branches/releasebranch_7_0/lib/raster/open.c	2014-05-11 21:15:58 UTC (rev 60200)
@@ -592,7 +592,7 @@
 	G_free(mapset);
 	G_free(tempname);
 	G_free(map);
-	G_fatal_error(_("No temp files available"));
+	G_fatal_error(_("No temp files available: %s"), strerror(errno));
     }
 
     fd = new_fileinfo();
@@ -664,7 +664,7 @@
 	G_free(fcb->mapset);
 	G_free(fcb->temp_name);
 	close(cell_fd);
-	G_fatal_error(_("no temp files available"));
+	G_fatal_error(_("No temp files available: %s"), strerror(errno));
     }
 
     fcb->null_temp_name = tempname;



More information about the grass-commit mailing list