OSDN Git Service

* fhandler_fifo.cc (fhandler_fifo::wait): Fix stupid typo and actually wait for
authorcgf <cgf>
Wed, 7 Dec 2011 03:07:24 +0000 (03:07 +0000)
committercgf <cgf>
Wed, 7 Dec 2011 03:07:24 +0000 (03:07 +0000)
the handle.

winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_fifo.cc

index 7f33e9a..9acf2b3 100644 (file)
@@ -1,3 +1,8 @@
+2011-12-06  Christopher Faylor  <me.cygwin2011@cgf.cx>
+
+       * fhandler_fifo.cc (fhandler_fifo::wait): Fix stupid typo and actually
+       wait for the handle.
+
 2011-12-05  Christopher Faylor  <me.cygwin2011@cgf.cx>
 
        * sigproc.cc (close_my_readsig): New function.
index ae57054..c0aaf1e 100644 (file)
@@ -216,7 +216,7 @@ fhandler_fifo::wait (HANDLE h)
 
   debug_only_printf ("waiting for %s", what);
   /* Wait for the event.  Set errno, as appropriate if something goes wrong. */
-  switch (cygWFMO (1, wait))
+  switch (cygWFMO (1, wait, h))
     {
     case WAIT_OBJECT_0:
       debug_only_printf ("successfully waited for %s", what);