
perlbug-followup at perl
Dec 30, 2009, 5:10 PM
Post #1 of 3
(321 views)
Permalink
|
|
[perl #71762] vianame() returns a chr instead of an ord when called like U+xxxx
|
|
# New Ticket Created by karl williamson # Please include the string: [perl #71762] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=71762 > This is a bug report for perl from khw [at] khw-desktop, generated with the help of perlbug 1.39 running under perl 5.11.3. ----------------------------------------------------------------- The function vianame() in charnames.pm is supposed to return the ordinal of the name it is called with. But when called with a name like U+0041, it doesn't, it returns the chr instead. ----------------------------------------------------------------- --- Flags: category=library severity=medium module=charnames --- Site configuration information for perl 5.11.3: Configured by khw at Tue Dec 29 12:45:43 MST 2009. Summary of my perl5 (revision 5 version 11 subversion 3) configuration: Commit id: 9f815e241cf04d04fc645970753438216a0ed024 Platform: osname=linux, osvers=2.6.27-16-generic, archname=i686-linux uname='linux khw-desktop 2.6.27-16-generic #1 smp tue dec 1 17:56:54 utc 2009 i686 gnulinux ' config_args='-s -d -Dprefix=/home/khw/fastbleadperl -Dusedevel' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.3.2', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.8.90.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.8.90' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector' Locally applied patches: --- @INC for perl 5.11.3: /home/khw/fastbleadperl/lib/site_perl/5.11.3/i686-linux /home/khw/fastbleadperl/lib/site_perl/5.11.3 /home/khw/fastbleadperl/lib/5.11.3/i686-linux /home/khw/fastbleadperl/lib/5.11.3 . --- Environment for perl 5.11.3: HOME=/home/khw LANG=en_US.UTF-8 LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/home/khw/bin:/home/khw/print/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/usr/games:/opt/real/RealPlayer:/home/khw/cxoffice/bin PERL_BADLANG (unset) SHELL=/bin/ksh
|