]> sourceware.org Git - newlib-cygwin.git/commitdiff
Fix typoed comparison
authorPeter Foley <pefoley2@pefoley.com>
Sat, 19 Mar 2016 17:45:54 +0000 (13:45 -0400)
committerCorinna Vinschen <corinna@vinschen.de>
Sun, 20 Mar 2016 11:19:35 +0000 (12:19 +0100)
winsup/cygwin/ChangeLog
* thread.cc (semaphore::open): Fix mistaken conditional.

Signed-off-by: Peter Foley <pefoley2@pefoley.com>
winsup/cygwin/thread.cc

index 531d6a84680ff248f08d0b2ba484a2dcf546341d..05757ac58404c73c0492d6008c26cd7cc9f1fcac 100644 (file)
@@ -3746,7 +3746,7 @@ semaphore::open (unsigned long long hash, LUID luid, int fd, int oflag,
   for (semaphore *sema = semaphores.head; sema; sema = sema->next)
     if (sema->fd >= 0 && sema->hash == hash
        && sema->luid.HighPart == luid.HighPart
-       && sema->luid.LowPart == sema->luid.LowPart)
+       && sema->luid.LowPart == luid.LowPart)
       {
        wasopen = true;
        semaphores.mx.unlock ();
This page took 0.032585 seconds and 5 git commands to generate.