Don't assume all files called ".a" are ELF binaries because we specified a...
Don't assume all files called ".a" are ELF binaries because we specified a FILE_EXTENSION_SUFFIX. This prevents an "Unrecognized archive format" traceback when processing (for example) lie 2.2.2+dfsg-3. (Closes: #903446)
Showing
- diffoscope/comparators/elf.py 2 additions, 0 deletionsdiffoscope/comparators/elf.py
- diffoscope/comparators/utils/file.py 4 additions, 0 deletionsdiffoscope/comparators/utils/file.py
- tests/comparators/test_elf.py 9 additions, 0 deletionstests/comparators/test_elf.py
- tests/data/bug_903446.a 0 additions, 0 deletionstests/data/bug_903446.a
tests/data/bug_903446.a
0 → 100644
File added