From 92797a064b956441789f682d3f58ac22d3db79e3 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 26 Feb 2012 04:51:34 +0000 Subject: replace verbose() with logpost() since verbose() adds extraneous carraige returns to messages that have been filtered out by the log level svn path=/trunk/externals/hcs/; revision=16033 --- ce_path.c | 6 +++--- classpath.c | 8 ++++---- group.c | 6 +++--- helppath.c | 6 +++--- passwd.c | 6 +++--- split_path.c | 4 ++-- stat.c | 6 +++--- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/ce_path.c b/ce_path.c index da69123..97a214e 100644 --- a/ce_path.c +++ b/ce_path.c @@ -104,8 +104,8 @@ void ce_path_setup(void) class_addmethod(ce_path_class, (t_method) ce_path_rewind, gensym("rewind"), 0); - verbose(0, "[ce_path] %s", version); - verbose(0, "\tcompiled on "__DATE__" at "__TIME__ " "); - verbose(0, "\tcompiled against Pd version %d.%d.%d", PD_MAJOR_VERSION, + logpost(NULL, 4, "[ce_path] %s", version); + logpost(NULL, 4, "\tcompiled on "__DATE__" at "__TIME__ " "); + logpost(NULL, 4, "\tcompiled against Pd version %d.%d.%d", PD_MAJOR_VERSION, PD_MINOR_VERSION, PD_BUGFIX_VERSION); } diff --git a/classpath.c b/classpath.c index aa0cfb3..4b81b63 100644 --- a/classpath.c +++ b/classpath.c @@ -133,10 +133,10 @@ void classpath_setup(void) class_addmethod(classpath_class,(t_method) classpath_add,gensym("add"), A_DEFSYMBOL, 0); - verbose(0, "[classpath] %s",version); - verbose(0, "\twritten by Hans-Christoph Steiner "); - verbose(0, "\tcompiled on "__DATE__" at "__TIME__ " "); - verbose(0, "\tcompiled against Pd version %d.%d.%d", PD_MAJOR_VERSION, + logpost(NULL, 4, "[classpath] %s",version); + logpost(NULL, 4, "\twritten by Hans-Christoph Steiner "); + logpost(NULL, 4, "\tcompiled on "__DATE__" at "__TIME__ " "); + logpost(NULL, 4, "\tcompiled against Pd version %d.%d.%d", PD_MAJOR_VERSION, PD_MINOR_VERSION, PD_BUGFIX_VERSION); } diff --git a/group.c b/group.c index 79283cb..a19d736 100644 --- a/group.c +++ b/group.c @@ -251,9 +251,9 @@ void group_setup(void) gensym("set"), A_GIMME, 0); - verbose(0, "[group] %s",version); - verbose(0, "\twritten by Hans-Christoph Steiner "); - verbose(0, "\tcompiled on "__DATE__" at "__TIME__ " "); + logpost(NULL, 4, "[group] %s",version); + logpost(NULL, 4, "\twritten by Hans-Christoph Steiner "); + logpost(NULL, 4, "\tcompiled on "__DATE__" at "__TIME__ " "); } #endif /* NOT _WIN32 */ diff --git a/helppath.c b/helppath.c index 23ab630..fd0382b 100644 --- a/helppath.c +++ b/helppath.c @@ -128,9 +128,9 @@ void helppath_setup(void) class_addmethod(helppath_class,(t_method) helppath_add,gensym("add"), A_DEFSYMBOL, 0); - verbose(0, "[helppath] %s", version); - verbose(0, "\tcompiled on "__DATE__" at "__TIME__ " "); - verbose(0, "\tcompiled against Pd version %d.%d.%d", PD_MAJOR_VERSION, + logpost(NULL, 4, "[helppath] %s", version); + logpost(NULL, 4, "\tcompiled on "__DATE__" at "__TIME__ " "); + logpost(NULL, 4, "\tcompiled against Pd version %d.%d.%d", PD_MAJOR_VERSION, PD_MINOR_VERSION, PD_BUGFIX_VERSION); } diff --git a/passwd.c b/passwd.c index 48acb27..0be2ca8 100644 --- a/passwd.c +++ b/passwd.c @@ -200,9 +200,9 @@ void passwd_setup(void) A_GIMME, 0); - verbose(0, "[passwd] %s",version); - verbose(0, "\twritten by Hans-Christoph Steiner "); - verbose(0, "\tcompiled on "__DATE__" at "__TIME__ " "); + logpost(NULL, 4, "[passwd] %s",version); + logpost(NULL, 4, "\twritten by Hans-Christoph Steiner "); + logpost(NULL, 4, "\tcompiled on "__DATE__" at "__TIME__ " "); } #endif /* NOT _WIN32 */ diff --git a/split_path.c b/split_path.c index 1f5b960..5a86269 100644 --- a/split_path.c +++ b/split_path.c @@ -66,8 +66,8 @@ void split_path_setup(void) split_path_class = class_new(gensym("split_path"), (t_newmethod)split_path_new, 0, sizeof(t_split_path), 0,0); class_addsymbol(split_path_class,split_path_symbol); - verbose(0, "[split_path] %s",version); - verbose(0, "\twritten by Hans-Christoph Steiner "); + logpost(NULL, 4, "[split_path] %s",version); + logpost(NULL, 4, "\twritten by Hans-Christoph Steiner "); } diff --git a/stat.c b/stat.c index 811de38..cd63dab 100644 --- a/stat.c +++ b/stat.c @@ -297,8 +297,8 @@ void stat_setup(void) /* add inlet message methods */ class_addmethod(stat_class,(t_method) stat_set,gensym("set"), A_DEFSYM, 0); - verbose(0, "[stat] %s",version); - verbose(0, "\twritten by Hans-Christoph Steiner "); - verbose(0, "\tcompiled on "__DATE__" at "__TIME__ " "); + logpost(NULL, 4, "[stat] %s",version); + logpost(NULL, 4, "\twritten by Hans-Christoph Steiner "); + logpost(NULL, 4, "\tcompiled on "__DATE__" at "__TIME__ " "); } -- cgit v1.2.1