Home GnuPG
Diffusion GnuPG ec69ceab2615

gpgtar: Create extended header for long file names

Description

gpgtar: Create extended header for long file names

* tools/gpgtar-create.c (global_header_count): new.
(myreadlink): New.
(build_header): New arg r_exthdr.  Detect and store long file and link
names.  Factor checkum computation out to ...
(compute_checksum): new.
(add_extended_header_record): New.
(write_extended_header): New.
(write_file): Write extended header.

Details

Provenance
wernerAuthored on Tue, Jan 4, 5:15 PM
Parents
rGc4153f7021af: build: Fixes recent commits to still build with gpgrt 1.27.
Branches
Unknown
Tags
Unknown
Tasks
T5754: gpgtar needs to support longer filenames.