In it_cmp() make sure that arrays are only considered equal if both
authorclaudio <claudio@openbsd.org>
Wed, 21 Feb 2024 13:24:37 +0000 (13:24 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 21 Feb 2024 13:24:37 +0000 (13:24 +0000)
commit8a1eddeadba387599c0da563e9b30c22fd91d2ca
tree7e3b6ac83efca4a64237f4162c8bbae5bb6b8ca4
parent78f4e5a0f728e24aaad0630f878d12ff72b6af9d
In it_cmp() make sure that arrays are only considered equal if both
have the same number of elements. This fixes an issue where arrays
where too aggressivly merged and as a result the number of elements
was mostly wrong in the CTF bits.
Also it_cmp() should return 0 if both elements are considered equal.
OK mpi@
usr.bin/ctfconv/parse.c