]> git.ipfire.org Git - thirdparty/zstd.git/commit
Check regular file for sparse support after opening
authorLi-Yu Yu <aaronyu@google.com>
Fri, 28 Mar 2025 21:16:29 +0000 (21:16 +0000)
committerLi-Yu Yu <aaronyu@google.com>
Fri, 28 Mar 2025 21:23:10 +0000 (21:23 +0000)
commit3bd5aa34046ef02ed0e8e04aa5e464a5a10bb042
tree411b46f0fc1f452dee03758ba2652e694a52dffc
parentc5926fbab893423ec43439a82fbddcc1b40dfe1a
Check regular file for sparse support after opening

A regular file may be created by the open call.
Checking after opening allows sparseFileSupport even
if dstFileName does not already exist.
programs/fileio.c
programs/util.c
programs/util.h