diff --git a/include/fast_io_hosted/filesystem/posix_at.h b/include/fast_io_hosted/filesystem/posix_at.h index 3d077620..04967922 100644 --- a/include/fast_io_hosted/filesystem/posix_at.h +++ b/include/fast_io_hosted/filesystem/posix_at.h @@ -487,11 +487,6 @@ inline ::fast_io::details::basic_ct_string posix_readlinkat_impl(int auto const symlink_size{static_cast<::std::size_t>(buf.st_size)}; - if (symlink_size == 0u) - { - return {}; - } - if constexpr (::std::same_as) { ::fast_io::details::basic_ct_string result(symlink_size);