Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] Audit rev-parse users.
[gitweb.git]
/
csum-file.c
diff --git
a/csum-file.c
b/csum-file.c
index c8c7369152cd2b744aae488eb794c12ffbdfe9b9..907efbf860152347bffe0cc999fdacad2a5f0724 100644
(file)
--- a/
csum-file.c
+++ b/
csum-file.c
@@
-86,7
+86,7
@@
struct sha1file *sha1create(const char *fmt, ...)
die("you wascally wabbit, you");
f->namelen = len;
- fd = open(f->name, O_CREAT | O_EXCL | O_WRONLY, 06
44
);
+ fd = open(f->name, O_CREAT | O_EXCL | O_WRONLY, 06
66
);
if (fd < 0)
die("unable to open %s (%s)", f->name, strerror(errno));
f->fd = fd;