[GRASS-SVN] r60201 - grass/branches/develbranch_6/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Sun May 11 14:21:49 PDT 2014


Author: neteler
Date: 2014-05-11 14:21:49 -0700 (Sun, 11 May 2014)
New Revision: 60201

Modified:
   grass/branches/develbranch_6/lib/gis/opencell.c
Log:
gislib: report reason when no temp files available (backport of trunk, r60148)

Modified: grass/branches/develbranch_6/lib/gis/opencell.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/opencell.c	2014-05-11 21:15:58 UTC (rev 60200)
+++ grass/branches/develbranch_6/lib/gis/opencell.c	2014-05-11 21:21:49 UTC (rev 60201)
@@ -663,7 +663,7 @@
     tempname = G_tempfile();
     fd = creat(tempname, 0666);
     if (fd < 0) {
-	G_warning(_("G__open_raster_new(): no temp files available"));
+	G_warning(_("No temp files available: %s"), strerror(errno));
 	G_free(tempname);
 	G_free(map);
 	G_free(mapset);



More information about the grass-commit mailing list