aboutsummaryrefslogtreecommitdiffstats
path: root/gpgme/debug.c
Commit message (Collapse)AuthorAgeFilesLines
* 2002-05-08 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-05-081-156/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * debug.h: New file. * Makefile.am (libgpgme_la_SOURCES): Add debug.h. * util.h: Removed all prototypes and declarations related to debugging. Include "debug.h". * debug.c (debug_level): Comment variable and remove superfluous zero initializer. (errfp): Likewise. (_gpgme_debug_enabled): Function removed. (struct debug_control_s): Definition removed. (_gpgme_debug_level): Function removed. (_gpgme_debug_begin): Rewritten to use vasprintf. Accept a pritnf-style format specification and a variable number of arguments. (_gpgme_debug_add): Rewritten using vasprintf. Expect that format starts out with "%s" for simplicity. (_gpgme_debug_end): Rewritten using vasprintf. Do not accept a TEXT argument anymore. * posix-io.c (_gpgme_io_select): Use new level argument for DEBUG_BEGIN instead explicit if construct. * debug.c (debug_init): Remove superfluous zero initializer, remove volatile flag of INITIALIZED. Do not use the double-checked locking algorithm, it is fundamentally flawed and will empty your fridge (on a more serious note, despite the volatile flag it doesn't give you the guarantee you would expect, for example on a DEC Alpha or an SMP machine. The volatile only serializes accesses to the volatile variable, but not to the other variables).
* Ready to release 0.2.2gpgme-0-2-2Werner Koch2001-06-121-1/+17
|
* Release 0.2.1gpgme-0-2-1Werner Koch2001-04-021-9/+74
|
* Multiple signatures can now be verified.Werner Koch2001-02-121-0/+1
|
* Fixed W32 bugs and one major bug which swallowed up some output.Werner Koch2001-01-311-0/+2
|
* Lookup the path in the RegistryWerner Koch2001-01-301-1/+1
|
* Add better debug printing. Use reader threads for W32Werner Koch2001-01-301-0/+156