mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 10:40:48 +00:00
f09a9fe2e6
FileName::tempName() created a new temp file name by using qt to create a temporary file with a unique name, and then deleting that file and returning the name. This was unsafe, since other processes or even other threads of the running LyX could create files with the same name between deletion and then using the temp name. This is fixed by using the TempFile class instead. As a side effect, a few cases where the temp files were not deleted after usage were fixed as well. The only place that is still unsafe is createTmpDir(). |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
epstools.cpp | ||
epstools.h | ||
GraphicsCache.cpp | ||
GraphicsCache.h | ||
GraphicsCacheItem.cpp | ||
GraphicsCacheItem.h | ||
GraphicsConverter.cpp | ||
GraphicsConverter.h | ||
GraphicsImage.h | ||
GraphicsLoader.cpp | ||
GraphicsLoader.h | ||
GraphicsParams.cpp | ||
GraphicsParams.h | ||
GraphicsTypes.h | ||
PreviewImage.cpp | ||
PreviewImage.h | ||
PreviewLoader.cpp | ||
PreviewLoader.h |