[svn] w32pth - r11 - trunk
svn author marcus
cvs at cvs.gnupg.org
Fri Jul 27 16:55:34 CEST 2007
Author: marcus
Date: 2007-07-27 16:55:04 +0200 (Fri, 27 Jul 2007)
New Revision: 11
Modified:
trunk/ChangeLog
trunk/w32-pth.c
Log:
2007-07-27 Marcus Brinkmann <marcus at g10code.de>
* w32-pth.c (pth_select): Reimplement in terms of pth_select_ev.
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-07-26 19:11:47 UTC (rev 10)
+++ trunk/ChangeLog 2007-07-27 14:55:04 UTC (rev 11)
@@ -1,3 +1,7 @@
+2007-07-27 Marcus Brinkmann <marcus at g10code.de>
+
+ * w32-pth.c (pth_select): Reimplement in terms of pth_select_ev.
+
2007-07-26 Marcus Brinkmann <marcus at g10code.de>
* libw32pth.def: Add pth_rwlock_init, pth_rwlock_acquire,
Modified: trunk/w32-pth.c
===================================================================
--- trunk/w32-pth.c 2007-07-26 19:11:47 UTC (rev 10)
+++ trunk/w32-pth.c 2007-07-27 14:55:04 UTC (rev 11)
@@ -481,19 +481,6 @@
}
-int
-pth_select (int nfd, fd_set * rfds, fd_set * wfds, fd_set * efds,
- const struct timeval * timeout)
-{
- int n;
-
- implicit_init ();
- enter_pth (__FUNCTION__);
- n = select (nfd, rfds, wfds, efds, timeout);
- leave_pth (__FUNCTION__);
- return n;
-}
-
static void
show_event_ring (const char *text, pth_event_t ev)
{
@@ -599,6 +586,14 @@
int
+pth_select (int nfd, fd_set * rfds, fd_set * wfds, fd_set * efds,
+ const struct timeval * timeout)
+{
+ return pth_select_ev (nfd, rfds, wfds, efds, timeout, NULL);
+}
+
+
+int
pth_fdmode (int fd, int mode)
{
unsigned long val;
More information about the Gnupg-commits
mailing list