Changeset 2271 for trunk/src


Ignore:
Timestamp:
Dec 30, 1999, 7:49:32 PM (26 years ago)
Author:
sandervl
Message:

handlemanager bugfix ((Msg)WaitForMultipleObjects)

Location:
trunk/src/kernel32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/Fileio.cpp

    r2253 r2271  
    1 /* $Id: Fileio.cpp,v 1.20 1999-12-29 18:49:49 sandervl Exp $ */
     1/* $Id: Fileio.cpp,v 1.21 1999-12-30 18:49:32 sandervl Exp $ */
    22
    33/*
     
    241241//******************************************************************************
    242242ODINFUNCTION1(BOOL, DeleteFileA,
    243               LPCSTR, arg1)
    244 {
    245   return O32_DeleteFile(arg1);
     243              LPCSTR, lpszFile)
     244{
     245  dprintf(("DeleteFileA %s", lpszFile));
     246  return O32_DeleteFile(lpszFile);
    246247}
    247248//******************************************************************************
  • trunk/src/kernel32/HandleManager.cpp

    r2249 r2271  
    1 /* $Id: HandleManager.cpp,v 1.32 1999-12-29 13:04:52 phaller Exp $ */
     1/* $Id: HandleManager.cpp,v 1.33 1999-12-30 18:49:32 sandervl Exp $ */
    22
    33/*
     
    25462546
    25472547    //  @@@PH to imlpement: check handle type!
    2548 
     2548    // SvL: We still use Open32 handles for threads & processes -> don't fail here!
    25492549    if (rc != NO_ERROR)
    25502550    {
    2551       dprintf(("KERNEL32: HMWaitForMultipleObjects - ERROR: handle %08xh is NOT an Open32 handle (not yet implemented)\n",
     2551      dprintf(("KERNEL32: HMWaitForMultipleObjects - WARNING: handle %08xh is NOT an Odin handle (probably Open32 thread or process)\n",
    25522552               *pLoop1));
    25532553
    2554       O32_SetLastError(ERROR_INVALID_HANDLE);
    2555       return (WAIT_FAILED);
     2554          *pLoop2 = *pLoop1;
     2555////      O32_SetLastError(ERROR_INVALID_HANDLE);
     2556////      return (WAIT_FAILED);
    25562557    }
    25572558  }
     
    26412642                                 pLoop2);
    26422643
     2644    // SvL: We still use Open32 handles for threads & processes -> don't fail here!
    26432645    if (rc != NO_ERROR)
    26442646    {
    2645       O32_SetLastError(ERROR_INVALID_HANDLE);
    2646       return (WAIT_FAILED);
     2647      dprintf(("KERNEL32: HMMsgWaitForMultipleObjects - WARNING: handle %08xh is NOT an Odin handle (probably Open32 thread or process)\n",
     2648               *pLoop1));
     2649
     2650          *pLoop2 = *pLoop1;
     2651////      O32_SetLastError(ERROR_INVALID_HANDLE);
     2652////      return (WAIT_FAILED);
    26472653    }
    26482654  }
Note: See TracChangeset for help on using the changeset viewer.