diff options
author | Werner Koch <[email protected]> | 2015-12-14 18:55:34 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-12-15 12:40:10 +0000 |
commit | 4ffe44c5874ed655d82adfa7a85439fab91cde03 (patch) | |
tree | 41acef6385ef8fae46358cf2c4a23b7c75e393ee /common/simple-pwquery.c | |
parent | gpg: Reduce number of strings to translate. (diff) | |
download | gnupg-4ffe44c5874ed655d82adfa7a85439fab91cde03.tar.gz gnupg-4ffe44c5874ed655d82adfa7a85439fab91cde03.zip |
common: Use default_errsource for call-gpg and exectool.
* common/call-gpg.c (my_error_from_syserror, my_error_from_errno): New.
Use these wrappers.
* common/exectool.c (my_error_from_syserror): New. Use these
wrappers.
--
Function in common should use the error source of the component which
links them. The global variable DEFAULT_ERRSOURCE is set early by
each component to make this possible.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/simple-pwquery.c')
0 files changed, 0 insertions, 0 deletions