2009/10/2 Emmanuel Deloget <[email protected]>:
> 2) regarding return codes: when writing an ifd handler, it's quite
> difficult (if not impossible) to make sure that a specific error
> condition in the handler will trigger a specific error code on the
> pcsc-lite side. A typical example is SCardGetAttrib() which translate to
> IFDHGetCapabilities() (which, according to
> http://pcsclite.alioth.debian.org/ifdhandler-3/node15.html, can only
> return IFD_SUCCESS, IFD_ERROR_TAG or IFD_NO_SUCH_DEVICE). How do we
> ensure that pcsc-lite would return (for example)
> SCARD_E_INSUFFICIENT_BUFFER when the output buffer is too small ?

Fixed in revision 4445
http://lists.alioth.debian.org/pipermail/pcsclite-cvs-commit/2009-October/003963.html

Thanks

-- 
 Dr. Ludovic Rousseau
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to