diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-06-07 23:49:41 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-06-07 23:55:45 +0300 |
commit | 4e7f5b5c08095818d7876a86ad6657c57c9a8ad1 (patch) | |
tree | c2333cbb60922137543181b6fc18ea1a95b76148 /libmailutils/tests/Makefile.am | |
parent | 7bca245a054a58c7aaf889243fcacd73a5bd0982 (diff) | |
download | mailutils-4e7f5b5c08095818d7876a86ad6657c57c9a8ad1.tar.gz mailutils-4e7f5b5c08095818d7876a86ad6657c57c9a8ad1.tar.bz2 |
Fix logstream to support mu_locus_range.
* include/mailutils/locus.h (mu_stream_print_locus_range)
(mu_stream_vlprintf, mu_stream_lprintf, mu_lrange_debug): New protos.
* include/mailutils/stream.h (MU_IOCTL_LOGSTREAM_GET_LOCUS_RANGE)
(MU_IOCTL_LOGSTREAM_SET_LOCUS_RANGE): New ioctls.
* include/mailutils/sys/logstream.h (_mu_log_stream): Replace
locus with struct mu_locus_range locrange.
* libmailutils/locus/debug.c: Rewrite.
* libmailutils/locus/ident.c (mu_ident_ref): Accept NULL argument.
Fix initialization.
(mu_ident_deref): Accept NULL argument.
* libmailutils/stream/logstream.c: Rewrite.
* libmailutils/tests/.gitignore: Update.
* libmailutils/tests/Makefile.am: Add new tests.
* libmailutils/tests/testsuite.at: Likewise.
* libmailutils/tests/logstr.at: New testcase.
* libmailutils/tests/logstr.c: New file.
* libmailutils/tests/xscript.at: Minor change.
* sieve/tests/i-numeric.at: Minor change.
Diffstat (limited to 'libmailutils/tests/Makefile.am')
-rw-r--r-- | libmailutils/tests/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmailutils/tests/Makefile.am b/libmailutils/tests/Makefile.am index 83951ba40..e0cccaccf 100644 --- a/libmailutils/tests/Makefile.am +++ b/libmailutils/tests/Makefile.am @@ -54,6 +54,7 @@ noinst_PROGRAMS = \ globtest\ imapio\ listop\ + logstr\ mailcap\ mimehdr\ modtofsaf\ @@ -106,6 +107,7 @@ TESTSUITE_AT = \ inline-comment.at\ linecon.at\ list.at\ + logstr.at\ mailcap.at\ mimehdr.at\ modmesg00.at\ |