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>2000-08-12 08:48:44 +0400
committerChristopher Faylor <me@cgf.cx>2000-08-12 08:48:44 +0400
commit9015e0fb8c0fbb98f919dd3726ddbc97e46bd9fd (patch)
tree14cc365950ecf7a837508a410cf4dd0fa4ab3b97 /winsup/cygwin/poll.cc
parent86bf05d54094008ba6e8a1c692d4a71879ee6590 (diff)
Rename hinfo -> dtable. Name the former dtable array 'fdtab'.
Diffstat (limited to 'winsup/cygwin/poll.cc')
-rw-r--r--winsup/cygwin/poll.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/poll.cc b/winsup/cygwin/poll.cc
index b0a5ebd29..6804619cb 100644
--- a/winsup/cygwin/poll.cc
+++ b/winsup/cygwin/poll.cc
@@ -43,7 +43,7 @@ poll (struct pollfd *fds, unsigned int nfds, int timeout)
memset (except_fds, 0, fds_size);
for (unsigned int i = 0; i < nfds; ++i)
- if (!dtable.not_open (fds[i].fd))
+ if (!fdtab.not_open (fds[i].fd))
{
FD_SET (fds[i].fd, open_fds);
if (fds[i].events & POLLIN)
@@ -61,7 +61,7 @@ poll (struct pollfd *fds, unsigned int nfds, int timeout)
{
if (!FD_ISSET (fds[i].fd, open_fds))
fds[i].revents = POLLNVAL;
- else if (dtable.not_open(fds[i].fd))
+ else if (fdtab.not_open(fds[i].fd))
fds[i].revents = POLLHUP;
else if (ret < 0)
fds[i].revents = POLLERR;