| commit | 95861bb39663bd69e8dd9cbf0fe82b03b8634d94 | [log] [tgz] |
|---|---|---|
| author | Nick Alcock <nick.alcock@oracle.com> | Fri Jul 05 15:53:14 2024 +0100 |
| committer | Nick Alcock <nick.alcock@oracle.com> | Wed Jul 31 21:02:04 2024 +0100 |
| tree | 88ba6d21940fca81ac8e7fdec060f4cf6fdcecc4 | |
| parent | c60b22e8edaeb7beffcf00c5616f4d4f12aae1be [diff] |
libctf: we do in fact support foreign-endian old versions
The worry that caused this to not be supported was because we don't
bother endian-flipping version-related fields before checking them.
But they're all unsigned chars anyway, and don't need any flipping at
all.
This should be supported and should already work. Enable it.
libctf/
* ctf-open.c (ctf_bufopen): Don't prohibit foreign-endian
upgrades.