Switch to unified view

a/src/utils/execmd.cpp b/src/utils/execmd.cpp
...
...
100
100
101
void  ExecCmd::putenv(const string &ea)
101
void  ExecCmd::putenv(const string &ea)
102
{
102
{
103
    m_env.push_back(ea);
103
    m_env.push_back(ea);
104
}
104
}
105
106
void  ExecCmd::putenv(const string &name, const string& value)
107
{
108
    string ea = name + "=" + value;
109
    putenv(ea);
110
}
111
105
static void msleep(int millis)
112
static void msleep(int millis)
106
{
113
{
107
    struct timespec spec;
114
    struct timespec spec;
108
    spec.tv_sec = millis / 1000;
115
    spec.tv_sec = millis / 1000;
109
    spec.tv_nsec = (millis % 1000) * 1000000;
116
    spec.tv_nsec = (millis % 1000) * 1000000;