[GRASS-SVN] r36603 - grass/branches/develbranch_6/raster/r.drain
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Apr 7 02:49:31 EDT 2009
Author: neteler
Date: 2009-04-07 02:49:30 -0400 (Tue, 07 Apr 2009)
New Revision: 36603
Modified:
grass/branches/develbranch_6/raster/r.drain/main.c
Log:
up
Modified: grass/branches/develbranch_6/raster/r.drain/main.c
===================================================================
--- grass/branches/develbranch_6/raster/r.drain/main.c 2009-04-06 13:02:58 UTC (rev 36602)
+++ grass/branches/develbranch_6/raster/r.drain/main.c 2009-04-07 06:49:30 UTC (rev 36603)
@@ -384,7 +384,7 @@
dir_buf = G_allocate_d_raster_buf();
dir_id = G_open_cell_old(dir_name, dir_mapset);
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