aboutsummaryrefslogtreecommitdiffstats
path: root/common/t-stringhelp.c
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2015-03-17 09:48:09 +0000
committerWerner Koch <[email protected]>2015-03-17 10:55:22 +0000
commit6cbbb0bec98e1acefc4c7163cc41a507469db920 (patch)
tree72af423253180a75d9d60e85ff818a603f79a68f /common/t-stringhelp.c
parentcommon: Add feature to ease using argparse's usage(). (diff)
downloadgnupg-6cbbb0bec98e1acefc4c7163cc41a507469db920.tar.gz
gnupg-6cbbb0bec98e1acefc4c7163cc41a507469db920.zip
gpgtar: Fix extracting files with !(size % 512)
* tools/gpgtar-extract.c (extract_regular): Handle size multiples of RECORDSIZE. -- If a hdr->size was a multiple of 512 the last record would not have been written and the files corrupted accordingly. GnuPG-bug-id: 1926 Signed-off-by: Andre Heinecke <[email protected]> Changed to use only if-else. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/t-stringhelp.c')
0 files changed, 0 insertions, 0 deletions