[svn] dirmngr - r250 - trunk/src

svn author marcus cvs at cvs.gnupg.org
Thu Jul 26 13:41:14 CEST 2007


Author: marcus
Date: 2007-07-26 13:40:44 +0200 (Thu, 26 Jul 2007)
New Revision: 250

Modified:
   trunk/src/ChangeLog
   trunk/src/ldap.c
Log:
2007-07-26  Marcus Brinkmann  <marcus at g10code.de>

	* ldap (pth_yield) [HAVE_W32_SYSTEM]: Define to Sleep(0).


Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog	2007-07-26 00:24:24 UTC (rev 249)
+++ trunk/src/ChangeLog	2007-07-26 11:40:44 UTC (rev 250)
@@ -1,9 +1,12 @@
 2007-07-26  Marcus Brinkmann  <marcus at g10code.de>
 
+	* ldap (pth_yield) [HAVE_W32_SYSTEM]: Define to Sleep(0).
+
 	* dirmngr_ldap.c [HAVE_W32_SYSTEM]: Do not include <ldap.h>, but
 	<winsock2.h>, <winldap.h> and "ldap-url.h".
 	* ldap.c [HAVE_W32_SYSTEM]: Do not include <ldap.h>, but
 	<winsock2.h> and <winldap.h>.
+
 	* ldap-url.c: Do not include <ldap.h>, but <winsock2.h>,
 	<winldap.h> and "ldap-url.h".
 	(LDAP_P): New macro.

Modified: trunk/src/ldap.c
===================================================================
--- trunk/src/ldap.c	2007-07-26 00:24:24 UTC (rev 249)
+++ trunk/src/ldap.c	2007-07-26 11:40:44 UTC (rev 250)
@@ -44,7 +44,7 @@
 
 #if HAVE_W32_SYSTEM
 #define setenv(a,b,c) SetEnvironmentVariable ((a),(b))
-#define pth_yield(a) /* FIXME */
+#define pth_yield(a) Sleep (0)
 #endif
 
 /* In case sysconf does not return a value we need to have a limit. */




More information about the Gnupg-commits mailing list