https://bugs.kde.org/show_bug.cgi?id=493418
Mark Wielaard <m...@klomp.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|CONFIRMED |RESOLVED --- Comment #7 from Mark Wielaard <m...@klomp.org> --- commit 22971a15d62df6351ab97ea064eebd9bdcb4cf37 Author: Alexandra Hájková <ahajk...@redhat.com> Date: Wed Oct 16 13:38:48 2024 -0400 Report track-fd errors for fd used which was not opened or already closed Add (optional) pathname, description, where_closed and where_opened fields to struct FdBadUse. Print those fields when set in fd_pp_Error. Add a new function ML_(find_OpenFd) that provides a recorded OpenFd given an fd (or NULL when the fd was never recorded). In ML_(fd_allowed) when using a file descriptor use ML_(find_OpenFd) to see if the fd was ever created, if not create an "was never created" FdBadUse error. If it was created, but already closed create an "was closed already", filling in as much details as we can. Add none/tests/use_after_close.vgtest to test, already closed, never created, invalid, double (double) close and invalid close issues. Adjust error message in none/tests/fdbaduse.stderr.exp. https://bugs.kde.org/show_bug.cgi?id=493418 -- You are receiving this mail because: You are watching all bug changes.