diff options
author | Werner Koch <[email protected]> | 2019-06-05 11:10:52 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2019-06-05 11:11:16 +0000 |
commit | 856d2e8d64f668855b1c22d3d38fe783904c6c48 (patch) | |
tree | b440a55d4198c111c997e81d13b9c648bfc5eebf /src/assuan-support.c | |
parent | json: Print "nan", "-inf", "inf" if needed. (diff) | |
download | gpgme-856d2e8d64f668855b1c22d3d38fe783904c6c48.tar.gz gpgme-856d2e8d64f668855b1c22d3d38fe783904c6c48.zip |
core: Avoid explicit locks in the debug code.
* src/debug.c (debug_lock): Remove. Also remove all users.
(_gpgme_debug): Use gpgrt_bsprintf to prepare the output and finally
print using standard fprintf. Reformat to prefix to be narrower.
--
Note that the locks are now implicitly done using the systems stdio.
The threadid is now printed with 4 digits in hex and thus without the
angle brackets and the 0x. However it is still a hex number even if it
may look like an octal number. The hex letters are uppercase to make
searching in locks easier iff the threadid happens to have a letter in
it.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/assuan-support.c')
0 files changed, 0 insertions, 0 deletions