aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2010-04-02 16:43:27 +0000
committerChristopher Faylor <me@cgf.cx>2010-04-02 16:43:27 +0000
commit60efdd0c4cb7a0eb6410e08888b24f5265fd0966 (patch)
tree923b6b6c013d10184e16657e26ae7462317d8528
parent7c972c6354b21f62e39908a7bd3451a291577781 (diff)
downloadnewlib-60efdd0c4cb7a0eb6410e08888b24f5265fd0966.zip
newlib-60efdd0c4cb7a0eb6410e08888b24f5265fd0966.tar.gz
newlib-60efdd0c4cb7a0eb6410e08888b24f5265fd0966.tar.bz2
* fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Properly initialize
overlapped part of this class.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/fhandler_fifo.cc3
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 3772e4c..1b09fe2 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-02 Christopher Faylor <me+cygwin@cgf.cx>
+
+ * fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Properly initialize
+ overlapped part of this class.
+
2010-04-02 Corinna Vinschen <corinna@vinschen.de>
* fhandler_tty.cc (fhandler_tty_slave::close): Revert previous change.
diff --git a/winsup/cygwin/fhandler_fifo.cc b/winsup/cygwin/fhandler_fifo.cc
index b4a78d4..06e110e 100644
--- a/winsup/cygwin/fhandler_fifo.cc
+++ b/winsup/cygwin/fhandler_fifo.cc
@@ -22,9 +22,8 @@
#include "shared_info.h"
fhandler_fifo::fhandler_fifo ():
- wait_state (fifo_unknown), dummy_client (NULL)
+ fhandler_base_overlapped (), wait_state (fifo_unknown), dummy_client (NULL)
{
- get_overlapped ()->hEvent = NULL;
need_fork_fixup (true);
}