#include <config.h>
+#include "support/filetools.h"
+
#include "LyX.h"
#include "LyXRC.h"
-#include "support/filetools.h"
-
#include "support/convert.h"
#include "support/debug.h"
#include "support/environment.h"
#include <QDir>
#include "support/lassert.h"
-#include "support/regex.h"
#include <fcntl.h>
#ifdef HAVE_MAGIC_H
#include <utility>
#include <fstream>
+#include <regex>
#include <sstream>
#include <vector>
}
-FileName const tempFileName(FileName tempdir, string const & mask, bool const dir)
+FileName const tempFileName(FileName const & tempdir, string const & mask, bool const dir)
{
return tempFileName(TempFile(tempdir, mask).name(), dir);
}
// (Claus Hentschel) Check if popen was successful ;-)
if (!inf) {
- lyxerr << "RunCommand:: could not start child process" << endl;
+ lyxerr << "RunCommand: could not start child process" << endl;
return { false, string() };
}
#endif
if (!valid)
- perror("RunCommand:: could not terminate child process");
+ perror("RunCommand: could not terminate child process");
return { valid, result };
}