Home GnuPG
Diffusion GPGME 15050ce5fce4

core: Replace all calls to *sprintf by gpgrt_*sprintf.
15050ce5fce4Unpublished

Unpublished Commit · Learn More

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

Description

core: Replace all calls to *sprintf by gpgrt_*sprintf.

* configure.ac (vasprintf): Remove check.
* src/vasprintf.c: Remove file.
* src/util.h (vasprintf, asprintf): Remove prototypes.  Replace all
calls to vasprintf and asprintf by gpgrt_vasprintf or gpgrt_asprintf.
Also take care to use gpgrt_free on the returned value.
* src/w32-util.c (_gpgme_get_gpgconf_path): Replace a gpgrt_asprintf
by _gpgme_strconcat.
(snprintf): New macro to use gpgrt_snprintf instead of the system's
standard snprintf.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 2 2017, 12:35 PM
Parents
rM563420a88f8a: core: Remove unused check for funopen/fopencookie.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rM15050ce5fce4: core: Replace all calls to *sprintf by gpgrt_*sprintf. (authored by Werner Koch <wk@gnupg.org>).Feb 2 2017, 12:35 PM