From 77932de8218b6a0a54b0e1b7d3e51135656b6202 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 21 Jul 2009 17:41:55 +0000 Subject: [PATCH] Use string comparison instead of numeric comparison when comparing digests. llvm-svn: 76594 --- utils/UpdateCMakeLists.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/UpdateCMakeLists.pl b/utils/UpdateCMakeLists.pl index 94e69ce2556..3aa2f8891e2 100755 --- a/utils/UpdateCMakeLists.pl +++ b/utils/UpdateCMakeLists.pl @@ -96,7 +96,7 @@ sub UpdateCMake { my $digestB = Digest::MD5->new->addfile(*FILE)->hexdigest; close(FILE); - if ($digestA != $digestB) { + if ($digestA ne $digestB) { move($cmakeListNew, $cmakeList); return 1; }