diff options
Diffstat (limited to 'include/llfio/v2.0/detail/impl/windows/fs_handle.ipp')
-rw-r--r-- | include/llfio/v2.0/detail/impl/windows/fs_handle.ipp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llfio/v2.0/detail/impl/windows/fs_handle.ipp b/include/llfio/v2.0/detail/impl/windows/fs_handle.ipp index 2b440326..e42283e3 100644 --- a/include/llfio/v2.0/detail/impl/windows/fs_handle.ipp +++ b/include/llfio/v2.0/detail/impl/windows/fs_handle.ipp @@ -73,7 +73,7 @@ result<path_handle> fs_handle::parent_path_handle(deadline d) const noexcept continue; } path_handle currentdirh = std::move(currentdirh_.value()); - if(h.flags() & handle::flag::disable_safety_unlinks) + if((h.flags() & handle::flag::disable_safety_unlinks) != 0 || h.is_symlink()) { return success(std::move(currentdirh)); } |