Skip to content

Commit

Permalink
Don't search managed root file system (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
edocevoli committed Sep 27, 2018
1 parent db6133f commit 5205693
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Libraries/MiKTeX/Core/Session/findfile.cpp
Expand Up @@ -216,6 +216,12 @@ bool SessionImpl::FindFileInternal(const string& fileName, const vector<PathName
// don't search the virtual MPM directory tree
continue;
}
unsigned rootIdx = TryDeriveTEXMFRoot(*it);
if (rootIdx != INVALID_ROOT_INDEX && IsManagedRoot(rootIdx))
{
// don't search managed root file system
continue;
}
shared_ptr<FileNameDatabase> fndb = GetFileNameDatabase(it->GetData());
if (fndb == nullptr)
{
Expand Down
2 changes: 1 addition & 1 deletion Libraries/MiKTeX/Core/version.cmake
Expand Up @@ -17,5 +17,5 @@
## Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
## USA.

set(MIKTEX_COMP_J2000_VERSION 6833)
set(MIKTEX_COMP_J2000_VERSION 6844)
set(MIKTEX_COMP_INTERFACE_VERSION 9)

0 comments on commit 5205693

Please sign in to comment.