Juergen Spitzmueller wrote:
> Seems that
> boost::filesystem asserts when it has to copy a file to a non-existing
> directory.

Indeed:
http://www.boost.org/libs/filesystem/doc/operations.htm#empty_rationale

I think we shouldn't just assert in this case. It took me some time to find 
out the reason why I couldn't save anymore without crashing LyX.

We should check if the directory exists, we should check and tell the 
user: "the backup directory $DIR does not exists. Should I create it?"

Jürgen

Reply via email to