[Git][wine/wine][master] imagehlp/tests: Accept zero checksum if the compiler emitted a zero checksum.
Alexandre Julliard pushed to branch master at wine / wine Commits: 7c68956e by Bernhard Übelacker at 2026-06-10T22:01:10+02:00 imagehlp/tests: Accept zero checksum if the compiler emitted a zero checksum. Clang (llvm-mingw) emits binaries with a CheckSum of zero in the OptionalHeader. But in this test the call to CheckSumMappedFile with a byte count of 0 relies on the OptionalHeader->CheckSum having some non-zero value. $ llvm-objdump -x dlls/imagehlp/tests/i386-windows/imagehlp_test.exe | grep -E "^CheckSum " CheckSum 00000000 This is observable back to at least llvm-mingw 10.0.0. - - - - - 1 changed file: - dlls/imagehlp/tests/integrity.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/7c68956e884115ad3e6528c5244c702... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/7c68956e884115ad3e6528c5244c702... You're receiving this email because of your account on gitlab.winehq.org. Manage all notifications: https://gitlab.winehq.org/-/profile/notifications | Help: https://gitlab.winehq.org/help
participants (1)
-
Alexandre Julliard (@julliard)