Home GnuPG
Diffusion GPGME 4a4680f8901e

core, w32: Fix format string errors on windows

Description

core, w32: Fix format string errors on windows

* src/debug.c (_gpgme_debug): Use gpgrt_vasprintf instead of
vfprintf to have a more portable format.

This fixes crashes on Windows because "%zu" is used which
is not natively supported on Windows but which gpgrt supports.

Details

Provenance
aheineckeAuthored on Mar 27 2019, 5:47 PM
Parents
rM19a4c4daa2cf: core: Fix assuan logger-fd hack for windows
Branches
Unknown
Tags
Unknown