* select.h (select_stuff::select_stuff): Make default constructor always zero
everything while constructor with int arg just zeroes next. * select.cc (select_stuff::test_and_set): Revert to using default constructor.
This commit is contained in:
parent
63d9f29311
commit
6dadfa5644
@ -1,3 +1,10 @@
|
||||
2012-12-19 Christopher Faylor <me.cygwin2012@cgf.cx>
|
||||
|
||||
* select.h (select_stuff::select_stuff): Make default constructor
|
||||
always zero everything while constructor with int arg just zeroes next.
|
||||
* select.cc (select_stuff::test_and_set): Revert to using default
|
||||
constructor.
|
||||
|
||||
2012-12-19 Christopher Faylor <me.cygwin2012@cgf.cx>
|
||||
|
||||
* select.cc (select_stuff::wait): Add windows error number to error message.
|
||||
|
@ -295,7 +295,7 @@ select_stuff::test_and_set (int i, fd_set *readfds, fd_set *writefds,
|
||||
&& ! UNIX_FD_ISSET (i, exceptfds))
|
||||
return true;
|
||||
|
||||
select_record *s = new select_record (0);
|
||||
select_record *s = new select_record;
|
||||
if (!s)
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user