[Pcsclite-git-commit] [PCSC] 01/01: Doxygen: SCardReconnect() do not release locks

Ludovic Rousseau rousseau at moszumanska.debian.org
Wed Jun 10 09:17:11 UTC 2015


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

rousseau pushed a commit to branch master
in repository PCSC.

commit fb38b061843212b3dd5908f344edd2f3f397dce5
Author: Ludovic Rousseau <ludovic.rousseau at gmail.com>
Date:   Tue Jun 9 16:05:09 2015 +0200

    Doxygen: SCardReconnect() do not release locks
    
    Document a new difference between pcsc-lite and Windows winscard.
    
    Any transaction help by the process is still valid after
    SCardReconnect() returned. On Windows the transactions are released and
    a new call to SCardBeginTransaction() must be done.
---
 src/winscard_clnt.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/winscard_clnt.c b/src/winscard_clnt.c
index e63407f..f3455cd 100644
--- a/src/winscard_clnt.c
+++ b/src/winscard_clnt.c
@@ -96,6 +96,11 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *    pdwActiveProtocol is not set to \ref SCARD_PROTOCOL_UNDEFINED if
  *    \ref SCARD_SHARE_DIRECT is used but the card has @b already
  *    negotiated its protocol.
+ * -# SCardReconnect()
+ *    @par
+ *    Any transaction help by the process is still valid after
+ *    SCardReconnect() returned. On Windows the transactions are
+ *    released and a new call to SCardBeginTransaction() must be done.
  */
 
 #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