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:
parent
ac0f5e081e
commit
77932de821
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user