SCardEstablishContext(): try to relaunch pcscd if
SCardCheckDaemonAvailability() succeeds but SCardEstablishContextTH()
fails. This happens if pcscd crashed without cleaning
/var/run/pcscd/pcscd.comm
10 lines of code changed in 1 file:
add FEATURE_GET_TLV_PROPERTIES and FEATURE_CCID_ESC_COMMAND from PC/SC
part 10 v2.02.07 March 2010
4 lines of code changed in 1 file:
Call at_exit() instead of exit() since the libC of Android is bogus and
atexit() does not work as it should.
Thanks to Patrice Angelini for the bug report.
3 lines of code changed in 1 file:
SCardCheckDaemonAvailability(): use stat(2) instead of the now removed
SYS_Stat()
1 lines of code changed in 1 file:
Remove the one line wrappers from sys_unix.c and use directly the POSIX
functions instead.
22 lines of code changed in 7 files:
Install pcscd as suid so that autostart works correctly (as root)
3 lines of code changed in 1 file:
done: remove as much text messages (logs) as possible
1 lines of code changed in 1 file:
Display PCSCLITE_FEATURES
2 lines of code changed in 1 file:
Add --enable-embedded (default is no) to build pcsc-lite for an embedded
system.
This will activate the NO_LOG option to disable logging and limit RAM
and disk consumption.
10 lines of code changed in 1 file:
If NO_LOG is defined then no log are displayed. The idea is to limit the
binaries size on disk and RAM consumption at execution time.
With NO_LOG defined we gain 26% (17 kB) for the .text segment of pcscd
and 15% (4 kB) for the .text segment of libpcsclite.so (for i386)
94 lines of code changed in 5 files:
Include config.h before the other header files so the configuration set
in config.h can be used in the other header files (NO_LOG for example)
2 lines of code changed in 2 files:
Remove debug.h and use debuglog.h instead. They both define the same
log API.
10 lines of code changed in 11 files:
revert change in revision 4812 since the problem is now solved in
pyscard (revision 382)
0 lines of code changed in 2 files:
do not initialise the library in a thread as it crashed on Mac OS X
13 lines of code changed in 2 files:
read only accesses to contextsList list shall also be protected by a mutex
5 lines of code changed in 1 file:
read only accesses to handlesList list shall also be protected by a mutex
25 lines of code changed in 1 file:
manipulations of handlesList field of ReaderContext should now be thread safe
14 lines of code changed in 2 files:
MSGRemoveContext(): correctly indent a line
1 lines of code changed in 1 file:
manipulations of cardsList should now be thread safe
14 lines of code changed in 1 file:
remove extra tab
1 lines of code changed in 1 file:
add more logging
13 lines of code changed in 1 file:
stress thread safeness of SCardConnect/SCardDisconnect
88 lines of code changed in 1 file:
manipulations of contextsList should now be thread safe
12 lines of code changed in 1 file:
stress thread safeness
62 lines of code changed in 1 file:
make pylint happier
24 lines of code changed in 2 files:
make pylint happier
27 lines of code changed in 1 file:
make pylint happy
8 lines of code changed in 1 file:
remove useless import
0 lines of code changed in 1 file:
use list comprehension instead of map() (more efficient and pylint does
not like map())
4 lines of code changed in 3 files:
make pylint happier
12 lines of code changed in 1 file:
debuglog.c is only used by pcscd. So no need to use #ifdef PCSCD
0 lines of code changed in 1 file:
fix typo
1 lines of code changed in 1 file: