Your message dated Fri, 10 Mar 2006 18:17:16 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#345157: fixed in perl 5.8.8-3
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libunix-syslog-perl
Version: 0.100-4
Severity: important
Tags: patch


Sys:Syslog perl module appends \0 character to each line before sending
it to syslog. Consequently each line in logfile which is logged with
this interface (via syslog-ng 1.6.5-2.2 in my case) has \0 character
appended at the end. The result is quite annoying while trying to
analyse logfiles using eg. grep which prints: "Binary file mail.log
matches" insteaf of matching lines. The Sys:Syslog interface is used eg.
by spamd, pop-before-smtp and others thus it is rather importatnt issue
on my system.

Bellow I attach the patch which removes this problem. However it is not
well tested, I don't know if it causes other problems and why the \0
character was appended to the log line.

--- Sys/Syslog.pm.orig  2005-12-29 13:12:33.000000000 +0100
+++ Sys/Syslog.pm       2005-12-29 13:15:20.000000000 +0100
@@ -312,7 +312,7 @@
     $message = sprintf ($mask, @_);

     $sum = $numpri + $numfac;
-    my $buf = "<$sum>$whoami: $message\0";
+    my $buf = "<$sum>$whoami: $message";

     # it's possible that we'll get an error from sending
     # (e.g. if method is UDP and there is no UDP listener,



-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.31-grsec-pom-imq
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages libunix-syslog-perl depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  perl                        5.8.4-8      Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.8.4]   5.8.4-8      The Pathologically Eclectic Rubbis

-- no debconf information

          


--- End Message ---
--- Begin Message ---
Source: perl
Source-Version: 5.8.8-3

We believe that the bug you reported is fixed in the latest version of
perl, which is due to be installed in the Debian FTP archive:

libcgi-fast-perl_5.8.8-3_all.deb
  to pool/main/p/perl/libcgi-fast-perl_5.8.8-3_all.deb
libperl-dev_5.8.8-3_sparc.deb
  to pool/main/p/perl/libperl-dev_5.8.8-3_sparc.deb
libperl5.8_5.8.8-3_sparc.deb
  to pool/main/p/perl/libperl5.8_5.8.8-3_sparc.deb
perl-base_5.8.8-3_sparc.deb
  to pool/main/p/perl/perl-base_5.8.8-3_sparc.deb
perl-debug_5.8.8-3_sparc.deb
  to pool/main/p/perl/perl-debug_5.8.8-3_sparc.deb
perl-doc_5.8.8-3_all.deb
  to pool/main/p/perl/perl-doc_5.8.8-3_all.deb
perl-modules_5.8.8-3_all.deb
  to pool/main/p/perl/perl-modules_5.8.8-3_all.deb
perl-suid_5.8.8-3_sparc.deb
  to pool/main/p/perl/perl-suid_5.8.8-3_sparc.deb
perl_5.8.8-3.diff.gz
  to pool/main/p/perl/perl_5.8.8-3.diff.gz
perl_5.8.8-3.dsc
  to pool/main/p/perl/perl_5.8.8-3.dsc
perl_5.8.8-3_sparc.deb
  to pool/main/p/perl/perl_5.8.8-3_sparc.deb



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.
Brendan O'Dea <[EMAIL PROTECTED]> (supplier of updated 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: SHA1

Format: 1.7
Date: Fri, 10 Mar 2006 03:07:28 +1100
Source: perl
Binary: perl-base libcgi-fast-perl libperl-dev perl-debug perl-modules perl 
libperl5.8 perl-suid perl-doc
Architecture: source sparc all
Version: 5.8.8-3
Distribution: unstable
Urgency: low
Maintainer: Brendan O'Dea <[EMAIL PROTECTED]>
Changed-By: Brendan O'Dea <[EMAIL PROTECTED]>
Description: 
 libcgi-fast-perl - CGI::Fast Perl module
 libperl-dev - Perl library: development files
 libperl5.8 - Shared Perl library
 perl       - Larry Wall's Practical Extraction and Report Language
 perl-base  - The Pathologically Eclectic Rubbish Lister
 perl-debug - Debug-enabled Perl interpreter
 perl-doc   - Perl documentation
 perl-modules - Core Perl modules
 perl-suid  - Runs setuid Perl scripts
Closes: 291391 345157
Changes: 
 perl (5.8.8-3) unstable; urgency=low
 .
   * Add build-dep on procps (required by t/op/magic).
   * Remove trailing \0 from Sys::Syslog messages (closes: #345157).
   * Getopt::Long:  allow "ignorecase_always" as a synonym for
     "ignore_case_always" to match the documention (closes #354197).
 .
   * Don't add -Wdeclaration-after-statement to ccflags: this causes
     problems when building extensions with gcc-3.3 .
 .
   * Pod::Man: don't translate "|" (closes: #291391).
Files: 
 8f2f79bdccc3355f756561fcec43c09e 724 perl standard perl_5.8.8-3.dsc
 a7290376c8e81746ac9cc3b58c11ceaf 82048 perl standard perl_5.8.8-3.diff.gz
 5e76793176e93dc1a85f8dcf57df78b3 39894 perl optional 
libcgi-fast-perl_5.8.8-3_all.deb
 b8dd47bf18660d0836b69cf2425a5b02 7353004 doc optional perl-doc_5.8.8-3_all.deb
 2a07e5050d58dc519c64d17ce46b8e0d 2318812 perl standard 
perl-modules_5.8.8-3_all.deb
 4ce6463690f65fc2741e5be547e8c979 767908 perl required 
perl-base_5.8.8-3_sparc.deb
 af91e278dd3fe67e6c90e05c3c1dbca5 2506694 perl optional 
perl-debug_5.8.8-3_sparc.deb
 d7da64a03af603a5ef600b9433c70259 29694 perl optional 
perl-suid_5.8.8-3_sparc.deb
 94bf0dece96caa5726f1b39fc781ea9d 1012 libs optional 
libperl5.8_5.8.8-3_sparc.deb
 da941821da968151c703b35781c155eb 595780 libdevel optional 
libperl-dev_5.8.8-3_sparc.deb
 f4851efe79a2e7140d453f0710ded47d 3798594 perl standard perl_5.8.8-3_sparc.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEEjHY8NyOALKMWZURAkwDAJ0Un/QeIkcK1Q/lhNGkqHu4wi/ulwCeIezy
32P4ev6gziuCfqZ5l9zW0dg=
=qYOT
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to