From 3fd7bf7975e7918ded4677b2ea6e78324ebcca69 Mon Sep 17 00:00:00 2001 From: AlexPeshkoff Date: Tue, 14 Sep 2021 19:34:44 +0300 Subject: [PATCH] Better fix for #6967: unix_error() should not throw here --- src/jrd/os/posix/unix.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jrd/os/posix/unix.cpp b/src/jrd/os/posix/unix.cpp index 5e4c6ff611..1f437de190 100644 --- a/src/jrd/os/posix/unix.cpp +++ b/src/jrd/os/posix/unix.cpp @@ -783,7 +783,7 @@ bool PIO_read(thread_db* tdbb, jrd_file* file, BufferDesc* bdb, Ods::pag* page, } } - return unix_error("read_retry", file, isc_io_read_err); + return unix_error("read_retry", file, isc_io_read_err, status_vector); } @@ -827,7 +827,7 @@ bool PIO_write(thread_db* tdbb, jrd_file* file, BufferDesc* bdb, Ods::pag* page, return unix_error("write", file, isc_io_write_err, status_vector); } - return unix_error("write_retry", file, isc_io_write_err); + return unix_error("write_retry", file, isc_io_write_err, status_vector); }