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)
commitbf4ba13623099c5a07db5b85036428bfc9b07636
tree21c9f09b97264ab5e12bad6ec5e711263617ad3a
parentec767f3e303c930af316b47b7b6c20e1f96c3b0c
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:
trunk/gpgme/ChangeLog
trunk/gpgme/conversion.c
trunk/gpgme/data-compat.c
trunk/gpgme/data-mem.c
trunk/gpgme/data.c
trunk/gpgme/debug.c
trunk/gpgme/debug.h
trunk/gpgme/engine-gpgsm.c
trunk/gpgme/gpgme.c
trunk/gpgme/keylist.c
trunk/gpgme/posix-io.c
trunk/gpgme/rungpg.c
trunk/gpgme/sign.c
trunk/gpgme/version.c
trunk/gpgme/w32-glib-io.c
trunk/gpgme/w32-io.c
trunk/gpgme/w32-util.c
trunk/gpgme/wait.c