Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gulrak/filesystem
Browse files Browse the repository at this point in the history
  • Loading branch information
gulrak committed Feb 8, 2020
2 parents 0989fd1 + 8157b4e commit c428aba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/ghc/filesystem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4258,6 +4258,7 @@ GHC_INLINE space_info space(const path& p, std::error_code& ec) noexcept
}
return {static_cast<uintmax_t>(sfs.f_blocks * sfs.f_frsize), static_cast<uintmax_t>(sfs.f_bfree * sfs.f_frsize), static_cast<uintmax_t>(sfs.f_bavail * sfs.f_frsize)};
#else
(void)p;
ec = detail::make_error_code(detail::portable_error::not_supported);
return {static_cast<uintmax_t>(-1), static_cast<uintmax_t>(-1), static_cast<uintmax_t>(-1)};
#endif
Expand Down

0 comments on commit c428aba

Please sign in to comment.