diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-08-14 22:05:04 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-08-14 22:05:04 +0300 |
commit | 83b7ad9bfda9af36414d8d6acac454288cb90a3a (patch) | |
tree | 6257bfa05626926de3c45a32bfad48cc6c068157 /include/llfio/v2.0/file_handle.hpp | |
parent | e2434aa9d42d50651ed9685b5125f58262366081 (diff) |
symlink_handle is finished and fully working on POSIX.
Also fixed a number of vptr slicing bugs across the handle implementations, mainly caused by missing operator=() implementations.
Fixed path_handle::clone() not working on POSIX.
Diffstat (limited to 'include/llfio/v2.0/file_handle.hpp')
-rw-r--r-- | include/llfio/v2.0/file_handle.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llfio/v2.0/file_handle.hpp b/include/llfio/v2.0/file_handle.hpp index c41ac559..de8386f0 100644 --- a/include/llfio/v2.0/file_handle.hpp +++ b/include/llfio/v2.0/file_handle.hpp @@ -208,6 +208,13 @@ public: } } } +#ifndef NDEBUG + if(_v) + { + // Tell handle::close() that we have correctly executed + _v.behaviour |= native_handle_type::disposition::_child_close_executed; + } +#endif return io_handle::close(); } |