[packages/smartcardpp] - rel 4, fix error code checks
baggins
baggins at pld-linux.org
Sat Jun 6 02:01:46 CEST 2026
commit 23fb7f66c2ab4ef93ac1e54f51c447b7b1e4e6d9
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Jun 6 02:01:08 2026 +0200
- rel 4, fix error code checks
long-err.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/long-err.patch b/long-err.patch
new file mode 100644
index 0000000..0461bd8
--- /dev/null
+++ b/long-err.patch
@@ -0,0 +1,11 @@
+--- smartcardpp-0.3.0/SCError.cpp~ 2011-10-12 20:24:16.000000000 +0200
++++ smartcardpp-0.3.0/SCError.cpp 2026-06-06 01:59:10.674023099 +0200
+@@ -41,7 +41,7 @@
+
+ void SCError::check(long err)
+ {
+- switch( err )
++ switch( err & 0xFFFFFFFF)
+ {
+ //these are not errors
+ case 0x80100068: //SCARD_W_RESET_CARD
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/smartcardpp.git/commitdiff/1f08a8d6901d79152e5fe183d7d36527605e8208
More information about the pld-cvs-commit
mailing list