From: Christopher Faylor Date: Tue, 8 Feb 2005 16:19:58 +0000 (+0000) Subject: * pipe.cc (fhandler_pipe::read): Remove hold over from old read_state X-Git-Tag: binutils-2_16-branchpoint~92 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=f1256beb92626fd91843da95548625d9ac7114c5;p=newlib-cygwin.git * pipe.cc (fhandler_pipe::read): Remove hold over from old read_state implementation. --- diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 24ef866a2..4bfe15e86 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2005-02-08 Christopher Faylor + + * pipe.cc (fhandler_pipe::read): Remove hold over from old read_state + implementation. + 2005-02-06 Yitzchak Scott-Thoennes * net.cc (cygwin_gethostbyname): Be more picky about what's a numeric diff --git a/winsup/cygwin/pipe.cc b/winsup/cygwin/pipe.cc index ee4b7ad6f..eab600aff 100644 --- a/winsup/cygwin/pipe.cc +++ b/winsup/cygwin/pipe.cc @@ -186,7 +186,6 @@ fhandler_pipe::read (void *in_ptr, size_t& in_len) else { pipeargs pi = {dynamic_cast(this), in_ptr, &in_len}; - ResetEvent (read_state); cygthread *th = new cygthread (read_pipe, &pi, "read_pipe"); if (th->detach (read_state) && !in_len) in_len = (size_t) -1; /* received a signal */