[GRASS-SVN] r34108 - grass/trunk/raster/r.drain
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Oct 30 14:35:41 EDT 2008
Author: neteler
Date: 2008-10-30 14:35:41 -0400 (Thu, 30 Oct 2008)
New Revision: 34108
Modified:
grass/trunk/raster/r.drain/main.c
Log:
compilation fix as suggested by Glynn on grass-dev
Modified: grass/trunk/raster/r.drain/main.c
===================================================================
--- grass/trunk/raster/r.drain/main.c 2008-10-30 18:34:27 UTC (rev 34107)
+++ grass/trunk/raster/r.drain/main.c 2008-10-30 18:35:41 UTC (rev 34108)
@@ -289,8 +289,8 @@
tempfile1 = G_tempfile();
tempfile2 = G_tempfile();
- fe = open(tempfile1, O_RDWR | O_CREAT);
- fd = open(tempfile2, O_RDWR | O_CREAT);
+ fe = open(tempfile1, O_RDWR | O_CREAT, 0666);
+ fd = open(tempfile2, O_RDWR | O_CREAT, 0666);
/* transfer the input map to a temp file */
for (i = 0; i < nrows; i++) {
More information about the grass-commit
mailing list