aboutsummaryrefslogtreecommitdiff
path: root/readline/search.c
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2024-07-30 12:28:04 +0100
committerNick Alcock <nick.alcock@oracle.com>2024-07-30 12:28:04 +0100
commit0689d330b27f1921afb10ff4b716b69fdaa7a567 (patch)
tree5eec4611d30809c06ee21d3fee6cf122cee28e48 /readline/search.c
parentd56f5df657d41303b46f20fa80eae7ad3921b289 (diff)
downloadgdb-0689d330b27f1921afb10ff4b716b69fdaa7a567.zip
gdb-0689d330b27f1921afb10ff4b716b69fdaa7a567.tar.gz
gdb-0689d330b27f1921afb10ff4b716b69fdaa7a567.tar.bz2
libctf: fix ctf_archive_count return value on big-endianusers/nalcock/try-enum-reloosening
This failed to properly byteswap its return value. The ctf_archive format predates the idea of "just write natively and flip on open", and byteswaps all over the place. It's too easy to forget one. The next revision of the archive format (not versioned, so we just tweak the magic number instead) should be native-endianned like the dicts inside it are. libctf/ * ctf-archive.c (ctf_archive_count): Byteswap return value.
Diffstat (limited to 'readline/search.c')
0 files changed, 0 insertions, 0 deletions