Rainer M Krug wrote:
> Sorry - LyX 1.4.2, SuSe 10.1, installed from rpm via www.lyx.org.
It doesn't crash for me (SuSe 10.1, self-compiled), but I assume that the
attached patch will help.
Jürgen
Index: src/insets/insetcite.C
===================================================================
--- src/insets/insetcite.C (Revision 14801)
+++ src/insets/insetcite.C (Arbeitskopie)
@@ -68,7 +68,9 @@ string const getNatbibLabel(Buffer const
for (vector<string>::const_iterator it = bibfilesCache.begin();
it != bibfilesCache.end(); ++ it) {
string const f = *it;
- if (bibfileStatus[f] != fs::last_write_time(f)) {
+ if (!fs::exists(f))
+ changed = true;
+ else if (bibfileStatus[f] != fs::last_write_time(f)) {
changed = true;
bibfileStatus[f] = fs::last_write_time(f);
}