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
Disallow invalid --pretty= abbreviations
[git.git]
/
dir.c
diff --git
a/dir.c
b/dir.c
index 0338d6c4e0ab4409d6023db96f5298d292692099..32b57f0125d1b9e95345eb23a9a32fbf8444b1b8 100644
(file)
--- a/
dir.c
+++ b/
dir.c
@@
-142,7
+142,7
@@
static int add_excludes_from_file_1(const char *fname,
return 0;
}
buf = xmalloc(size+1);
- if (read(fd, buf, size) != size)
+ if (read
_in_full
(fd, buf, size) != size)
goto err;
close(fd);