develooper Front page | perl.perl5.porters | Postings from December 2009

Regex code won't work on non-ASCII platforms

Thread Next
From:
karl williamson
Date:
December 29, 2009 12:20
Subject:
Regex code won't work on non-ASCII platforms
Message ID:
4B3A6478.5010601@khwilliamson.com
This is a bug report for perl from khw@khw-desktop.nonet,
generated with the help of perlbug 1.39 running under perl 5.11.3.


-----------------------------------------------------------------
There are a number of hard-coded constants in the regex code that assume the
platform is ASCII.
-----------------------------------------------------------------
---
Flags:
     category=core
     severity=low
---
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

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About