Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Documentation: --cherry-pick
[gitweb.git]
/
test-delta.c
diff --git
a/test-delta.c
b/test-delta.c
index 795aa08377aaa9a229affaa054e243251436f755..16595ef0a9022b1a9c677a36205526eb3567a93d 100644
(file)
--- a/
test-delta.c
+++ b/
test-delta.c
@@
-68,7
+68,7
@@
int main(int argc, char *argv[])
}
fd = open (argv[4], O_WRONLY|O_CREAT|O_TRUNC, 0666);
- if (fd < 0 || write(fd, out_buf, out_size) != out_size) {
+ if (fd < 0 || write
_in_full
(fd, out_buf, out_size) != out_size) {
perror(argv[4]);
return 1;
}