]> git.lyx.org Git - features.git/commit
Fix file locking problem on windows (bug 9925)
authorGeorg Baum <baum@lyx.org>
Tue, 26 Jan 2016 20:49:08 +0000 (21:49 +0100)
committerGeorg Baum <baum@lyx.org>
Tue, 26 Jan 2016 20:49:08 +0000 (21:49 +0100)
commit8171272d1fb56ef3509a82143c4aa1d4b31fa08e
tree32b80e28cd1aa2e157abb8dfc0d716e112abe734
parent4ab1d77577fe746eb9ff9920a1b443977581ad3e
Fix file locking problem on windows (bug 9925)

External processes cannot access files which are open in LyX. Therefore the
temp files created by the external inset need to be closed right after
creation. The symptom was that the date inset did not produce any outout on
windows (bug 9925). This change reverts a small part of f09a9fe2.
Although the date inset is unimportant and will probably be removed, this
change is important for all external insets that make use of temp files.
src/insets/InsetExternal.cpp
src/insets/InsetExternal.h
src/support/TempFile.h