summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/select.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2012-12-19 21:15:54 +0000
committerChristopher Faylor <me@cgf.cx>2012-12-19 21:15:54 +0000
commit6dadfa5644993b28d77730164f8b44cb9af17a3c (patch)
tree6e4c42afe3815a5eb41eb25343aa2bb92cfa9fbb /winsup/cygwin/select.cc
parent63d9f29311c1e12edde8aa28c7b7c00f8433dc49 (diff)
downloadcygnal-6dadfa5644993b28d77730164f8b44cb9af17a3c.tar.gz
cygnal-6dadfa5644993b28d77730164f8b44cb9af17a3c.tar.bz2
cygnal-6dadfa5644993b28d77730164f8b44cb9af17a3c.zip
* 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/select.cc')
-rw-r--r--winsup/cygwin/select.cc2
1 files changed, 1 insertions, 1 deletions
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;