got rid of a number of ifdefs which should not be needed anymore
This commit is contained in:
@@ -94,7 +94,6 @@ void docFieldsFromXattrs(RclConfig *cfg, const map<string, string>& xfields,
|
||||
void reapMetaCmds(RclConfig* cfg, const string& path,
|
||||
map<string, string>& cfields)
|
||||
{
|
||||
#ifndef _WIN32
|
||||
const vector<MDReaper>& reapers = cfg->getMDReapers();
|
||||
if (reapers.empty())
|
||||
return;
|
||||
@@ -113,7 +112,6 @@ void reapMetaCmds(RclConfig* cfg, const string& path,
|
||||
cfields[rp->fieldname] = output;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
// Set fields from external commands
|
||||
|
||||
@@ -109,12 +109,8 @@ bool Uncomp::uncompressfile(const string& ifn,
|
||||
}
|
||||
|
||||
// Execute command and retrieve output file name, check that it exists
|
||||
#ifndef _WIN32
|
||||
ExecCmd ex;
|
||||
int status = ex.doexec(cmd, args, 0, &tfile);
|
||||
#else
|
||||
int status = -1;
|
||||
#endif
|
||||
if (status || tfile.empty()) {
|
||||
LOGERR(("uncompressfile: doexec: failed for [%s] status 0x%x\n",
|
||||
ifn.c_str(), status));
|
||||
|
||||
Reference in New Issue
Block a user