[GRASS-SVN] r34107 - grass/trunk/raster/r.fill.dir
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Oct 30 14:34:27 EDT 2008
Author: neteler
Date: 2008-10-30 14:34:27 -0400 (Thu, 30 Oct 2008)
New Revision: 34107
Modified:
grass/trunk/raster/r.fill.dir/main.c
Log:
compilation fix as suggested by Glynn on grass-dev
Modified: grass/trunk/raster/r.fill.dir/main.c
===================================================================
--- grass/trunk/raster/r.fill.dir/main.c 2008-10-30 18:33:50 UTC (rev 34106)
+++ grass/trunk/raster/r.fill.dir/main.c 2008-10-30 18:34:27 UTC (rev 34107)
@@ -205,9 +205,9 @@
tempfile2 = G_tempfile();
tempfile3 = G_tempfile();
- fe = open(tempfile1, O_RDWR | O_CREAT); /* elev */
- fd = open(tempfile2, O_RDWR | O_CREAT); /* dirn */
- fm = open(tempfile3, O_RDWR | O_CREAT); /* problems */
+ fe = open(tempfile1, O_RDWR | O_CREAT, 0666); /* elev */
+ fd = open(tempfile2, O_RDWR | O_CREAT, 0666); /* dirn */
+ fm = open(tempfile3, O_RDWR | O_CREAT, 0666); /* problems */
G_message(_("Reading map..."));
for (i = 0; i < nrows; i++) {
More information about the grass-commit
mailing list