Home GnuPG

Improve tracing of estream.
f27e516aabd2Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Improve tracing of estream.

* src/gpgrt-int.h (trace_errno): Add new parameter.  Adjust all users.
* src/init.c (trace_fp, trace_with_errno, trace_missing_lf)
(trace_prefix_done): New vars.
(_gpgrt_internal_trace_begin): Add arg WITH_ERRNO.  Open a trace file
on first use.  Init new vars.
(print_internal_trace_prefix): New.
* src/estream.c, src/w32-estream.c: Improve tracing.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 28 2017, 10:05 AM
Parents
rE07d5bd918d21: w32: Fix gpgrt_poll for Windows.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rEf27e516aabd2: Improve tracing of estream. (authored by Werner Koch <wk@gnupg.org>).Feb 28 2017, 10:06 AM