]> git.lyx.org Git - lyx.git/blobdiff - src/lyxserver.C
More 'standard conformant blurb' nonsense.
[lyx.git] / src / lyxserver.C
index edbbd2efc80da17394f571c50493fa6aa58908b6..60dcf4085aecaef148bf4c0ebfb114718b8f1fe6 100644 (file)
 #include <fcntl.h>
 #include <cerrno>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
 #include "lyxserver.h"
 #include "lyx_main.h"
 #include "debug.h"
@@ -64,6 +60,9 @@
 #include "support/os2_errortable.h"
 #endif
 
+
+using namespace lyx::support;
+
 using std::endl;
 
 // provide an empty mkfifo() if we do not have one. This disables the
@@ -194,7 +193,7 @@ int LyXComm::startPipe(string const & filename, bool write)
        if (fd < 0) {
                lyxerr << "LyXComm: Could not open pipe " << filename << '\n'
                       << strerror(errno) << endl;
-               lyx::unlink(filename);
+               unlink(filename);
                return -1;
        }
 
@@ -235,7 +234,7 @@ void LyXComm::endPipe(int & fd, string const & filename, bool write)
 
 // OS/2 pipes are deleted automatically
 #ifndef __EMX__
-       if (lyx::unlink(filename) < 0) {
+       if (unlink(filename) < 0) {
                lyxerr << "LyXComm: Could not remove pipe " << filename
                       << '\n' << strerror(errno) << endl;
        };