Home GnuPG
Diffusion GPGME 7cfc93193d53

core: Fix results returned by gpgme_data_* functions

Description

core: Fix results returned by gpgme_data_* functions

src/debug.h (TRACE_SYSRES_OFF_T, _trace_sysres_off_t,
TRACE_SYSRES_SSIZE_T, _trace_sysres_ssize_t): New.
src/data.c (gpgme_data_read, gpgme_data_write, gpgme_data_seek): Use

appropriate new tracing macros instead of casting the results to int.

This change adds tracing macros for results of system functions of
type off_t and ssize_t.

Details

Provenance
ikloeckerAuthored on Aug 3 2021, 12:09 PM
Parents
rM4b64774b6d13: core: Support closefrom also for glibc.
Branches
Unknown
Tags
Unknown
Tasks
T5481: Kleopatra: Progress indication for large archives wrong