remove SCardUnload() since it is not in the PC/SC API
0 lines of code changed in 1 file:
check for rescan ongoing in pcscdaemon.c:signal_reload() instead of
hotplug_libusb.c:HPReCheckSerialReaders() since the code is not specific
to libusb
12 lines of code changed in 2 files:
move code of HPEstablishUSBNotifications() into a new function
HPRescanUsbBus()
HPRescanUsbBus() is called:
- periodically from HPEstablishUSBNotifications() if USB_POLLING is defined
- by HPReCheckSerialReaders() when a SIGUSR1 signal is received so we can use
udev hotplug events to rescan the USB bus instead of polling
121 lines of code changed in 1 file:
removed unused external reference to ReCheckSerialReaders
0 lines of code changed in 1 file:
SHMProcessEventsServer(): returns -2 in case of syscall interrupted
(EINTR) and -1 for other errors.
SVCServiceRunLoop(): do not log an error message in case of -2 since it
happens when SIGUSR1 (reload) or SIGINT (Ctrl-C) is received. We just
try again
12 lines of code changed in 2 files:
main(): fail if hotplug is requested but no pcscd is running
6 lines of code changed in 1 file:
do not use visibility("default") for gcc versions <= 3.3
Thanks to Hemanth Kumar for the bug report and Karsten Ohme for the
patch
1 lines of code changed in 1 file:
main(): do not use USE_RUN_PID in a Log message if it is not defined
2 lines of code changed in 1 file:
SCardConnect(): add some debug output in the "waiting for release of
lock"
10 lines of code changed in 1 file:
SCardDisconnect(): wait for the lock to be released only if it held by
someone else (and not just by ourself).
7 lines of code changed in 1 file:
MSGRemoveContext(): do not reset the card if it is locked by by someone
else but simulate a card removal instead
20 lines of code changed in 1 file:
RFUnlockSharing(): small rewrite
10 lines of code changed in 1 file:
add update-reader.conf.8 manpage.
Thanks to Florian Schmaus for the bug report
34 lines of code changed in 2 files: