]> git.lyx.org Git - lyx.git/blobdiff - src/lyxsocket.C
Updates from Bennett and myself.
[lyx.git] / src / lyxsocket.C
index 086a00e69df73d3c7356c9d0fbe42c148ad724a3..165dddbb7ca442f574d4b587189c2480ab3a57fd 100644 (file)
@@ -24,6 +24,7 @@
 #include "frontends/Application.h"
 
 #include "support/environment.h"
+#include "support/filename.h"
 #include "support/lyxlib.h"
 #include "support/socktools.h"
 
@@ -83,7 +84,7 @@ LyXServerSocket::~LyXServerSocket()
                        lyxerr << "lyx: Server socket " << fd_
                               << " IO error on closing: " << strerror(errno);
        }
-       support::unlink(address_);
+       support::unlink(support::FileName(address_));
        lyxerr[Debug::LYXSERVER] << "lyx: Server socket quitting" << endl;
 }