Your message dated Sat, 22 Mar 2014 15:20:26 +0000 with message-id <[email protected]> and subject line Bug#547231: fixed in libterm-readline-gnu-perl 1.23-1 has caused the Debian Bug report #547231, regarding libterm-readline-gnu-perl: clobbers binmode layers on filehandles to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 547231: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=547231 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libterm-readline-gnu-perl Version: 1.19-1 Severity: normal If I call Term::ReadLine->new('test', \*IN, \*OUT); any encoding layers I have set on OUT seem to be removed. I tracked it down to the line in the perl source that sets $Attribs{outstream}. I looked briefly at the .xs source for _rl_store_iostream, but I can't see what's causing this. I hope someone who knows perl internals can figure it out. Here's a complete test program. I run it on a utf-8 terminal. The first print works correctly (the correct utf-8 byte sequence is output), and the second shows a unicode unknown character (U+fffd), because perl outputs the byte \xf3. use Term::ReadLine; binmode(STDOUT, ':encoding(utf-8)'); print STDOUT ">", chr(0xf3), "<\n"; $Term::ReadLine::Gnu::Attribs{outstream} = \*STDOUT; print STDOUT ">", chr(0xf3), "<\n"; Andrew -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libterm-readline-gnu-perl depends on: ii libc6 2.9-26 GNU C Library: Shared libraries ii libncurses5 5.7+20090803-2 shared libraries for terminal hand ii libreadline5 5.2-6 GNU readline and history libraries ii perl 5.10.0-25 Larry Wall's Practical Extraction ii perl-base [perlapi-5.10.0 5.10.0-25 minimal Perl system libterm-readline-gnu-perl recommends no packages. libterm-readline-gnu-perl suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: libterm-readline-gnu-perl Source-Version: 1.23-1 We believe that the bug you reported is fixed in the latest version of libterm-readline-gnu-perl, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Salvatore Bonaccorso <[email protected]> (supplier of updated libterm-readline-gnu-perl package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sat, 22 Mar 2014 16:06:51 +0100 Source: libterm-readline-gnu-perl Binary: libterm-readline-gnu-perl Architecture: source amd64 Version: 1.23-1 Distribution: unstable Urgency: low Maintainer: Debian Perl Group <[email protected]> Changed-By: Salvatore Bonaccorso <[email protected]> Description: libterm-readline-gnu-perl - Perl extension for the GNU ReadLine/History Library Closes: 547231 Changes: libterm-readline-gnu-perl (1.23-1) unstable; urgency=low . * Imported Upstream version 1.23 - fix not to clobber binmode layer (utf-8) on filehandles (Closes: #547231). * Refresh 20new.patch (offset) * Drop 50-fix-manpage-has-errors-from-pod2man.patch patch * Don't need to generate upstream changes from README. Upstream now ship the changes in a separate Changes file. Drop the override for the generation of the Changes file and drop Changes.generated from files to be removed/cleaned up after the package is built. * Add myself to copyright for debian/* packaging files * Add myself to Uploaders Checksums-Sha1: 346fab48a097123c2f6e8a5da6a552ccf981cc51 2350 libterm-readline-gnu-perl_1.23-1.dsc 0a58b2c481833d2ae09e30280c18a415e923163f 73754 libterm-readline-gnu-perl_1.23.orig.tar.gz 9a6f55a1bec1e788c2a4244bd4f3c9cb93af8578 7196 libterm-readline-gnu-perl_1.23-1.debian.tar.xz d1977b9a28a69ac9416bc2d983b4a7db76acc07b 98640 libterm-readline-gnu-perl_1.23-1_amd64.deb Checksums-Sha256: bd72827d5c08386e3ed94b15e6218787734e0f5ca183c62fa551d74226e20650 2350 libterm-readline-gnu-perl_1.23-1.dsc 7d1fd4ee31ba9776afe7b60a6c9cfe423695ee9cefb235e6366f6f0b5a49ab15 73754 libterm-readline-gnu-perl_1.23.orig.tar.gz 8624ebbeedec4b1ee6b94115760e5a53d18d84711785dafdcbf0629338eb9f4b 7196 libterm-readline-gnu-perl_1.23-1.debian.tar.xz 985651e25e1f6cf2dec1cbc793e2ed462d0ebaa814ab18bbccc3b800dd7d4a98 98640 libterm-readline-gnu-perl_1.23-1_amd64.deb Files: 3140413b6efc607aef3f5803d04d6d4e 2350 perl optional libterm-readline-gnu-perl_1.23-1.dsc 2546b2159b6d9e922255ace4c361f9d6 73754 perl optional libterm-readline-gnu-perl_1.23.orig.tar.gz 40679d3b492550b04cc7e75d6d674753 7196 perl optional libterm-readline-gnu-perl_1.23-1.debian.tar.xz 9c4f9f4705f1d4d61800a19530740d11 98640 perl optional libterm-readline-gnu-perl_1.23-1_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJTLafzAAoJEAVMuPMTQ89E95UP/1IkmWxiJrRNw/5rgy+bN6wG SiGlF0HJdP7aE0GbmlRp7FoRTLVuuF6jfXDBhOUdnZsBTR9P8UBJ/N3VyWB1MMHo sq07M6KfW2huGwtbiN+vFor+KD9vMV+lnPuexBuJ8GenwAMhcG8TCbjl+NJPzINM jJMAO0Cz7gatx4Gc5u+HspYABgRHB2Q63Yr0UOEJqpdcQTmAGsigOhkPg4QYqoUn M7lkMg17te+BqruP/JnEbesU1u3fgHcucBHB31jjSjCqk445gzJfk8YL2ZRfH+h/ 3FzxYx2ObdCWUD9w0lj+3pczOafufsJRnRduisNG9kbETnUCxSPAjpNUAXgzr/Gk 4FtmOl5kgT6HuApvt78WedIk8//WuWrIz90CZY2I9vDI07/ICevtlg0BqJbHZSJd wxlrbZLn6/lqV4UlnZPefNkkrj5fX3I/gKZ8v5wWhnWAzL3lrb6ffrI4UwAowaRb Ir9MCcsg6iRM4txF4bKeFi/bbVbxhSJzEFXIC+qeN1D/tjd3DpXsiXnetWtl2aQ9 2HYYhDpgBjGxCPEVc177RsuDgIGeXb8pCFyIibBO9y3lH7ciRn9cNd9oRiO6FnU6 /38PCgmhQLR3zY0x7AWJRT1yqkZGlgW5GQlA6O4x5LpqpOK+Tsw5HjyMA9usCnKd j0iM6ivF890lNi52sA2D =Ugif -----END PGP SIGNATURE-----
--- End Message ---

