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
/
mkstemp.c
diff --git
a/libc/stdlib/mkstemp.c
b/libc/stdlib/mkstemp.c
index
61c7175
..
a3a1595
100644
(file)
--- a/
libc/stdlib/mkstemp.c
+++ b/
libc/stdlib/mkstemp.c
@@
-26,5
+26,5
@@
Then open the file and return a fd. */
int mkstemp (char *template)
{
- return __gen_tempname (template, __GT_FILE, S_IRUSR | S_IWUSR);
+ return __gen_tempname (template, __GT_FILE,
0,
S_IRUSR | S_IWUSR);
}