Abdelrazak Younes wrote:
rgheck wrote:

As was, this was creating files in /tmp/, which then got left after LyX exited. They should be created in LyX's own temporary directory, right?
Right, this is due to the trailing slash... I thought I fixed that... weird.

The patch does this. Let me know if this is a problem.

Your patch seems to remove the capability to create a tempfile in another folder. I don't know if this feature is used but maybe you should check before committing.

No, we still have
FileName FileName::tempName(FileName const & temp_dir, string const & mask)
for that purpose. This patch just redoes
   FileName FileName::tempName(string const & mask)
in a simpler way. I think the default was to create it in LyX's temporary directory before.

I'll commit.

rh

Reply via email to