From d6d804d38261c449cabdabaec87b23f043587ecf Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Thu, 20 Nov 2003 16:20:55 +0000 Subject: [PATCH] Updated all "report bugs to..." messages to point to valgrind.kde.org; also updated the docs to refer to valgrind.kde.org instead of the old website. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2055 --- addrcheck/ac_main.c | 2 +- auxprogs/valgrind-listener.c | 6 +++--- cachegrind/cg_main.c | 2 +- cachegrind/docs/cg_techdocs.html | 2 +- corecheck/cc_main.c | 2 +- coregrind/arch/x86-linux/vg_libpthread.c | 6 ++++-- coregrind/docs/coregrind_core.html | 2 +- coregrind/vg_include.h | 7 ------- coregrind/vg_intercept.c | 4 +--- coregrind/vg_libpthread.c | 6 ++++-- coregrind/vg_main.c | 6 +++--- coregrind/vg_mylibc.c | 4 ++-- helgrind/hg_main.c | 2 +- include/vg_skin.h | 7 +++++++ lackey/lk_main.c | 2 +- memcheck/docs/mc_techdocs.html | 2 +- memcheck/mc_main.c | 2 +- none/nl_main.c | 2 +- 18 files changed, 34 insertions(+), 32 deletions(-) diff --git a/addrcheck/ac_main.c b/addrcheck/ac_main.c index 5407e1393..e47fd0a5f 100644 --- a/addrcheck/ac_main.c +++ b/addrcheck/ac_main.c @@ -1278,7 +1278,7 @@ void SK_(pre_clo_init)(void) VG_(details_description) ("a fine-grained address checker"); VG_(details_copyright_author)( "Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward."); - VG_(details_bug_reports_to) ("jseward@acm.org"); + VG_(details_bug_reports_to) (VG_BUGS_TO); VG_(details_avg_translation_sizeB) ( 135 ); VG_(needs_core_errors) (); diff --git a/auxprogs/valgrind-listener.c b/auxprogs/valgrind-listener.c index e8442e48d..d943c4aa2 100644 --- a/auxprogs/valgrind-listener.c +++ b/auxprogs/valgrind-listener.c @@ -45,7 +45,7 @@ #include -/* For VG_CLO_DEFAULT_LOGPORT and VG_EMAIL_ADDR. */ +/* For VG_CLO_DEFAULT_LOGPORT and VG_BUGS_TO. */ #include "vg_include.h" @@ -64,7 +64,7 @@ static void panic ( Char* str ) "\nvalgrind-listener: the " "`impossible' happened:\n %s\n", str); fprintf(stderr, - "Please report this bug to: %s\n\n", VG_EMAIL_ADDR); + "Please report this bug at: %s\n\n", VG_BUGS_TO); exit(1); } @@ -75,7 +75,7 @@ static void my_assert_fail ( const Char* expr, const Char* file, Int line, const "\nvalgrind-listener: %s:%d (%s): Assertion `%s' failed.\n", file, line, fn, expr ); fprintf(stderr, - "Please report this bug to: %s\n\n", VG_EMAIL_ADDR); + "Please report this bug at: %s\n\n", VG_BUGS_TO); exit(1); } diff --git a/cachegrind/cg_main.c b/cachegrind/cg_main.c index 9287ae0da..e15b411dd 100644 --- a/cachegrind/cg_main.c +++ b/cachegrind/cg_main.c @@ -2024,7 +2024,7 @@ void SK_(pre_clo_init)(void) VG_(details_description) ("an I1/D1/L2 cache profiler"); VG_(details_copyright_author)( "Copyright (C) 2002-2003, and GNU GPL'd, by Nicholas Nethercote."); - VG_(details_bug_reports_to) ("njn25@cam.ac.uk"); + VG_(details_bug_reports_to) (VG_BUGS_TO); VG_(details_avg_translation_sizeB) ( 155 ); VG_(needs_basic_block_discards)(); diff --git a/cachegrind/docs/cg_techdocs.html b/cachegrind/docs/cg_techdocs.html index 95f29c001..0ac5b6759 100644 --- a/cachegrind/docs/cg_techdocs.html +++ b/cachegrind/docs/cg_techdocs.html @@ -33,7 +33,7 @@ overly-curious

njn25@cam.ac.uk
http://developer.kde.org/~sewardj
+href="http://valgrind.kde.org">http://valgrind.kde.org

Copyright © 2001-2003 Nick Nethercote

diff --git a/corecheck/cc_main.c b/corecheck/cc_main.c index 86a150de4..13634c14a 100644 --- a/corecheck/cc_main.c +++ b/corecheck/cc_main.c @@ -40,7 +40,7 @@ void SK_(pre_clo_init)(void) VG_(details_description) ("a rudimentary error detector"); VG_(details_copyright_author)( "Copyright (C) 2002-2003, and GNU GPL'd, by Nicholas Nethercote."); - VG_(details_bug_reports_to) ("njn25@cam.ac.uk"); + VG_(details_bug_reports_to) (VG_BUGS_TO); VG_(needs_core_errors)(); diff --git a/coregrind/arch/x86-linux/vg_libpthread.c b/coregrind/arch/x86-linux/vg_libpthread.c index af9dc1e89..85284965c 100644 --- a/coregrind/arch/x86-linux/vg_libpthread.c +++ b/coregrind/arch/x86-linux/vg_libpthread.c @@ -170,6 +170,8 @@ void barf ( const char* str ) char buf[1000]; strcpy(buf, "\nvalgrind's libpthread.so: "); strcat(buf, str); + strcat(buf, "\nPlease report this bug at: "); + strcat(buf, VG_BUGS_TO); strcat(buf, "\n\n"); VALGRIND_NON_SIMD_CALL2(VG_(message), Vg_UserMsg, buf); my_exit(1); @@ -211,7 +213,7 @@ __attribute__((noreturn)) void vgPlain_unimp ( char* fn ) { cat_n_send ( "valgrind's libpthread.so: UNIMPLEMENTED FUNCTION: ", fn, "" ); - barf("Please report this bug to me at: jseward@acm.org"); + barf("unimplemented function"); } @@ -226,7 +228,7 @@ void my_assert_fail ( const Char* expr, const Char* file, Int line, const Char* sprintf(buf, "\n%s: %s:%d (%s): Assertion `%s' failed.\n", "valgrind", file, line, fn, expr ); cat_n_send ( "", buf, "" ); - sprintf(buf, "Please report this bug to me at: %s\n\n", VG_EMAIL_ADDR); + sprintf(buf, "Please report this bug at: %s\n\n", VG_BUGS_TO); my_exit(1); } diff --git a/coregrind/docs/coregrind_core.html b/coregrind/docs/coregrind_core.html index 6afcba22c..a2930cc26 100644 --- a/coregrind/docs/coregrind_core.html +++ b/coregrind/docs/coregrind_core.html @@ -1160,7 +1160,7 @@ build problems.

2.11  If you have problems

-Mail me (jseward@acm.org). +Contact us at valgrind.kde.org.

See this section for the known limitations of Valgrind, and for a list of programs which are known not to work on diff --git a/coregrind/vg_include.h b/coregrind/vg_include.h index c6b49b340..72c9323b7 100644 --- a/coregrind/vg_include.h +++ b/coregrind/vg_include.h @@ -33,13 +33,6 @@ #ifndef __VG_INCLUDE_H #define __VG_INCLUDE_H -/* --------------------------------------------------------------------- - Where to send bug reports to. - ------------------------------------------------------------------ */ - -#define VG_EMAIL_ADDR "jseward@acm.org" - - /* --------------------------------------------------------------------- Build options and table sizes. You should be able to change these options or sizes, recompile, and still have a working system. diff --git a/coregrind/vg_intercept.c b/coregrind/vg_intercept.c index 31211392f..8af508b2d 100644 --- a/coregrind/vg_intercept.c +++ b/coregrind/vg_intercept.c @@ -134,9 +134,7 @@ void my_assert_fail ( const Char* expr, const Char* file, Int line, const Char* sprintf(buf, "\n%s: %s:%d (%s): Assertion `%s' failed.\n", "valgrind", file, line, fn, expr ); cat_n_send ( "", buf ); - sprintf(buf, "Please report this bug to me at: %s\n\n", - VG_EMAIL_ADDR); - cat_n_send ( "", buf ); + sprintf(buf, "Please report this bug at: %s\n\n", VG_BUGS_TO); my_exit(1); } diff --git a/coregrind/vg_libpthread.c b/coregrind/vg_libpthread.c index af9dc1e89..85284965c 100644 --- a/coregrind/vg_libpthread.c +++ b/coregrind/vg_libpthread.c @@ -170,6 +170,8 @@ void barf ( const char* str ) char buf[1000]; strcpy(buf, "\nvalgrind's libpthread.so: "); strcat(buf, str); + strcat(buf, "\nPlease report this bug at: "); + strcat(buf, VG_BUGS_TO); strcat(buf, "\n\n"); VALGRIND_NON_SIMD_CALL2(VG_(message), Vg_UserMsg, buf); my_exit(1); @@ -211,7 +213,7 @@ __attribute__((noreturn)) void vgPlain_unimp ( char* fn ) { cat_n_send ( "valgrind's libpthread.so: UNIMPLEMENTED FUNCTION: ", fn, "" ); - barf("Please report this bug to me at: jseward@acm.org"); + barf("unimplemented function"); } @@ -226,7 +228,7 @@ void my_assert_fail ( const Char* expr, const Char* file, Int line, const Char* sprintf(buf, "\n%s: %s:%d (%s): Assertion `%s' failed.\n", "valgrind", file, line, fn, expr ); cat_n_send ( "", buf, "" ); - sprintf(buf, "Please report this bug to me at: %s\n\n", VG_EMAIL_ADDR); + sprintf(buf, "Please report this bug at: %s\n\n", VG_BUGS_TO); my_exit(1); } diff --git a/coregrind/vg_main.c b/coregrind/vg_main.c index 4742a29ba..0ddbd1be1 100644 --- a/coregrind/vg_main.c +++ b/coregrind/vg_main.c @@ -728,7 +728,7 @@ static void usage ( void ) SK_(print_debug_usage)(); else VG_(printf)(" (none)\n"); - VG_(printf)(usage3, VG_EMAIL_ADDR); + VG_(printf)(usage3, VG_BUGS_TO); VG_(shutdown_logging)(); VG_(clo_log_to) = VgLogTo_Fd; @@ -1990,9 +1990,9 @@ void VG_(unimplemented) ( Char* msg ) VG_(message)(Vg_UserMsg, "or because no reasonable program would behave this way,"); VG_(message)(Vg_UserMsg, - "or because nobody has yet needed it. In any case, let me know"); + "or because nobody has yet needed it. In any case, let us know at"); VG_(message)(Vg_UserMsg, - "(jseward@acm.org) and/or try to work around the problem, if you can."); + "%s and/or try to work around the problem, if you can.", VG_BUGS_TO); VG_(message)(Vg_UserMsg, ""); VG_(message)(Vg_UserMsg, diff --git a/coregrind/vg_mylibc.c b/coregrind/vg_mylibc.c index 3693d9124..1fe9d97d3 100644 --- a/coregrind/vg_mylibc.c +++ b/coregrind/vg_mylibc.c @@ -1106,7 +1106,7 @@ void VG_(skin_assert_fail) ( const Char* expr, const Char* file, Int line, const void VG_(core_assert_fail) ( const Char* expr, const Char* file, Int line, const Char* fn ) { - assert_fail(expr, "valgrind", VG_EMAIL_ADDR, file, line, fn); + assert_fail(expr, "valgrind", VG_BUGS_TO, file, line, fn); } __attribute__ ((noreturn)) @@ -1119,7 +1119,7 @@ static void panic ( Char* name, Char* report, Char* str ) void VG_(core_panic) ( Char* str ) { - panic("valgrind", VG_EMAIL_ADDR, str); + panic("valgrind", VG_BUGS_TO, str); } void VG_(skin_panic) ( Char* str ) diff --git a/helgrind/hg_main.c b/helgrind/hg_main.c index c6fddbe71..d202b167d 100644 --- a/helgrind/hg_main.c +++ b/helgrind/hg_main.c @@ -3238,7 +3238,7 @@ void SK_(pre_clo_init)(void) VG_(details_description) ("a data race detector"); VG_(details_copyright_author)( "Copyright (C) 2002-2003, and GNU GPL'd, by Nicholas Nethercote."); - VG_(details_bug_reports_to) ("jeremy@goop.org"); + VG_(details_bug_reports_to) (VG_BUGS_TO); VG_(details_avg_translation_sizeB) ( 115 ); VG_(needs_core_errors)(); diff --git a/include/vg_skin.h b/include/vg_skin.h index ba23074e3..5e74d9879 100644 --- a/include/vg_skin.h +++ b/include/vg_skin.h @@ -38,6 +38,13 @@ #include "vg_constants_skin.h" +/* --------------------------------------------------------------------- + Where to send bug reports to. + ------------------------------------------------------------------ */ + +#define VG_BUGS_TO "valgrind.kde.org" + + /*====================================================================*/ /*=== Build options and table sizes. ===*/ /*====================================================================*/ diff --git a/lackey/lk_main.c b/lackey/lk_main.c index a68841b4c..79f9b9d83 100644 --- a/lackey/lk_main.c +++ b/lackey/lk_main.c @@ -81,7 +81,7 @@ void SK_(pre_clo_init)(void) VG_(details_description) ("an example Valgrind tool"); VG_(details_copyright_author)( "Copyright (C) 2002-2003, and GNU GPL'd, by Nicholas Nethercote."); - VG_(details_bug_reports_to) ("njn25@cam.ac.uk"); + VG_(details_bug_reports_to) (VG_BUGS_TO); VG_(details_avg_translation_sizeB) ( 175 ); VG_(register_compact_helper)((Addr) & add_one_dlrr_call); diff --git a/memcheck/docs/mc_techdocs.html b/memcheck/docs/mc_techdocs.html index 92b7cceb9..f734fc41c 100644 --- a/memcheck/docs/mc_techdocs.html +++ b/memcheck/docs/mc_techdocs.html @@ -33,7 +33,7 @@ overly-curious
These notes pertain to snapshot 20020306

jseward@acm.org
-http://developer.kde.org/~sewardj
+http://valgrind.kde.org
Copyright © 2000-2003 Julian Seward

Valgrind is licensed under the GNU General Public License, diff --git a/memcheck/mc_main.c b/memcheck/mc_main.c index 52ad0323e..8b46797ac 100644 --- a/memcheck/mc_main.c +++ b/memcheck/mc_main.c @@ -1659,7 +1659,7 @@ void SK_(pre_clo_init)(void) VG_(details_description) ("a memory error detector"); VG_(details_copyright_author)( "Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward."); - VG_(details_bug_reports_to) ("jseward@acm.org"); + VG_(details_bug_reports_to) (VG_BUGS_TO); VG_(details_avg_translation_sizeB) ( 228 ); VG_(needs_core_errors) (); diff --git a/none/nl_main.c b/none/nl_main.c index ee2edb701..844c63e70 100644 --- a/none/nl_main.c +++ b/none/nl_main.c @@ -39,7 +39,7 @@ void SK_(pre_clo_init)(void) VG_(details_description) ("a binary JIT-compiler"); VG_(details_copyright_author)( "Copyright (C) 2002-2003, and GNU GPL'd, by Nicholas Nethercote."); - VG_(details_bug_reports_to) ("njn25@cam.ac.uk"); + VG_(details_bug_reports_to) (VG_BUGS_TO); /* No needs, no core events to track */ }