declare prototypes of debug_msg() and debug_xxd() to avoid
debuglog.c:265: warning: no previous prototype for �debug_msg�
2 lines of code changed in 1 file:
HPRemoveHotPluggable(): rename index to reader_index to avoid
warning: declaration of �index� shadows a global declaration
/usr/include/string.h:304: warning: shadowed declaration is here
10 lines of code changed in 1 file:
change prototype of SCardAddHandle() to remove an explicit cast
3 lines of code changed in 1 file:
SCardEstablishContextTH(): remove a local declaration of msgStruct to
avoid warning: declaration of 'msgStruct' shadows a previous local
0 lines of code changed in 1 file:
set the permission on USE_RUN_PID so that the file is world readable.
The file is used by libpcsclite to check the availability of pcscd
15 lines of code changed in 1 file:
move definition of PID_ASCII_SIZE from utils.c to utils.h
1 lines of code changed in 2 files:
RFSetReaderEventState(): unlock the card on removal. This will unlock
any waiting SCardConnect() and SCardReconnect()
7 lines of code changed in 1 file:
SCardConnect()/SCardDisconnect(): the reader may be removed while we are
waiting after a lock. fix a crash of pcscd
8 lines of code changed in 1 file:
release 1.4.2
13 lines of code changed in 2 files:
SCardDisconnect(): do not block if dwDisposition == SCARD_LEAVE_CARD.
We block only for SCARD_UNPOWER_CARD, SCARD_RESET_CARD and
SCARD_EJECT_CARD since that would impact other running transactions
2 lines of code changed in 1 file:
lockState field of READER_STATE was not used. Remove it and the
associated dead code
1 lines of code changed in 3 files:
add a Lock counter so that SCardBeginTransaction/SCardEndTransaction can
be nested
9 lines of code changed in 2 files:
SCardTransmit(): adjust size of data to send to pcscd.
Avoid a valgrind warnings.
7 lines of code changed in 1 file:
no need to initialise pioRecvPci. It is a out only variable
0 lines of code changed in 1 file:
SCardTransmit(): we do not need to correctly initialize
scTransmitStruct.pioRecvPci since it is only a out variable
2 lines of code changed in 1 file:
#include "utils.h" since we use SCardCheckDaemonAvailability()
1 lines of code changed in 1 file:
move declaration of SCardCheckDaemonAvailability() from winscard_clnt.c
to utils.h
5 lines of code changed in 2 files:
LPTSTR and LPCTSTR types are no more deprecated since they are found in
many applications. And using them is not a problem.
4 lines of code changed in 1 file:
initialise pioRecvPci before using it
1 lines of code changed in 1 file:
Initialize memory to avoid valgrind warnings: Syscall param write(buf)
points to uninitialised byte(s)
33 lines of code changed in 2 files:
use sizeof() instead of a constant
3 lines of code changed in 1 file:
typo
1 lines of code changed in 1 file:
release 1.4.1
21 lines of code changed in 2 files:
SHMMessageReceive(): on the client side, if the daemon does not respond
after 2 minutes (PCSCLITE_CLIENT_ATTEMPTS) we call
SCardCheckDaemonAvailability() to be sure the daemon is still there and
continue waiting.
Thanks to Harsh Sangal for the bug report
19 lines of code changed in 1 file:
export SCardCheckDaemonAvailability()
2 lines of code changed in 1 file:
do not build and include the pdf documentation files in the archive. The
html online versions should be enough.
2 lines of code changed in 1 file:
"poll the reader only if an application is using this reader"
3 lines of code changed in 1 file:
"do not use an active polling in hotplug_libusb.c" solved using
IFD_GENERATE_HOTPLUG
0 lines of code changed in 1 file: