Your message dated Sun, 22 Apr 2007 16:32:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#419232: fixed in tob 0.26.cvs.20040226-6
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: tob
Version: 0.26.cvs.20040226-5
Severity: normal
Tags: patch


If you try to run "tob -fullcount <something>" on a system that has en_US.UTF-8 
as locale, you get a lot
of errors from "wc", which is called by tob.

Errors are like this:

wc: standard input:38122: Invalid or incomplete multibyte or wide character


I have patched tob to call "wc -c" instead of "wc".

This is the patch:


--- /sbin/tob.originale 2007-04-14 13:46:28.000000000 +0200
+++ /sbin/tob   2007-04-14 14:19:55.000000000 +0200
@@ -473,13 +473,13 @@
     else
        sed -e 's.\\\\.\\.g' -e "$SEDNAMESCRIPT" < "$1" > $FILELIST
        eval "$BACKUPCMDTOSTDOUT" |
-           wc |
-           awk '{ if ($3 < 1000)
-                       printf ("Estimated: %d bytes\n",$3);
-                  else if ($3 < 1000000)
-                       printf ("Estimated: %.1f KB\n",$3/1000.0);
+           wc -c |
+           awk '{ if ($1 < 1000)
+                       printf ("Estimated: %d bytes\n",$1);
+                  else if ($1 < 1000000)
+                       printf ("Estimated: %.1f KB\n",$1/1000.0);
                   else
-                       printf ("Estimated: %.1f MB\n",$3/1000000.0); }' \
+                       printf ("Estimated: %.1f MB\n",$1/1000000.0); }' \
            || error "backup size estimate failed."
     fi
 }




-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages tob depends on:
ii  afio                          2.5-4      archive file manipulation program
ii  debianutils                   2.17       Miscellaneous utilities specific t
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

tob recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: tob
Source-Version: 0.26.cvs.20040226-6

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

tob_0.26.cvs.20040226-6.diff.gz
  to pool/main/t/tob/tob_0.26.cvs.20040226-6.diff.gz
tob_0.26.cvs.20040226-6.dsc
  to pool/main/t/tob/tob_0.26.cvs.20040226-6.dsc
tob_0.26.cvs.20040226-6_all.deb
  to pool/main/t/tob/tob_0.26.cvs.20040226-6_all.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.
Dirk Eddelbuettel <[EMAIL PROTECTED]> (supplier of updated tob 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: Sun, 22 Apr 2007 11:20:43 -0500
Source: tob
Binary: tob
Architecture: source all
Version: 0.26.cvs.20040226-6
Distribution: unstable
Urgency: low
Maintainer: Dirk Eddelbuettel <[EMAIL PROTECTED]>
Changed-By: Dirk Eddelbuettel <[EMAIL PROTECTED]>
Description: 
 tob        - Small yet powerful program for tape oriented backups
Closes: 419232
Changes: 
 tob (0.26.cvs.20040226-6) unstable; urgency=low
 .
   * tob: Apply patch by Fabio Muzzi that correct 'tob -fullcount' on
     systems with the en-US.UTF-8 locale                        (Closes: 
#419232)
 .
   * tob.8
 .
   * debian/control: Add debhelper to Build-Depends:    [lintian]
   * debian/control: Updated Build-Depends: on debhelper (>= 5.0.0)
   * debian/control: Updated Standards-Version: to 3.7.2        [lintian]
   * debian/compat: Added with value 5                  [lintian]
   * debian/rules: Update package temp. directory accordingly
   * debian/conffiles: Removed as no longer needed
   * debian/copyright: Updated FSF address              [lintian]
   * debian/rules: Call pod2man with '--section 8' to get tobconv.8 into
     the right section                                  [lintian]
Files: 
 560a46989188b3094b4ec38acef63473 582 utils optional tob_0.26.cvs.20040226-6.dsc
 4282df2e9922644e03c749a26a1639cc 7526 utils optional 
tob_0.26.cvs.20040226-6.diff.gz
 3f1d5efea077323fb140c52583542982 95724 utils optional 
tob_0.26.cvs.20040226-6_all.deb

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

iD8DBQFGK4t5CZSR95Gw07cRAgLaAJ9e67CobbAvl0qrN/kpRQXtjwcwjgCgkUro
IETPtq4GCWRq+Vqf5ilnQuI=
=10Yh
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to