From 6aae246ef156ed7716b6df79365220afa6267fc0 Mon Sep 17 00:00:00 2001 From: Flaviu Tamas Date: Mon, 29 Jun 2015 16:52:47 -0400 Subject: [PATCH] Fix #3018 Looks like the problem is that the compiler expected the hash to be a certain number of characters, but the file actually contained a (shorter) crc hash. --- compiler/extccomp.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index 2c6e5294f0..8d3260275b 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -585,7 +585,7 @@ proc externalFileChanged(filename: string): bool = if gCmd notin {cmdCompileToC, cmdCompileToCpp, cmdCompileToOC, cmdCompileToLLVM}: return false - var crcFile = toGeneratedFile(filename.withPackageName, "crc") + var crcFile = toGeneratedFile(filename.withPackageName, "sha1") var currentCrc = footprint(filename) var f: File if open(f, crcFile, fmRead):