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-06-28 01:42:11 +0400
committerChristopher Faylor <me@cgf.cx>2012-06-28 01:42:11 +0400
commitb052bf2671137fbae0b70e6950af2beffb076309 (patch)
tree14ee283644bcd31247927959f8b1fa72d75b0045 /winsup/cygwin/select.h
parentc60437258a05fddbb9994e8714691ffc0bfd606e (diff)
* cygwait.h (cancelable_wait): Make extern to avoid always including.
* select.cc (allocfd_set): Try to make a little more efficient. (cygwin_select): Break into two functions to avoid what seems to be a strange compiler problem with alloca and sel constructor. (select): New function. Always honor return from call_signal_handler. (select_stuff::wait): Always honor return from call_signal_handler. * select.h (select_stuff::select_stuff): Use NULL to initialize pointers rather than 0.
Diffstat (limited to 'winsup/cygwin/select.h')
-rw-r--r--winsup/cygwin/select.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/select.h b/winsup/cygwin/select.h
index 0afccbd9d..fe0c206d5 100644
--- a/winsup/cygwin/select.h
+++ b/winsup/cygwin/select.h
@@ -97,9 +97,9 @@ public:
select_stuff (): return_on_signal (false), always_ready (false),
windows_used (false), start (0),
- device_specific_pipe (0),
- device_specific_socket (0),
- device_specific_serial (0),
- device_specific_mailslot (0) {}
+ device_specific_pipe (NULL),
+ device_specific_socket (NULL),
+ device_specific_serial (NULL),
+ device_specific_mailslot (NULL) {}
};
#endif /* _SELECT_H_ */