Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Make sure get_sha1 does not accept ambiguous sha1 prefix (again).
[gitweb.git]
/
mailsplit.c
diff --git
a/mailsplit.c
b/mailsplit.c
index a3238c20da27c3348d406066b595cd085e600558..7afea1aaca6af966b6532ba66f7411d897a2874f 100644
(file)
--- a/
mailsplit.c
+++ b/
mailsplit.c
@@
-128,7
+128,7
@@
int main(int argc, char **argv)
unsigned long len = parse_email(map, size);
assert(len <= size);
sprintf(name, "%04d", ++nr);
- fd = open(name, O_WRONLY | O_CREAT | O_EXCL, 06
00
);
+ fd = open(name, O_WRONLY | O_CREAT | O_EXCL, 06
66
);
if (fd < 0) {
perror(name);
exit(1);