fixed GH# #2712: File_WIN32.cpp(168): error C2065: “_upath”:Undeclared identifier

This commit is contained in:
Günter Obiltschnig
2019-06-22 13:44:25 +02:00
parent 5a5028fe6d
commit ee5a7269c3

View File

@@ -165,7 +165,7 @@ bool FileImpl::isLinkImpl() const
{ {
poco_assert (!_path.empty()); poco_assert (!_path.empty());
DWORD attr = GetFileAttributes(_upath.c_str()); DWORD attr = GetFileAttributes(_path.c_str());
if (attr == INVALID_FILE_ATTRIBUTES) if (attr == INVALID_FILE_ATTRIBUTES)
handleLastErrorImpl(_path); handleLastErrorImpl(_path);
return (attr & FILE_ATTRIBUTE_DIRECTORY) == 0 && (attr & FILE_ATTRIBUTE_REPARSE_POINT) != 0; return (attr & FILE_ATTRIBUTE_DIRECTORY) == 0 && (attr & FILE_ATTRIBUTE_REPARSE_POINT) != 0;