diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 578f7fdd7..32fff790a 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,10 @@ +2012-12-19 Christopher Faylor + + * 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 * select.cc (select_stuff::wait): Add windows error number to error message. diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc index 5b3920d14..c67471cbc 100644 --- a/winsup/cygwin/select.cc +++ b/winsup/cygwin/select.cc @@ -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;