]> cygwin.com Git - cygwin-apps/setup.git/commit
Handle tar type flag 'K' (GNU long link extension)
authorJon Turney <jon.turney@dronecode.org.uk>
Thu, 10 Feb 2022 15:38:56 +0000 (15:38 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Mon, 14 Feb 2022 19:45:22 +0000 (19:45 +0000)
commit2d365d75a91d6834b44c21def409fff1f9fb0199
tree3242bd6f1d85fbc4af10c8cdfe7893683d65197b
parentd014df0a09ac0acdf72be5cb52e2b13dcadfb758
Handle tar type flag 'K' (GNU long link extension)

Handle tar type flag'K' (GNU long link extension)
Also report unexpected filename in headers with long name extension type
Also clean up some cruft in archive_tar.cc

Currently, the only existing package which contains type flag 'K'
entries is f21-backgrounds-extras.

This also now correctly handles tar archive header linknames of exactly
100 characters (even when not preceeded by a 'K' type header), where the
linkname field is not null terminated as it should be, rather than
allowing the 'ustar\0' magic immediately following it to be interpreted
as part of the linkname.
archive_tar.cc
archive_tar.h
This page took 0.032745 seconds and 5 git commands to generate.