[GRASS-SVN] r41376 - grass/trunk/gem
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Mar 9 19:39:40 EST 2010
Author: glynn
Date: 2010-03-09 19:39:39 -0500 (Tue, 09 Mar 2010)
New Revision: 41376
Modified:
grass/trunk/gem/actions.c
Log:
Fix missing mode parameter (bug #993)
Modified: grass/trunk/gem/actions.c
===================================================================
--- grass/trunk/gem/actions.c 2010-03-09 11:19:43 UTC (rev 41375)
+++ grass/trunk/gem/actions.c 2010-03-10 00:39:39 UTC (rev 41376)
@@ -97,7 +97,7 @@
/* TODO: Do not hardcode temp paths */
strcpy(TMPDIR, "/tmp/grass.extension.XXXXXX"); /* tmpdir is a global variable */
mkstemp(TMPDIR);
- fd = open(TMPDIR, O_CREAT);
+ fd = open(TMPDIR, O_CREAT, 0777);
if (fd == -1) {
print_error(ERR_UNPACK_EXT,
"could not create temp directory name: %s",
More information about the grass-commit
mailing list