Home GnuPG

tools: Allow error symbol lookup w/o the GPG_ERR_ prefix.

Description

tools: Allow error symbol lookup w/o the GPG_ERR_ prefix.

* src/gpg-error.c (get_err_from_codesymbol): New.
(main): Use it here.

Saves lot of typing for example when looking up an error description
using --desc.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 6 2020, 9:14 PM
Parents
rE6e4b5ca624cb: build: Always pass -no-undefined to libtool.
Branches
Unknown
Tags
Unknown