about summary refs log tree commit diff
path: root/src/libstd/array.rs
diff options
context:
space:
mode:
authorChris Wong <lambda.fairy@gmail.com>2015-05-08 22:35:40 +1200
committerChris Wong <lambda.fairy@gmail.com>2015-05-08 22:52:02 +1200
commit939c53ea42bc677dbce9755a77bd55a5d47f8185 (patch)
tree7d789be222ccbe86b31e2579095f23fde5d5fd45 /src/libstd/array.rs
parent535040aab88508e4c43b7d29a96ea74aa5d0883a (diff)
downloadrust-939c53ea42bc677dbce9755a77bd55a5d47f8185.tar.gz
rust-939c53ea42bc677dbce9755a77bd55a5d47f8185.zip
configure: display correct version for md5sum
The old code simply scanned for the first digit, then munched anything
after that. This didn't work for md5sum, as it would see the "5" and
treat "5sum" as the version instead.

This patch tweaks the algorithm so that it looks for a second
consecutive digit (or dot) after the first. Since "md5sum" has only one
digit, the new code skips over it as intended.
Diffstat (limited to 'src/libstd/array.rs')
0 files changed, 0 insertions, 0 deletions