Skip to content
Snippets Groups Projects
Commit 707b51e0 authored by Natanael Copa's avatar Natanael Copa Committed by Timo Teräs
Browse files

io: fix posix_fallocate failure handling

We need fall back to a splice buffer if posix_fallocate call fails due
to file being a device (eg tty) or a pipe. This fixes apk fetch --stdout.
parent 1bc31bdf
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment