[GRASS-SVN] r60148 - grass/trunk/lib/raster
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed May 7 11:13:21 PDT 2014
Author: mmetz
Date: 2014-05-07 11:13:21 -0700 (Wed, 07 May 2014)
New Revision: 60148
Modified:
grass/trunk/lib/raster/open.c
Log:
rasterlib: report reason when no temp files available
Modified: grass/trunk/lib/raster/open.c
===================================================================
--- grass/trunk/lib/raster/open.c 2014-05-07 16:07:55 UTC (rev 60147)
+++ grass/trunk/lib/raster/open.c 2014-05-07 18:13:21 UTC (rev 60148)
@@ -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