aboutsummaryrefslogtreecommitdiff
path: root/tests/libtar/tar_sparse_gnu.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-03-30 17:54:33 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-03-30 17:57:30 +0200
commit7c6c0c07dda1f44b930ee2dbb9451979b6a2cb83 (patch)
tree1c9c3c7b1f81f4c7f425d17d197941bd3dece60e /tests/libtar/tar_sparse_gnu.c
parentd92098b92dad44eeb4bf40bfca8818bd2d660a99 (diff)
Fix: don't throw an error if fsync() returns EINVAL
This indicates that sync isn't possible on the underlying file descriptor (e.g. a pipe), which currently causes sqfs2tar to err if the output isn't written directly to a file. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/libtar/tar_sparse_gnu.c')
0 files changed, 0 insertions, 0 deletions