mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-02-01 20:22:51 +00:00
abuild-tar: fix splice arguments
This commit is contained in:
parent
ed2733c65b
commit
43f32cdeef
@ -153,7 +153,7 @@ static ssize_t full_splice(int from_fd, int to_fd, size_t count)
|
||||
|
||||
total = 0;
|
||||
do {
|
||||
n = splice(from_fd, NULL, to_fd, count, 0);
|
||||
n = splice(from_fd, NULL, to_fd, NULL, count, 0);
|
||||
if (n < 0 && errno == EINTR)
|
||||
continue;
|
||||
if (n <= 0)
|
||||
|
Loading…
Reference in New Issue
Block a user