[GRASS-SVN] r34111 - grass/branches/releasebranch_6_3/raster/r.drain

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Oct 30 14:36:51 EDT 2008


Author: neteler
Date: 2008-10-30 14:36:51 -0400 (Thu, 30 Oct 2008)
New Revision: 34111

Modified:
   grass/branches/releasebranch_6_3/raster/r.drain/main.c
Log:
compilation fix as suggested by Glynn on grass-dev

Modified: grass/branches/releasebranch_6_3/raster/r.drain/main.c
===================================================================
--- grass/branches/releasebranch_6_3/raster/r.drain/main.c	2008-10-30 18:36:42 UTC (rev 34110)
+++ grass/branches/releasebranch_6_3/raster/r.drain/main.c	2008-10-30 18:36:51 UTC (rev 34111)
@@ -296,8 +296,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