projects
/
platform
/
upstream
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 2.14.3
[platform/upstream/git.git]
/
t
/
helper
/
test-delta.c
diff --git
a/t/helper/test-delta.c
b/t/helper/test-delta.c
index
59937dc
..
591730a
100644
(file)
--- a/
t/helper/test-delta.c
+++ b/
t/helper/test-delta.c
@@
-69,7
+69,7
@@
int cmd_main(int argc, const char **argv)
}
fd = open (argv[4], O_WRONLY|O_CREAT|O_TRUNC, 0666);
- if (fd < 0 || write_in_full(fd, out_buf, out_size)
!= out_size
) {
+ if (fd < 0 || write_in_full(fd, out_buf, out_size)
< 0
) {
perror(argv[4]);
return 1;
}