VirtualBox

Ignore:
Timestamp:
May 16, 2005 4:54:08 PM (19 years ago)
Author:
bird
Message:

Current make snaphot, 2005-05-16.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gmake/w32/subproc/sub_proc.c

    r153 r284  
    665665        HANDLE ready_hand;
    666666        bool_t child_dead = FALSE;
    667 
     667        BOOL GetExitCodeResult;
    668668
    669669        /*
    670670         *  Create stdin thread, if needed
    671671         */
    672     pproc->inp = stdin_data;
    673     pproc->incnt = stdin_data_len;
     672        pproc->inp = stdin_data;
     673        pproc->incnt = stdin_data_len;
    674674        if (!pproc->inp) {
    675675                stdin_eof = TRUE;
     
    763763                } else if (ready_hand == childhand) {
    764764
    765                         if (GetExitCodeProcess(childhand, &pproc->exit_code) == FALSE) {
     765                        GetExitCodeResult = GetExitCodeProcess(childhand, (DWORD*)&pproc->exit_code);
     766                        if (GetExitCodeResult == FALSE) {
    766767                                pproc->last_err = GetLastError();
    767768                                pproc->lerrno = E_SCALL;
     
    810811        HANDLE childhand;
    811812        DWORD wait_return;
     813        BOOL GetExitCodeResult;
    812814
    813815        if (proc == NULL)
     
    853855        }
    854856
    855         if (GetExitCodeProcess(childhand, &pproc->exit_code) == FALSE) {
     857        GetExitCodeResult = GetExitCodeProcess(childhand, (DWORD*)&pproc->exit_code);
     858        if (GetExitCodeResult == FALSE) {
    856859                pproc->last_err = GetLastError();
    857860                pproc->lerrno = E_SCALL;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette