summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_socket.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2012-08-15 19:07:42 +0000
committerChristopher Faylor <me@cgf.cx>2012-08-15 19:07:42 +0000
commit806e732c016ba1662c7a4fa0c5270195932b8474 (patch)
tree6ddfb832a31732a730e5dcc62edebdc843fac3d1 /winsup/cygwin/fhandler_socket.cc
parent879f3ad5eefc0cb914e7fed1a219ebb11c995a99 (diff)
downloadcygnal-806e732c016ba1662c7a4fa0c5270195932b8474.tar.gz
cygnal-806e732c016ba1662c7a4fa0c5270195932b8474.tar.bz2
cygnal-806e732c016ba1662c7a4fa0c5270195932b8474.zip
Rename cancelable_wait -> cygwait throughout.
* DevNotes: Add entry cgf-000015. * cygwait.h (cygwait): Don't allow an optional PLARGE_INTERGER argument.
Diffstat (limited to 'winsup/cygwin/fhandler_socket.cc')
-rw-r--r--winsup/cygwin/fhandler_socket.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_socket.cc b/winsup/cygwin/fhandler_socket.cc
index a11c7efbe..b2816278f 100644
--- a/winsup/cygwin/fhandler_socket.cc
+++ b/winsup/cygwin/fhandler_socket.cc
@@ -125,7 +125,7 @@ get_inet_addr (const struct sockaddr *in, int inlen,
some greedy Win32 application. Therefore we should never wait
endlessly without checking for signals and thread cancel event. */
pthread_testcancel ();
- if (cancelable_wait (NULL, cw_nowait, cw_sig_eintr) == WAIT_SIGNALED
+ if (cygwait (NULL, cw_nowait, cw_sig_eintr) == WAIT_SIGNALED
&& !_my_tls.call_signal_handler ())
{
set_errno (EINTR);