]> git.lyx.org Git - lyx.git/commit
Use real path names for buffer lookup by name of temporary external files.
authorStephan Witt <switt@lyx.org>
Sat, 22 Feb 2020 11:11:42 +0000 (12:11 +0100)
committerStephan Witt <switt@lyx.org>
Sat, 22 Feb 2020 11:11:42 +0000 (12:11 +0100)
commitf2f861f017bd598c9e5b72f64e10587cbe1e3405
tree51dfa0999f4553742008418aede9b3f9df0a8573
parentca7defab45a685bbc0303c32b94afb5ec98d4118
Use real path names for buffer lookup by name of temporary external files.

In case of path names for external files containing symbolic links the real path
and the logical path name may be different for the same file or directory.
LyX is using QDir::tempPath() to create the path name of the temporary directory.
The Qt implementation is free to return the logical or the real path name here and
it happens to be different for various platforms and versions.
The most stable and clean solution is to use the real path name consistently.
development/MacOSX/lyxeditor
src/BufferList.cpp
src/BufferList.h
src/frontends/qt/GuiView.cpp