<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2016-04-23 20:59 GMT+02:00 Andre Florath <span dir="ltr"><<a href="mailto:andre@florath.net" target="_blank">andre@florath.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello!<br>
<span class=""><br>
> Can you test with the proposed version available at <a href="http://ludovic.rousseau.free.fr/softwares/pcsc-lite/pcsc-lite-1.8.16.tar.bz2" rel="noreferrer" target="_blank">http://ludovic.rousseau.free.fr/softwares/pcsc-lite/pcsc-lite-1.8.16.tar.bz2</a><br>
><br>
> It should work but since I was not able to reproduce the problem myself I would like you to confirm the problem is fixed in this version before I commit the modification.<br>
><br>
<br>
</span>Yes - tested it with --debug enabled.  Works fine for me -<br>
tested it a couple of times (about 10);<br>
With and without shutdown of pcscd. Also tested<br>
using suspending my computer.<br></blockquote><div><br></div><div>Thanks for the feedback.<br></div><div>I pushed the change in <br><a href="https://anonscm.debian.org/cgit/pcsclite/PCSC.git/commit/?id=abe436e38aa58cb1140eff0d497ba721474c7703">https://anonscm.debian.org/cgit/pcsclite/PCSC.git/commit/?id=abe436e38aa58cb1140eff0d497ba721474c7703</a><br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Maybe one hint: now that you have more than one thread,<br>
(in principle) it is forbidden to use non-thread-safe functions<br>
like strerror. In mostly all cases this will work, but<br>
in some (rare) cases you get undefined behavior.<br></blockquote><div><br></div><div>Exact. I should use strerror_r(3) instead.<br></div><div>I opened a bug at pcsc-lite <a href="https://alioth.debian.org/tracker/index.php?func=detail&aid=315358&group_id=30105&atid=410085">https://alioth.debian.org/tracker/index.php?func=detail&aid=315358&group_id=30105&atid=410085</a> and fix it "later".<br><br></div><div>Thanks<br></div><div><br></div></div>-- <br><div class="gmail_signature"> Dr. Ludovic Rousseau</div>
</div></div>