2007-07-17 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Tue, 17 Jul 2007 12:36:04 +0000 (12:36 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Tue, 17 Jul 2007 12:36:04 +0000 (12:36 +0000)
commitd61bf6c13c1ac6fb8c20afa87e8343a38431b76f
treeeeb851c9672fb81357db2aea34beb7e09e1fc3a8
parentd1e40ac15ff28c16660cd14a4f30b5c3e8be977a
2007-07-17  Marcus Brinkmann  <marcus@g10code.de>

* debug.c:;5B Include <errno.h> and "debug.h".
(_gpgme_debug): Save and restore ERRNO.
(TOHEX): New macro.
(_gpgme_debug_buffer): New function.
* conversion.c, data-compat.c, data-mem.c, data.c, engine-gpgsm.c,
gpgme.c, keylist.c, posix-io.c, rungpg.c, sign.c, version.c,
w32-io.c, wait.c: Replace DEBUG macros by TRACE_* variants.  In
most of these files, add many more tracepoints.
18 files changed:
gpgme/ChangeLog
gpgme/conversion.c
gpgme/data-compat.c
gpgme/data-mem.c
gpgme/data.c
gpgme/debug.c
gpgme/debug.h
gpgme/engine-gpgsm.c
gpgme/gpgme.c
gpgme/keylist.c
gpgme/posix-io.c
gpgme/rungpg.c
gpgme/sign.c
gpgme/version.c
gpgme/w32-glib-io.c
gpgme/w32-io.c
gpgme/w32-util.c
gpgme/wait.c