* select.cc (fhandler_fifo::select_read): Fill in device specific record.
(fhandler_fifo::select_write): Ditto. (fhandler_fifo::select_except): Ditto.
This commit is contained in:
parent
b2e79f9800
commit
4c9a77261e
@ -1,3 +1,10 @@
|
|||||||
|
2009-12-22 Christopher Faylor <me+cygwin@cgf.cx>
|
||||||
|
|
||||||
|
* select.cc (fhandler_fifo::select_read): Fill in device specific
|
||||||
|
record.
|
||||||
|
(fhandler_fifo::select_write): Ditto.
|
||||||
|
(fhandler_fifo::select_except): Ditto.
|
||||||
|
|
||||||
2009-12-21 Corinna Vinschen <corinna@vinschen.de>
|
2009-12-21 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* path.cc (cygwin_conv_path): Add band-aid including comment to avoid
|
* path.cc (cygwin_conv_path): Add band-aid including comment to avoid
|
||||||
|
@ -742,6 +742,9 @@ fhandler_pipe::select_except (select_stuff *ss)
|
|||||||
select_record *
|
select_record *
|
||||||
fhandler_fifo::select_read (select_stuff *ss)
|
fhandler_fifo::select_read (select_stuff *ss)
|
||||||
{
|
{
|
||||||
|
if (!ss->device_specific_pipe
|
||||||
|
&& (ss->device_specific_pipe = new select_pipe_info) == NULL)
|
||||||
|
return NULL;
|
||||||
select_record *s = ss->start.next;
|
select_record *s = ss->start.next;
|
||||||
s->startup = start_thread_pipe;
|
s->startup = start_thread_pipe;
|
||||||
s->peek = peek_pipe;
|
s->peek = peek_pipe;
|
||||||
@ -755,6 +758,9 @@ fhandler_fifo::select_read (select_stuff *ss)
|
|||||||
select_record *
|
select_record *
|
||||||
fhandler_fifo::select_write (select_stuff *ss)
|
fhandler_fifo::select_write (select_stuff *ss)
|
||||||
{
|
{
|
||||||
|
if (!ss->device_specific_pipe
|
||||||
|
&& (ss->device_specific_pipe = new select_pipe_info) == NULL)
|
||||||
|
return NULL;
|
||||||
select_record *s = ss->start.next;
|
select_record *s = ss->start.next;
|
||||||
s->startup = start_thread_pipe;
|
s->startup = start_thread_pipe;
|
||||||
s->peek = peek_pipe;
|
s->peek = peek_pipe;
|
||||||
@ -768,6 +774,9 @@ fhandler_fifo::select_write (select_stuff *ss)
|
|||||||
select_record *
|
select_record *
|
||||||
fhandler_fifo::select_except (select_stuff *ss)
|
fhandler_fifo::select_except (select_stuff *ss)
|
||||||
{
|
{
|
||||||
|
if (!ss->device_specific_pipe
|
||||||
|
&& (ss->device_specific_pipe = new select_pipe_info) == NULL)
|
||||||
|
return NULL;
|
||||||
select_record *s = ss->start.next;
|
select_record *s = ss->start.next;
|
||||||
s->startup = start_thread_pipe;
|
s->startup = start_thread_pipe;
|
||||||
s->peek = peek_pipe;
|
s->peek = peek_pipe;
|
||||||
|
Loading…
Reference in New Issue
Block a user