Author: cwittich
Date: Tue Sep 18 12:15:47 2007
New Revision: 29091
URL:
http://svn.reactos.org/svn/reactos?rev=29091&view=rev
Log:
fix a bug in the linux version of OsSupport::createProcess
Modified:
trunk/reactos/tools/sysreg/os_support.cpp
Modified: trunk/reactos/tools/sysreg/os_support.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/os_support.cp…
==============================================================================
--- trunk/reactos/tools/sysreg/os_support.cpp (original)
+++ trunk/reactos/tools/sysreg/os_support.cpp Tue Sep 18 12:15:47 2007
@@ -93,7 +93,7 @@
}
#else
/********************************************************************************************************************/
- OsSupport::ProcessID OsSupport::createProcess(TCHAR *procname, int procargsnum, TCHAR
**procargs, bool wait)
+ OsSupport::ProcessID OsSupport::createProcess(TCHAR *procname, int procargsnum, TCHAR
**procargs, bool bWait)
{
ProcessID pid;
@@ -110,7 +110,7 @@
else
{
/* parent process */
- if (wait)
+ if (bWait)
{
waitpid(pid, NULL, WNOHANG);
}