[SCM] GNU Mailutils branch, master, updated. release-2.2-332-g0cf36c4

"Sergey Poznyakoff" <[email protected]>
Newsgroups gmane.comp.gnu.mailutils.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mailutils".

http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=0cf36c45b0a1a8dada253bc7ab0c6ab6057e7d3e

The branch, master has been updated
       via  0cf36c45b0a1a8dada253bc7ab0c6ab6057e7d3e (commit)
      from  426df179766b4b144cf746dfc56f4b4a9f80b3ac (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0cf36c45b0a1a8dada253bc7ab0c6ab6057e7d3e
Author: Sergey Poznyakoff <[email protected]>
Date:   Wed Dec 29 10:02:16 2010 +0200

    Make sure debugging calls don't dump core even if mu_strerr is not initialized.
    
    * libmailutils/diag/debug.c (mu_debug_log, mu_debug_log_begin): Call
    mu_diag_init.

-----------------------------------------------------------------------

Summary of changes:
 libmailutils/diag/debug.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libmailutils/diag/debug.c b/libmailutils/diag/debug.c
index 5916de1..8ceb352 100644
--- a/libmailutils/diag/debug.c
+++ b/libmailutils/diag/debug.c
@@ -503,6 +503,7 @@ mu_debug_log (const char *fmt, ...)
 {
   va_list ap;
 
+  mu_diag_init ();
   va_start (ap, fmt);
   mu_stream_printf (mu_strerr, "\033s<%d>", MU_LOG_DEBUG);
   mu_stream_vprintf (mu_strerr, fmt, ap);
@@ -515,6 +516,7 @@ mu_debug_log_begin (const char *fmt, ...)
 {
   va_list ap;
 
+  mu_diag_init ();
   va_start (ap, fmt);
   mu_stream_printf (mu_strerr, "\033s<%d>", MU_LOG_DEBUG);
   mu_stream_vprintf (mu_strerr, fmt, ap);


hooks/post-receive
-- 
GNU Mailutils
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.