[ros-bugs] [Bug 1109] Netwide Assembler is not detected properly when selfhosting.

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Sun Dec 11 17:47:52 CET 2005


http://www.reactos.org/bugzilla/show_bug.cgi?id=1109





------- Additional Comments From waxdragon at gmail.com  2005-12-11 17:47 CET -------
system() calls _cwait:

int _cwait(int* pnStatus, int hProc, int nAction)
{
    DWORD ExitCode;
 
    nAction = 0;
    if (WaitForSingleObject((void*)ULongToPtr(hProc), INFINITE) != WAIT_OBJECT_0) {
        __set_errno(ECHILD);
        return -1;
    }
 
    if (!GetExitCodeProcess((void*)ULongToPtr(hProc), &ExitCode))
        return -1;
    if (pnStatus != NULL)
        *pnStatus = (int)ExitCode;
    CloseHandle((HANDLE)ULongToPtr(hProc));
    return hProc;
}

pnStatus seems to be what is returned.

-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.


More information about the Ros-bugs mailing list