Home GnuPG
Diffusion GnuPG 44ad9f29d43f

gpg: Change out of core error message.
44ad9f29d43fUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpg: Change out of core error message.

* g10/tofu.c (fingerprint_str): Die with the error code returned by
the failed function.
(time_ago_str): Ditto.  Do not make a comma translatable.
(fingerprint_format): Use "%zu" for a size_t.

Also wrapped some long strings.

In general we should not use log_fatal or use xmalloc functions but
properly return an error code and use xtrymalloc like functions.

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

Details

Provenance
wernerAuthored on Nov 3 2015, 11:15 PM
Parents
rG62b8cd5495dc: gpg: Make translation easier.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG44ad9f29d43f: gpg: Change out of core error message. (authored by Werner Koch <wk@gnupg.org>).Nov 3 2015, 11:20 PM