projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
577ae1d
)
eina: just for a little bit of better portability.
author
Cedric Bail
<cedric.bail@samsung.com>
Wed, 16 Oct 2013 07:54:36 +0000
(16:54 +0900)
committer
Cedric Bail
<cedric.bail@samsung.com>
Wed, 16 Oct 2013 07:54:36 +0000
(16:54 +0900)
src/lib/eina/eina_file_common.c
patch
|
blob
|
history
diff --git
a/src/lib/eina/eina_file_common.c
b/src/lib/eina/eina_file_common.c
index
3a68345
..
ac7d020
100644
(file)
--- a/
src/lib/eina/eina_file_common.c
+++ b/
src/lib/eina/eina_file_common.c
@@
-884,7
+884,7
@@
eina_file_mkstemp(const char *templatename, Eina_Tmpstr **path)
* Make sure temp file is created with secure permissions,
* http://man7.org/linux/man-pages/man3/mkstemp.3.html#NOTES
*/
- old_umask = umask(
0077
);
+ old_umask = umask(
S_IRWXG|S_IRWXO
);
fd = mkstemp(buffer);
umask(old_umask);