2009-06-22 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Mon, 22 Jun 2009 14:50:17 +0000 (14:50 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Mon, 22 Jun 2009 14:50:17 +0000 (14:50 +0000)
commit1c454aee81e38ffbc4a615092742ae4b1e37b57f
treefa9b1896ce8bf617b6712ba95620e811d0abb9ef
parentb207a32d4ddf03deb457af84d24e443083435d75
2009-06-22  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac: Add AC_TYPE_UINTPTR_T.

* assuan/assuan.h [_ASSUAN_IN_GPGME_BUILD_ASSUAN]: Declare
_gpgme_io_connect.

src/
2009-06-22  Marcus Brinkmann  <marcus@g10code.de>

* debug.h: Everywhere, use %p instead of 0x%x to print pointer.
[HAVE_STDINT_H]: Include <stdint.h>.
(_TRACE, TRACE, TRACE0, TRACE1, TRACE2, TRACE3, TRACE6): Cast tag
to (uintptr_t) before casting it to (void*) to silence GCC
warning.

* gpgme.h.in (_GPGME_DEPRECATED_OUTSIDE_GPGME): New macro.
* sign.c (_GPGME_IN_GPGME): Define it.
* keylist.c (_GPGME_IN_GPGME): Define it.

* debug.c (_gpgme_debug_begin, _gpgme_debug_add): Handle error in
vasprintf and asprintf.

* priv-io.h: Include <sys/socket.h>.  Declare _gpgme_io_connect.

tests/
2009-06-22  Marcus Brinkmann  <marcus@g10code.de>

* gpg/t-support.h (passphrase_cb): Implement write() according to
the book to silence compiler warning.
* gpgsm/t-support.h (passphrase_cb): Likewise.
13 files changed:
ChangeLog
assuan/assuan.h
configure.ac
src/ChangeLog
src/debug.c
src/debug.h
src/gpgme.h.in
src/keylist.c
src/priv-io.h
src/sign.c
tests/ChangeLog
tests/gpg/t-support.h
tests/gpgsm/t-support.h