projects
/
platform
/
upstream
/
orc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbf5f9c
)
fix last commit
author
David Schleef
<ds@schleef.org>
Wed, 8 Jul 2009 06:10:02 +0000
(23:10 -0700)
committer
David Schleef
<ds@schleef.org>
Wed, 8 Jul 2009 06:10:02 +0000
(23:10 -0700)
orc/orccodemem.c
patch
|
blob
|
history
diff --git
a/orc/orccodemem.c
b/orc/orccodemem.c
index
f3ae071
..
8d8ba9c
100644
(file)
--- a/
orc/orccodemem.c
+++ b/
orc/orccodemem.c
@@
-45,7
+45,7
@@
orc_compiler_allocate_codemem (OrcCompiler *compiler)
filename = malloc (strlen ("/tmp/orcexec") +
strlen (compiler->program->name) + 1);
sprintf(filename, "/tmp/orcexec%s", compiler->program->name);
- fd = open (filename, O_RDWR);
+ fd = open (filename, O_RDWR
| O_CREAT, S_IRWXU
);
if (fd == -1) {
/* FIXME oh crap */
ORC_COMPILER_ERROR (compiler, "failed to create temp file");