https://bugs.kde.org/show_bug.cgi?id=468575

--- Comment #32 from Mark Wielaard <m...@klomp.org> ---
One more change that should go into patch 1 riscv64: Add initial support: new
port-specific Valgrind files because since commit
6a28e665f8dd7c031aef5aa0eaa4acbbd8ba27a9 ("With --track-fds=yes warn when file
descriptor is closed a second time") we don't have a generic POST close handler
anymore:

diff --git a/coregrind/m_syswrap/syswrap-riscv64-linux.c
b/coregrind/m_syswrap/syswrap-riscv64-linux.c
index b959bc861..c07da94f8 100644
--- a/coregrind/m_syswrap/syswrap-riscv64-linux.c
+++ b/coregrind/m_syswrap/syswrap-riscv64-linux.c
@@ -365,7 +365,7 @@ static SyscallTableEntry syscall_main_table[] = {
    LINX_(__NR_fchownat, sys_fchownat),                             /* 54 */
    GENX_(__NR_fchown, sys_fchown),                                 /* 55 */
    LINXY(__NR_openat, sys_openat),                                 /* 56 */
-   GENXY(__NR_close, sys_close),                                   /* 57 */
+   GENX_(__NR_close, sys_close),                                   /* 57 */
    LINX_(__NR_vhangup, sys_vhangup),                               /* 58 */
    LINXY(__NR_pipe2, sys_pipe2),                                   /* 59 */
    LINX_(__NR_quotactl, sys_quotactl),                             /* 60 */

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to