rgheck wrote:
Abdelrazak Younes wrote:
rgheck wrote:
FileName.cpp(194): Could not move file /tmp/lyx_tmpdir27404xpQ0V/lyxauto4095QMqYlq to /home/rgheck#newfile1.lyx# lyx: xcb_io.c:182: process_responses: Assertion `((int) (((dpy->last_request_read)) - ((dpy->request))) <= 0)' failed.

Looks like we're missing a "/".

Could you give me a backtrace please?

Can't reproduce it now. I'll see if it happens again.

I think I fixed it anyway. Was my fault to begin with, sorry. There's an awful lot to do with FileNames still... I must say that I am pretty fad up with it right now.

Abdel.

Author: younes
Date: Fri Dec 21 22:38:04 2007
New Revision: 22249

URL: http://www.lyx.org/trac/changeset/22249
Log:
* Buffer::filePath(): add a trailing '/' because the original version used support::onlyPath() which keeps the trailing slash.

Modified:
    lyx-devel/trunk/src/Buffer.cpp

Modified: lyx-devel/trunk/src/Buffer.cpp
URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/Buffer.cpp?rev=22249
==============================================================================
--- lyx-devel/trunk/src/Buffer.cpp (original)
+++ lyx-devel/trunk/src/Buffer.cpp Fri Dec 21 22:38:04 2007
@@ -1640,7 +1640,7 @@

 string Buffer::filePath() const
 {
-       return d->filename.onlyPath().absFilename();
+       return d->filename.onlyPath().absFilename() + "/";
 }





Reply via email to