Upstream changes:
- Fix SCardEndTransaction() issue with a SCARD_SHARE_EXCLUSIVE
connection
- Fix an issue when used with systemd (problem in signal handler)
- SCardGetAttrib(): set pcbAttrLen when buffer is too small
- Doxygen: SCardGetAttrib() pbAttr can be NULL
- Doxygen: SCardGetAttrib() *pcbAttrLen contains the buffer size
- fix compilation warnings and link errors on SunOS
- Some other minor improvements
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @viric, @wkennington