Compiler adds padding bytes to Scanner::Locals structure. Since values of these bytes may differ from time to time, this makes impossible to compare hashes of serialized regexs, etc.
Memsetting all bytes to zero at the beginning of structure initialization solves the problem.
Compiler adds padding bytes to Scanner::Locals structure. Since values of these bytes may differ from time to time, this makes impossible to compare hashes of serialized regexs, etc. Memsetting all bytes to zero at the beginning of structure initialization solves the problem.