[GRASS-SVN] r36818 - grass/trunk/raster/r.drain
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Apr 20 16:26:35 EDT 2009
Author: neteler
Date: 2009-04-20 16:26:35 -0400 (Mon, 20 Apr 2009)
New Revision: 36818
Modified:
grass/trunk/raster/r.drain/main.c
Log:
added missing argument
Modified: grass/trunk/raster/r.drain/main.c
===================================================================
--- grass/trunk/raster/r.drain/main.c 2009-04-20 12:49:52 UTC (rev 36817)
+++ grass/trunk/raster/r.drain/main.c 2009-04-20 20:26:35 UTC (rev 36818)
@@ -362,7 +362,7 @@
dir_buf = G_allocate_d_raster_buf();
dir_id = G_open_cell_old(dir_name, "");
tempfile3 = G_tempfile();
- dir_fd = open(tempfile3, O_RDWR | O_CREAT);
+ dir_fd = open(tempfile3, O_RDWR | O_CREAT, 0666);
for (i = 0; i < nrows; i++) {
G_get_d_raster_row(dir_id, dir_buf, i);
More information about the grass-commit
mailing list