tokkee.org
Code
projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update draft release notes for 1.5.1
[git.git]
/
path.c
diff --git
a/path.c
b/path.c
index 94ddd7eafcb11313f00dac964de520c535d202ae..c5d25a4b903bd92930df4004d30d4dffa6054456 100644
(file)
--- a/
path.c
+++ b/
path.c
@@
-114,7
+114,7
@@
int validate_headref(const char *path)
fd = open(path, O_RDONLY);
if (fd < 0)
return -1;
- len = read(fd, buffer, sizeof(buffer)-1);
+ len = read
_in_full
(fd, buffer, sizeof(buffer)-1);
close(fd);
/*