Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2012-12-20 01:15:54 +0400
committerChristopher Faylor <me@cgf.cx>2012-12-20 01:15:54 +0400
commit6dadfa5644993b28d77730164f8b44cb9af17a3c (patch)
tree6e4c42afe3815a5eb41eb25343aa2bb92cfa9fbb /winsup/cygwin
parent63d9f29311c1e12edde8aa28c7b7c00f8433dc49 (diff)
* 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.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog7
-rw-r--r--winsup/cygwin/select.cc2
2 files changed, 8 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 578f7fdd7..32fff790a 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,12 @@
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.
2012-12-18 Christopher Faylor <me.cygwin2012@cgf.cx>
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;