[Pcsclite-git-commit] [PCSC] 01/01: Doxygen: document SCardConnect() within a transaction

Ludovic Rousseau rousseau at moszumanska.debian.org
Wed Oct 26 10:08:32 UTC 2016


This is an automated email from the git hooks/post-receive script.

rousseau pushed a commit to branch master
in repository PCSC.

commit aa9db5f12b892c94585452fc106d48f064bc0f60
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date:   Wed Oct 26 12:06:15 2016 +0200

    Doxygen: document SCardConnect() within a transaction
    
    SCardConnect() does not behave as on Windows when a transaction is
    running.
    
    Thanks to Maksim Ivanov for the "bug" report
    "[Pcsclite-muscle] Difference from Windows' implementation with regard
    to PC/SC shared mode"
    http://lists.alioth.debian.org/pipermail/pcsclite-muscle/Week-of-Mon-20161017/000738.html
---
 src/winscard_clnt.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/winscard_clnt.c b/src/winscard_clnt.c
index 76175e4..52dbf70 100644
--- a/src/winscard_clnt.c
+++ b/src/winscard_clnt.c
@@ -100,6 +100,12 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *    Any PC/SC transaction held by the process is still valid after
  *    SCardReconnect() returned. On Windows the PC/SC transactions are
  *    released and a new call to SCardBeginTransaction() must be done.
+ * -# SCardConnect() within a transaction
+ *    @par
+ *    SCardConnect() will block if a transaction
+ *    (SCardBeginTransaction() / SCardEndTransaction()) is running for
+ *    the requested card/reader.  Under Windows SCardConnect() would
+ *    return successfully immediately.
  */
 
 #include "config.h"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/PCSC.git



More information about the Pcsclite-cvs-commit mailing list