[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#5311: Perl sort doesn't like libc 5.4.7 + LC_CTYPE



-----BEGIN PGP SIGNED MESSAGE-----

Topi Miettinen, in an immanent manifestation of deity, wrote:
>$ export LC_CTYPE=iso_8859_1
>$ perl -e 'print sort ("b\n", "a\n");'
>Segmentation fault (core dumped)

This is a known problem, see bug #2241.  I'm going to merge it with that
one.
This is also known upstream.  It's a frequent topic of discussion of
p5p.  I'm going to forward both upstream.

The current solution is:
LANG=C LC_CTYPE=C perl -e 'print sort ("b\n", "a\n");'

I'm sorry that the current locale stuff doesn't work.  I realize that
the world isn't all in English as do the perl maintainers.  There are
many complex issues.  We are working towards a solution but it is not
known whether it will make it into perl 5.004 yet nor how complete the
solution will be.  There will be a complete solution at some point in
the (relatively) near future.

Darren
- -- 
<torin@daft.com> <http://www.daft.com/~torin> <torin@debian.org> <torin@io.com>
Darren Stalder/2608 Second Ave, @282/Seattle, WA 98121-1212/USA/+1-800-921-4996
@ Do you have your clothes on? I probably don't. Take yours off. Feel better. @
@ Sysadmin, webweaver, postmaster for hire.  C/Perl/CGI programmer and tutor. @

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBMoI8RY4wrq++1Ls5AQHFmQP+PV00iBuYk05ma8YZ2vmefdd4qTi4zCPh
EQUsPpFNv9YjFG61kNv1qQOVbvviNWWbDiPCXI86gJl3ATeX+Bd2RsIXkSCm9lEi
Oi4f2R1lcYfkRR6QI05joMOU2m9S/WYLaMYVCDWZSDbcglAFM1/V2isLd9vm86oH
7khn/A1IHKw=
=CUhR
-----END PGP SIGNATURE-----

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: