1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Use string comparison instead of numeric comparison when comparing digests.

llvm-svn: 76594
This commit is contained in:
Ted Kremenek 2009-07-21 17:41:55 +00:00
parent ac0f5e081e
commit 77932de821

View File

@ -96,7 +96,7 @@ sub UpdateCMake {
my $digestB = Digest::MD5->new->addfile(*FILE)->hexdigest; my $digestB = Digest::MD5->new->addfile(*FILE)->hexdigest;
close(FILE); close(FILE);
if ($digestA != $digestB) { if ($digestA ne $digestB) {
move($cmakeListNew, $cmakeList); move($cmakeListNew, $cmakeList);
return 1; return 1;
} }