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
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.
<firstname.lastname@example.org> <http://www.daft.com/~torin> <email@example.com> <firstname.lastname@example.org>
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-----
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface
-----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