Lars Gullik Bjønnes wrote:

> Georg Baum <[EMAIL PROTECTED]> writes:
> | May I suggest to just ignore the case that createBufferTmpDir() could
> | fail for now and only put in a FIXME?
> 
> I can live with that. But I cannot live with the exit.

Is the following ok?

@@ -190,8 +191,10 @@
                text(0, 0)
 {
        lyxvc.buffer(&parent);
-       if (readonly_ || lyxrc.use_tempdir)
-               temppath = CreateBufferTmpDir();
+       temppath = createBufferTmpDir();
+       // FIXME: And now do something if temppath == string(), because we
+       // assume from now on that temppath points to a valid temp dir.
+       // See http://www.mail-archive.com/[EMAIL PROTECTED]/msg67406.html
 }


If yes, I'll send an updated patch.


Georg

Reply via email to