Home GnuPG
Diffusion GnuPG 232af382e563

Flag the L_() function with attribute format_arg.
232af382e563Unpublished

Unpublished Commit · Learn More

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

Description

Flag the L_() function with attribute format_arg.

* agent/agent.h (LunderscorePROTO): New.
* common/util.h (GNUPG_GCC_ATTR_FORMAT_ARG): New.
* common/i18n.h (GNUPG_GCC_ATTR_FORMAT_ARG): New. Use for
i18n_localegettext.  Expand LunderscorePROTO.
* agent/genkey.c (check_passphrase_constraints): Use xtryasprintf
again to keep the old translations.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jun 30 2015, 10:28 PM
Parents
rGe76d4c05b242: agent: Use different translation func for Pinentry strings.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG232af382e563: Flag the L_() function with attribute format_arg. (authored by Werner Koch <wk@gnupg.org>).Jun 30 2015, 10:28 PM