Commit a976603e by Zack Weinberg

system.h (GCCBUGURL): Delete.

	* system.h (GCCBUGURL): Delete.
	* version.c (bug_report_url): New.  Add commentary about
	modifying both these strings in modified distributions.
	* version.h: Declare bug_report_url.

	* diagnostic.c, gcc.c, gcov.c, java/gjavah.c, java/jcf-dump.c,
	java/jv-scan.c: Globally replace GCCBUGURL with bug_report_url.

From-SVN: r57940
parent bf52f899
...@@ -2925,7 +2925,7 @@ Internal error: %s (program %s)\n\ ...@@ -2925,7 +2925,7 @@ Internal error: %s (program %s)\n\
Please submit a full bug report.\n\ Please submit a full bug report.\n\
See %s for instructions.", See %s for instructions.",
strsignal (WTERMSIG (status)), commands[j].prog, strsignal (WTERMSIG (status)), commands[j].prog,
GCCBUGURL); bug_report_url);
signal_count++; signal_count++;
ret_code = -1; ret_code = -1;
} }
...@@ -6111,7 +6111,7 @@ main (argc, argv) ...@@ -6111,7 +6111,7 @@ main (argc, argv)
if (! verbose_flag) if (! verbose_flag)
{ {
printf (_("\nFor bug reporting instructions, please see:\n")); printf (_("\nFor bug reporting instructions, please see:\n"));
printf ("%s.\n", GCCBUGURL); printf ("%s.\n", bug_report_url);
return (0); return (0);
} }
...@@ -6286,7 +6286,7 @@ main (argc, argv) ...@@ -6286,7 +6286,7 @@ main (argc, argv)
if (print_help_list) if (print_help_list)
{ {
printf (("\nFor bug reporting instructions, please see:\n")); printf (("\nFor bug reporting instructions, please see:\n"));
printf ("%s\n", GCCBUGURL); printf ("%s\n", bug_report_url);
} }
return (signal_count != 0 ? 2 return (signal_count != 0 ? 2
......
...@@ -349,7 +349,7 @@ print_usage (error_p) ...@@ -349,7 +349,7 @@ print_usage (error_p)
fnotice (file, " -o, --object-directory DIR|FILE Search for object files in DIR or called FILE\n"); fnotice (file, " -o, --object-directory DIR|FILE Search for object files in DIR or called FILE\n");
fnotice (file, " -p, --preserve-paths Preserve all pathname components\n"); fnotice (file, " -p, --preserve-paths Preserve all pathname components\n");
fnotice (file, "\nFor bug reporting instructions, please see:\n%s.\n", fnotice (file, "\nFor bug reporting instructions, please see:\n%s.\n",
GCCBUGURL); bug_report_url);
exit (status); exit (status);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment