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
/
stdio
/
tmpfile.c
diff --git
a/libc/stdio/tmpfile.c
b/libc/stdio/tmpfile.c
index
a9bf474
..
83c85b5
100644
(file)
--- a/
libc/stdio/tmpfile.c
+++ b/
libc/stdio/tmpfile.c
@@
-35,7
+35,7
@@
FILE * tmpfile (void)
if (__path_search (buf, FILENAME_MAX, NULL, "tmpf", 0))
return NULL;
- fd = __gen_tempname (buf, __GT_FILE, S_IRUSR | S_IWUSR);
+ fd = __gen_tempname (buf, __GT_FILE,
0,
S_IRUSR | S_IWUSR);
if (fd < 0)
return NULL;