Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/dumb-http-idx-fetch-fix'
[gitweb.git]
/
server-info.c
diff --git
a/server-info.c
b/server-info.c
index 31f4a749fbad73b9f7bc1f1ebf9b11fd743ab374..34b0253177a0e6d09e317064cd3ec31e26002520 100644
(file)
--- a/
server-info.c
+++ b/
server-info.c
@@
-17,7
+17,7
@@
static int update_info_file(char *path, int (*generate)(FILE *))
FILE *fp = NULL;
safe_create_leading_directories(path);
- fd =
mkstemp(tmp
);
+ fd =
git_mkstemp_mode(tmp, 0666
);
if (fd < 0)
goto out;
fp = fdopen(fd, "w");