VirtualBox

Changeset 284 in kBuild for branches/GNU/src/gmake/w32/subproc


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

Current make snaphot, 2005-05-16.

Location:
branches/GNU/src/gmake/w32/subproc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gmake/w32/subproc/NMakefile

    r53 r284  
    2424LIB = lib
    2525CC = cl
     26MAKE = nmake
    2627
    2728OUTDIR=.
  • 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;
  • branches/GNU/src/gmake/w32/subproc/w32err.c

    r153 r284  
    1212char *
    1313map_windows32_error_to_string (DWORD ercode) {
    14 /* __declspec (thread) necessary if you will use multiple threads */
     14/* __declspec (thread) necessary if you will use multiple threads on MSVC */
     15#ifdef _MSC_VER
    1516__declspec (thread) static char szMessageBuffer[128];
    16 
     17#else
     18static char szMessageBuffer[128];
     19#endif
    1720        /* Fill message buffer with a default message in
    1821         * case FormatMessage fails
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