aboutsummaryrefslogtreecommitdiffstats
path: root/common/stringhelp.h
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2015-11-25 12:39:50 +0000
committerJustus Winter <[email protected]>2015-11-25 13:34:16 +0000
commitf76fb047c15914ba44dc9423d235484758bcd721 (patch)
treea3ea6388c08ff2544a36409c7f4a1c3fcc3a3d24 /common/stringhelp.h
parenttools: Add encryption and decryption support to gpgtar. (diff)
downloadgnupg-f76fb047c15914ba44dc9423d235484758bcd721.tar.gz
gnupg-f76fb047c15914ba44dc9423d235484758bcd721.zip
tools/gpgtar: Improve error handling.
* tools/gpgtar-create.c (gpgtar_create): Return an error code, fix error handling. * tools/gpgtar-extract.c (gpgtar_extract): Likewise. * tools/gpgtar-list.c (read_header): Return an error code. (gpgtar_list): Return an error code, fix error handling. (gpgtar_read_header): Return an error code. * tools/gpgtar.c: Add missing include. (main): Print an generic error message if a command failed and no error has been printed yet. * tools/gpgtar.h (gpgtar_{create,extract,list,read_header}): Fix the prototypes accordingly. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'common/stringhelp.h')
0 files changed, 0 insertions, 0 deletions