]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
libctf, open: Fix enum error handling path
authorNick Alcock <nick.alcock@oracle.com>
Mon, 15 Jul 2024 20:05:43 +0000 (21:05 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Wed, 31 Jul 2024 20:02:05 +0000 (21:02 +0100)
commit4cd2c266cf35382b690da27482368cd80c3a71ef
tree3c7401e1ba8ab53383503ca2a0947eae7303d62f
parentc3256db5c30945a68e71ebce93854845a9735cfe
libctf, open: Fix enum error handling path

This new error-handling path was not properly initializing the
fp's errno.

libctf/
* ctf-open.c (init_static_types_internal): Set errno properly.
libctf/ctf-open.c