diff options
Diffstat (limited to 'common/ChangeLog')
-rw-r--r-- | common/ChangeLog | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/common/ChangeLog b/common/ChangeLog index 6f4b70b30..5fd8b03a9 100644 --- a/common/ChangeLog +++ b/common/ChangeLog @@ -1,5 +1,27 @@ 2010-03-10 Werner Koch <[email protected]> + * estream.c (es_func_fp_read, es_func_fp_write, es_func_fp_seek) + (es_func_fp_destroy): Allow a NULL FP to implement a dummy stream. + (do_fpopen): Ditto. + (es_vfprintf_unlocked): New. + (es_fprintf_unlocked): Make public. + (es_fputs_unlocked): New. + + * logging.h: Replace FILE* by estream_t. + * logging.c: Remove USE_FUNWRITER cpp conditional because we now + use estream. + (my_funopen_hook_ret_t, my_funopen_hook_size_t): Replace by + ssize_t. + (log_get_stream): Change to return an estream_t. + (set_file_fd): Always close the log stream because it can't be + assigned to stderr or stdout directly. Use a dummy estream as + last resort log stream. + (log_test_fd, log_get_fd): Use es_fileno. + (log_get_stream): Assert that we have a log stream. + (do_logv): Use estream functions and lock the output. + +2010-03-10 Werner Koch <[email protected]> + * util.h: Replace jnlib path part by common. (snprintf): Use the replacement macro on all platforms. |