fixed GH #1523: Long path names under Windows

This commit is contained in:
Günter Obiltschnig
2017-02-02 20:54:59 +01:00
parent d5ce48138c
commit 0fefd7d03a
12 changed files with 98 additions and 17 deletions

View File

@@ -63,6 +63,7 @@ protected:
FileSizeImpl usableSpaceImpl() const;
FileSizeImpl freeSpaceImpl() const;
static void handleLastErrorImpl(const std::string& path);
static void convertPath(const std::string& utf8Path, std::wstring& utf16Path);
private:
std::string _path;
@@ -71,6 +72,8 @@ private:
friend class FileHandle;
friend class DirectoryIteratorImpl;
friend class WindowsDirectoryWatcherStrategy;
friend class FileStreamBuf;
friend class LogFileImpl;
};