This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
WWW PATCH: Update bug_email.pl
- From: Mark Mitchell <mark at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 25 Feb 2005 01:07:42 -0800
- Subject: WWW PATCH: Update bug_email.pl
- Reply-to: mark at codesourcery dot com
Here's an update to the bug_email script.
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
Index: bug_email.pl
===================================================================
RCS file: /cvs/gcc/wwwdocs/bugzilla/contrib/bug_email.pl,v
retrieving revision 1.23
diff -c -5 -p -r1.23 bug_email.pl
*** bug_email.pl 27 Nov 2004 21:17:50 -0000 1.23
--- bug_email.pl 25 Feb 2005 09:06:32 -0000
*************** sub writeBugIntoDB
*** 300,309 ****
--- 300,317 ----
}
$priority = SqlQuote($priority);
my($version) = "";
my($release) = $fields{"Release"};
if ($release ne "") {
+ if ($release =~ /.*4\.1\.0.*/o) {
+ $version = "4.1.0";
+ }
+ if ($release ne "") {
+ if ($release =~ /.*4\.0\.1.*/o) {
+ $version = "4.0.1";
+ }
+ if ($release ne "") {
if ($release =~ /.*4\.0\.0.*/o) {
$version = "4.0.0";
}
elsif ($release =~ /.*3\.5\.0.*/o) {
$version = "4.0.0";