diff options
author | marha <marha@users.sourceforge.net> | 2010-10-06 16:03:47 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-10-06 16:03:47 +0000 |
commit | 3aef45d35bab536aaf3ad1ea040b70ea3f0612c0 (patch) | |
tree | 6775556294b8e93515bf5813f3b85dc71a463e3c /tools/mhmake/src/mhmakefileparser.h | |
parent | bfa0c2fa423efa7ece6e54d5f30bbe95ca4bfc2a (diff) | |
download | vcxsrv-3aef45d35bab536aaf3ad1ea040b70ea3f0612c0.tar.gz vcxsrv-3aef45d35bab536aaf3ad1ea040b70ea3f0612c0.tar.bz2 vcxsrv-3aef45d35bab536aaf3ad1ea040b70ea3f0612c0.zip |
Solved reentrancy problem in commandqueue
Diffstat (limited to 'tools/mhmake/src/mhmakefileparser.h')
-rw-r--r-- | tools/mhmake/src/mhmakefileparser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mhmake/src/mhmakefileparser.h b/tools/mhmake/src/mhmakefileparser.h index 9c75c8771..19bb403e3 100644 --- a/tools/mhmake/src/mhmakefileparser.h +++ b/tools/mhmake/src/mhmakefileparser.h @@ -100,7 +100,7 @@ protected: #else
char **m_pEnv; // New environment in case the makefile exports variables
#endif
- int m_EnvLen; // Current length of m_pEnv
+ size_t m_EnvLen; // Current length of m_pEnv
autodeps_t m_AutoDeps;
set< const fileinfo* , less_fileinfo > m_Targets; // List of targets that are build by this makefile
@@ -363,7 +363,7 @@ public: mh_pid_t EchoCommand(const string &Params) const;
string SearchCommand(const string &Command, const string &Extension="") const;
const string &GetPythonExe() const;
- int SearchPath(const char *szCommand, const char *pExt, int Len, char *szFullCommand,char **pFilePart) const;
+ int SearchPath(const char *szCommand, const char *pExt, size_t Len, char *szFullCommand,char **pFilePart) const;
mh_pid_t OsExeCommand(const string &Command, const string &Params, bool IgnoreError, string *pOutput) const;
};
|