[GRASS-SVN] r44707 - grass/branches/develbranch_6/imagery/i.modis.qc
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Dec 23 20:14:00 EST 2010
Author: neteler
Date: 2010-12-23 17:14:00 -0800 (Thu, 23 Dec 2010)
New Revision: 44707
Modified:
grass/branches/develbranch_6/imagery/i.modis.qc/main.c
Log:
trap wrong output name
Modified: grass/branches/develbranch_6/imagery/i.modis.qc/main.c
===================================================================
--- grass/branches/develbranch_6/imagery/i.modis.qc/main.c 2010-12-24 01:02:22 UTC (rev 44706)
+++ grass/branches/develbranch_6/imagery/i.modis.qc/main.c 2010-12-24 01:14:00 UTC (rev 44707)
@@ -229,6 +229,8 @@
/* Create New raster files */
outfd = G_open_cell_new(result);
+ if (outfd < 0)
+ G_fatal_error(_("Unable to create raster map <%s>"), result);
/* Process pixels */
for (row = 0; row < nrows; row++)
More information about the grass-commit
mailing list