]> 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>
Thu, 3 May 2012 14:14:37 +0000 (16:14 +0200)
commit5e4e4b674c00bc546213d42258f19e13a2b28bc3
tree583913be6f3a5848f52e9689411c0c1f3c0a98fd
parentbc746efed885557f491620ccdf0a53861ff3c257
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.
src/CutAndPaste.cpp
src/LayoutFile.cpp
src/frontends/qt4/GuiWorkArea.cpp
src/support/FileName.h