[Pcsclite-cvs-commit] r5174 - /trunk/Drivers/ccid/src/ccid.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Mon Aug 23 08:35:23 UTC 2010


Author: rousseau
Date: Mon Aug 23 08:35:10 2010
New Revision: 5174

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5174
Log:
ccid_open_hack_pre(): Do not disable the call to InterruptRead() on Mac
OS X. We now use libusb-1.0 and the timeout should work.

This allows the Gemalto SG CCID to work under Mac OS X.

Modified:
    trunk/Drivers/ccid/src/ccid.c

Modified: trunk/Drivers/ccid/src/ccid.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/ccid.c?rev=5174&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ccid.c (original)
+++ trunk/Drivers/ccid/src/ccid.c Mon Aug 23 08:35:10 2010
@@ -71,11 +71,7 @@
 	{
 #ifndef TWIN_SERIAL
 		/* just wait for 10ms in case a notification is in the pipe */
-#ifndef __APPLE__
-		/* the InterruptRead does NOT timeout (on Mac OS X)
-		 * so we do not do that on Mac OS X */
 		(void)InterruptRead(reader_index, 10);
-#endif
 #endif
 	}
 




More information about the Pcsclite-cvs-commit mailing list