[GRASS-SVN] r42828 - grass/trunk/raster/r.terraflow
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jul 18 06:01:50 EDT 2010
Author: hamish
Date: 2010-07-18 10:01:49 +0000 (Sun, 18 Jul 2010)
New Revision: 42828
Modified:
grass/trunk/raster/r.terraflow/grass2str.h
Log:
fix for last commit
Modified: grass/trunk/raster/r.terraflow/grass2str.h
===================================================================
--- grass/trunk/raster/r.terraflow/grass2str.h 2010-07-18 09:58:32 UTC (rev 42827)
+++ grass/trunk/raster/r.terraflow/grass2str.h 2010-07-18 10:01:49 UTC (rev 42828)
@@ -175,8 +175,9 @@
/* open output raster map */
int outfd;
- if ( (outfd = Rast_open_new (cellname, mtype)) < 0) {
-
+ if ( (outfd = Rast_open_new (cellname, mtype)) < 0)
+ G_fatal_error (_("Unable to create raster map <%s>"), cellname);
+
/* Allocate output buffer */
unsigned char *outrast;
outrast = (unsigned char *)Rast_allocate_buf(mtype);
More information about the grass-commit
mailing list