Home GnuPG
Diffusion GPGME 6d0d8e7ba0bb

Make definition of off_t robust against misbehaving w32 toolchains.
6d0d8e7ba0bbUnpublished

Unpublished Commit · Learn More

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

Description

Make definition of off_t robust against misbehaving w32 toolchains.

* configure.ac (NEED__FILE_OFFSET_BITS): Change to define gpgme_off_t
and gpgme_ssize_t.
(API__OFF_T, API__SSIZE_T): New ac_subst.
* src/gpgme.h.in: Replace all ssize_t and off_t by ac_subst macros.
* src/assuan-support.c, src/ath-pthread.c, src/ath.c, src/ath.h
* src/data-compat.c, src/data-fd.c, src/data-mem.c, src/data-stream.c
* src/data-user.c, src/data.c, src/data.h, src/engine-gpgsm.c
* src/engine-uiserver.c, src/gpgme-tool.c, src/gpgme.c: Replace off_t
by gpgme_off_t and sszie_t by gpgme_ssize_t.
* src/ath-pthread.c, src/ath.h: Include gpgme.h.

For a detailed description, see the gpgme.texi diff.

Details

Provenance
wernerAuthored on Apr 25 2013, 1:00 PM
Parents
rM9e7df9aa6d81: w32: Change the way the I/O threads are cleaned up.
Branches
Unknown
Tags
Unknown

Event Timeline