diff --git a/checkin_notes b/checkin_notes index 7bc071e634..25e762da1f 100644 --- a/checkin_notes +++ b/checkin_notes @@ -3010,3 +3010,9 @@ David 16 May 2011 boinc_api.cpp lib/ Makefile.am + +David 18 May 2011 + - update_versions: fix bug in version number parsing (from Kevin) + + tools/ + update_versions diff --git a/tools/update_versions b/tools/update_versions index 7d35c7cb35..9240cc43b9 100755 --- a/tools/update_versions +++ b/tools/update_versions @@ -249,7 +249,7 @@ function parse_version($v) { if (!is_numeric($x[0])) return -1; if (sizeof($x) > 1) { if (!is_numeric($x[1])) return -1; - return $x[0] + 100*$x[1]; + return $x[1] + 100*$x[0]; } return (int)$x[0]; }