diff --git a/include/llfio/v2.0/detail/impl/posix/map_handle.ipp b/include/llfio/v2.0/detail/impl/posix/map_handle.ipp index d83d5d7c4..5caec3a80 100644 --- a/include/llfio/v2.0/detail/impl/posix/map_handle.ipp +++ b/include/llfio/v2.0/detail/impl/posix/map_handle.ipp @@ -739,7 +739,7 @@ map_handle::io_result map_handle::_do_write(io_r byte *addr = _addr + reqs.offset; size_type togo = reqs.offset < _length ? static_cast(_length - reqs.offset) : 0; if(QUICKCPPLIB_NAMESPACE::signal_guard::signal_guard( - QUICKCPPLIB_NAMESPACE::signal_guard::signalc_set::undefined_memory_access, + QUICKCPPLIB_NAMESPACE::signal_guard::signalc_set::undefined_memory_access | QUICKCPPLIB_NAMESPACE::signal_guard::signalc_set::segmentation_fault, [&] { for(size_t i = 0; i < reqs.buffers.size(); i++) { diff --git a/include/llfio/v2.0/detail/impl/windows/map_handle.ipp b/include/llfio/v2.0/detail/impl/windows/map_handle.ipp index 2ee3e5e39..258221cba 100644 --- a/include/llfio/v2.0/detail/impl/windows/map_handle.ipp +++ b/include/llfio/v2.0/detail/impl/windows/map_handle.ipp @@ -1000,7 +1000,7 @@ map_handle::io_result map_handle::_do_write(io_r byte *addr = _addr + reqs.offset; size_type togo = reqs.offset < _length ? static_cast(_length - reqs.offset) : 0; if(QUICKCPPLIB_NAMESPACE::signal_guard::signal_guard( - QUICKCPPLIB_NAMESPACE::signal_guard::signalc_set::undefined_memory_access, + QUICKCPPLIB_NAMESPACE::signal_guard::signalc_set::undefined_memory_access | QUICKCPPLIB_NAMESPACE::signal_guard::signalc_set::segmentation_fault, [&] { for(size_t i = 0; i < reqs.buffers.size(); i++) {