1st successful use of mh_exec (direct antiword exec)

--HG--
branch : WINDOWSPORT
This commit is contained in:
Jean-Francois Dockes
2015-09-11 11:26:53 +02:00
parent b626d80a83
commit 06f43c573e
16 changed files with 345 additions and 60 deletions
+11
View File
@@ -239,6 +239,17 @@ const string& path_sharedatadir()
return datadir;
}
string path_PATHsep()
{
static const string w(";");
static const string u(":");
#ifdef _WIN32
return w;
#else
return u;
#endif
}
bool maketmpdir(string& tdir, string& reason)
{
#ifndef _WIN32
+3
View File
@@ -78,6 +78,9 @@ extern long long path_filesize(const std::string& path);
/// the file/dir does not exist or that an error occurred.
extern bool path_exists(const std::string& path);
/// Return separator for PATH environment variable
extern std::string path_PATHsep();
/// Dump directory
extern bool readdir(const std::string& dir, std::string& reason,
std::set<std::string>& entries);