]> Dogcows Code - chaz/tar/commit
(xheader_keyword_deleted_p): Remove static
authorSergey Poznyakoff <gray@gnu.org.ua>
Mon, 7 Nov 2005 02:52:58 +0000 (02:52 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Mon, 7 Nov 2005 02:52:58 +0000 (02:52 +0000)
commit374ae10d39e9e52789a00202c831a1c7c45e1610
tree86d0c885ef624fe462f27a1b4686bc9cdde0a735
parent4d22cbd47cdc5e9a346351ced8c9667ab4bb8292
(xheader_keyword_deleted_p): Remove static
qualifier.
(struct xhdr_tab.decoder): Change prototype. POSIX allows string
values to contain embedded nulls, so take an extra argument
specifying the length of the string.
(decx,decg,dummy_decoder,atime_decoder,gid_decoder)
(gname_decoder,linkpath_decoder,ctime_decoder,mtime_decoder)
(path_decoder,size_decoder,uid_decoder,uname_decoder)
(sparse_size_decoder,sparse_numblocks_decoder)
(sparse_offset_decoder,sparse_numbytes_decoder): Likewise.
(decode_record): Pass value length to the handler
(run_override_list): Pass value length to the decoder
(xheader_print_n): New function
(xheader_print): Rewritten using xheader_print_n
(xheader_finish): Do not rely om strlen to compute the length of
the collected string: it can contain embedded nulls
(xheader_string_begin,xheader_string_add,xheader_string_end): New
functions.
(sparse_map_decoder,dumpdir_coder,dumpdir_decoder): New
functions. Handle GNU.sparse.map and GNU.dumpdir variables.
(xhdr_tab): Add new variables.
src/xheader.c
This page took 0.024521 seconds and 4 git commands to generate.