mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-19 07:22:14 +08:00
* pipe.cc (fhandler_pipe::read): Remove hold over from old read_state
implementation.
This commit is contained in:
parent
1159e0fd94
commit
f1256beb92
@ -1,3 +1,8 @@
|
||||
2005-02-08 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* pipe.cc (fhandler_pipe::read): Remove hold over from old read_state
|
||||
implementation.
|
||||
|
||||
2005-02-06 Yitzchak Scott-Thoennes <sthoenna@efn.org>
|
||||
|
||||
* net.cc (cygwin_gethostbyname): Be more picky about what's a numeric
|
||||
|
@ -186,7 +186,6 @@ fhandler_pipe::read (void *in_ptr, size_t& in_len)
|
||||
else
|
||||
{
|
||||
pipeargs pi = {dynamic_cast<fhandler_base *>(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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user