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



-- System Information:
Debian Release: 6.0
 APT prefers stable
 APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libpcsc-perl depends on:
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libpcsclite1 1.5.5-4 Middleware to access a smart card 
ii perl 5.10.1-17 Larry Wall's Practical Extraction 
ii perl-base [perlapi-5.10.1] 5.10.1-17 minimal Perl system

libpcsc-perl recommends no packages.

Versions of packages libpcsc-perl suggests:
ii pcsc-tools 1.4.16-1 Some tools to use with smart cards

-- no debconf information





---
Jetzt zu Ihrem iPhone die exklusive iPhoneMail-Adresse!
Sichern Sie sich jetzt Ihre persönliche 
http://www.iphone.de/iphonemail/index.html?pid=10111947021

Reply via email to