[Libreoffice-bugs] [Bug 60909] Out of space warning ...

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jun 19 10:02:59 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=60909

--- Comment #9 from Stephan Bergmann <sbergman at redhat.com> ---
In include/osl/file.hxx, there's already osl::Directory::getVolumeInfo and
osl::VolumeInfo::getFreeSpace.  While getVolumeInfo's ustrDirectoryURL
parameter is documented as "Full qualified URL of the volume", the statfs-based
implementation in sal/osl/unx/file_volume.cxx will apparently accept any path
into a mounted filesystem, and the Windows implementation in
sal/osl/w32/file_dirvol.cxx explicitly does some path_travel_to_volume_root, so
it should work in practice to pass an arbitrary path into a "volume", not just
a path to a "volume root".

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170619/79af498a/attachment.html>


More information about the Libreoffice-bugs mailing list