]> git.lyx.org Git - features.git/commit
Always require a mask to get a temporary filename
authorVincent van Ravesteijn <vfr@lyx.org>
Thu, 3 May 2012 09:55:54 +0000 (11:55 +0200)
committerVincent van Ravesteijn <vfr@lyx.org>
Sun, 6 May 2012 15:23:20 +0000 (17:23 +0200)
commit58946a2996c875e65f558463ca41a918f7249909
tree3976c7b685b734048822aaf265bf4d3ccc2c573c
parent53cea1498612cd29077ff8fb656d7fdef9c1af3e
Always require a mask to get a temporary filename

If no mask is supplied or the mask is attached to the end of the filename, we end up with unexpected names like
  <system-temp-dir>\lyx_tmpdir.qHp780.vcr780_<mask>
instead of a temporary file in the lyx temporary directory like
  <system-temp-dir>\lyx_tmpdir.qHp780\<mask>.vcr780.

(cherry picked from commit 5e4e4b674c00bc546213d42258f19e13a2b28bc3)
src/CutAndPaste.cpp
src/LayoutFile.cpp
src/frontends/qt4/GuiWorkArea.cpp
src/support/FileName.h
status.20x