[GRASS-SVN] r34106 - grass/branches/releasebranch_6_3/raster/r.fill.dir

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Oct 30 14:33:50 EDT 2008


Author: neteler
Date: 2008-10-30 14:33:50 -0400 (Thu, 30 Oct 2008)
New Revision: 34106

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

Modified: grass/branches/releasebranch_6_3/raster/r.fill.dir/main.c
===================================================================
--- grass/branches/releasebranch_6_3/raster/r.fill.dir/main.c	2008-10-30 16:16:19 UTC (rev 34105)
+++ grass/branches/releasebranch_6_3/raster/r.fill.dir/main.c	2008-10-30 18:33:50 UTC (rev 34106)
@@ -196,9 +196,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