Below is the list of changes that have just been committed into a local
5.0 repository of tnurnberg. When tnurnberg does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2008-05-06 02:39:47+02:00, tnurnberg@stripped +1 -0
Bug#36519: check-cpu fails with gcc 4.3.1
sed-regex got confused when substring "gcc" occurred
more than once in "gcc --version"
BUILD/check-cpu@stripped, 2008-05-06 02:39:46+02:00, tnurnberg@stripped +1 -1
fix regex so to simulate non-greedy matching --
match *first* occurrence of "gcc"
diff -Nrup a/BUILD/check-cpu b/BUILD/check-cpu
--- a/BUILD/check-cpu 2007-05-29 12:25:47 +02:00
+++ b/BUILD/check-cpu 2008-05-06 02:39:46 +02:00
@@ -169,7 +169,7 @@ check_cpu () {
fi
cc_ver=`$cc --version | sed 1q`
- cc_verno=`echo $cc_ver | sed -e 's/^.*gcc/gcc/g; s/[^0-9. ]//g; s/^ *//g; s/ .*//g'`
+ cc_verno=`echo $cc_ver | sed -e 's/^[^ ]*gcc/gcc/g; s/[^0-9. ]//g; s/^ *//g; s/
.*//g'`
set -- `echo $cc_verno | tr '.' ' '`
cc_major=$1
cc_minor=$2
| Thread |
|---|
| • bk commit into 5.0 tree (tnurnberg:1.2621) BUG#36519 | Tatjana A Nuernberg | 6 May 2008 |