Le 16/02/11 21:24, [email protected] a écrit :
Package: libpcsc-perl
Version: 1.4.9-1
Severity: normal

Original test.pl (/usr/share/doc/libpcsc-perl/examples/test.pl.gz) works, but
if I insert the following line

print "BUG:current_state: " . $readers_states[0]{'current_state'} . "\n";

between rows 87 and 88 (or elsewhere before the second GetStatusChange), I get
the following error:

current_state is not valid (must be numeric) at PCSC.xs line 1143
  at /usr/lib/perl5/Chipcard/PCSC.pm line 147.


The same thing happens if I print 'event_state' before the second
GetStatusChange: I get the following error

event_state is not valid (must be numeric) at PCSC.xs line 1163
  at /usr/lib/perl5/Chipcard/PCSC.pm line 147.


This behaviour is confirmed in general if I print 'current_state' or
'event_state' before the second call of GetStatusChange

I can reproduce the bug.
I will look into it.

Thanks

--
 Dr. Ludovic Rousseau



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to