Ignore:
Timestamp:
Oct 27, 1999, 12:35:25 AM (26 years ago)
Author:
phaller
Message:

Fix: bugfix for events, mutexes and semaphores

File:
1 edited

Legend:

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

    r278 r1461  
    1 /* $Id: hmsemaphore.cpp,v 1.1 1999-07-06 15:48:48 phaller Exp $ */
     1/* $Id: hmsemaphore.cpp,v 1.2 1999-10-26 22:35:25 phaller Exp $ */
    22
    33/*
     
    7777                                (LPTSTR)lpszSemaphoreName);
    7878
    79   if (INVALID_HANDLE_VALUE != hOpen32)         // check success
     79  if (0 != hOpen32)                            // check success
    8080  {
    8181    pHMHandleData->hHMHandle = hOpen32;        // save handle
     
    114114                              lpszSemaphoreName);
    115115
    116   if (INVALID_HANDLE_VALUE != hOpen32)         // check success
     116  if (0 != hOpen32)                            // check success
    117117  {
    118118    pHMHandleData->hHMHandle = hOpen32;        // save handle
Note: See TracChangeset for help on using the changeset viewer.