Package: atool
Version: 0.39.0
Severity: important
Tags: patch

Dear Maintainer,

als* crashes on Trixie with the following:
"Wide character in setenv at /usr/bin/als line 33"

Attached patch fixes it. To reproduce:

1. Make sure you have $LANG set to something like en_AU.UTF-8
2. Run als, observed crash
3. Apply patch
4. Rejoice; als now works correctly

* symlink to /usr/bin/atool


--
With regards,
Andrew
--- a/atool
+++ b/atool
@@ -30,7 +30,7 @@
 if (${^UTF8LOCALE}) {
   use Encode qw(decode_utf8);
   binmode($_, ':encoding(UTF-8)') for \*STDIN, \*STDOUT, \*STDERR;
-  $_ = decode_utf8($_) for @ARGV, values %ENV;
+  $_ = decode_utf8($_) for @ARGV;
 }
 
 use strict; 

Reply via email to