Hi

I couldn't reproduce it with a different document either. Could you
email me the rpm incl the patch for SuSE 10.1 to try it out?

Rainer



Juergen Spitzmueller wrote:
> 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);
>               }


-- 
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:            +27 - (0)72 808 2975 (w)
Fax:            +27 - (0)21 808 3304
Cell:           +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
        [EMAIL PROTECTED]

Reply via email to