OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mkostemp: fix implementation
[uclinux-h8/uClibc.git]
/
libc
/
stdlib
/
mkostemp64.c
diff --git
a/libc/stdlib/mkostemp64.c
b/libc/stdlib/mkostemp64.c
index
d21def5
..
c6d6d84
100644
(file)
--- a/
libc/stdlib/mkostemp64.c
+++ b/
libc/stdlib/mkostemp64.c
@@
-27,5
+27,5
@@
int
mkostemp64 (char *template, int flags)
{
- return __gen_tempname (template, __GT_BIGFILE, flags | O_LARGEFILE);
+ return __gen_tempname (template, __GT_BIGFILE, flags | O_LARGEFILE
, S_IRUSR | S_IWUSR | S_IXUSR
);
}