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.
This commit is contained in:
Flaviu Tamas
2015-06-29 16:52:47 -04:00
parent 615defb1a9
commit 6aae246ef1

View File

@@ -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):