Your message dated Thu, 03 Aug 2006 09:18:23 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#296179: fixed in cloop 2.04-1+eb.1-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: cloop-utils
Version: 2.01.5-3
Severity: important

create_compressed_fs add extra block to the compressed image if the size of
the original image is a multiple of the block size. You can verify this by
the following simple test:
% head -c 65536 /dev/zero > uncompressed.iso
% create_compressed_fs uncompressed.iso 65536 > compressed.iso
% extract_compressed_fs compressed.iso > uncompressed2.iso
% ls -l uncompressed.iso uncompressed2.iso
... 131072 Feb 20 16:02 uncompressed2.iso
...  65536 Feb 20 16:02 uncompressed.iso

I've attached the patch fixing the problem.

Cheers,
Igor

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9
Locale: LANG=C, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages cloop-utils depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.4.3-9    GCC support library
ii  libstdc++5                  1:3.3.5-8    The GNU Standard C++ Library v3
ii  zlib1g                      1:1.2.2-4    compression library - runtime

-- no debconf information
--- cloop-2.01.5/create_compressed_fs.c.orig    2005-02-20 15:45:37.461085843 
-0500
+++ cloop-2.01.5/create_compressed_fs.c 2005-02-20 15:42:28.573507361 -0500
@@ -94,6 +94,8 @@
      if(r<=0) { last=1; break; }
      total+=r;
     }
+   if (total == 0)
+      break;
    total_uncompressed += total;
    if (total != blocksize)
     {
--- cloop-2.01.5/advancecomp-1.9_create_compressed_fs/advfs.cc.orig     
2005-02-20 15:45:54.029058097 -0500
+++ cloop-2.01.5/advancecomp-1.9_create_compressed_fs/advfs.cc  2005-02-20 
15:42:47.281119726 -0500
@@ -91,6 +91,8 @@
      if(r<=0) { last=1; break; }
      total+=r;
     }
+   if (total == 0)
+       break;
    total_uncompressed += total;
    if (total != blocksize)
     {

--- End Message ---
--- Begin Message ---
Source: cloop
Source-Version: 2.04-1+eb.1-3

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

cloop-src_2.04-1+eb.1-3_all.deb
  to pool/main/c/cloop/cloop-src_2.04-1+eb.1-3_all.deb
cloop-utils_2.04-1+eb.1-3_amd64.deb
  to pool/main/c/cloop/cloop-utils_2.04-1+eb.1-3_amd64.deb
cloop_2.04-1+eb.1-3.dsc
  to pool/main/c/cloop/cloop_2.04-1+eb.1-3.dsc
cloop_2.04-1+eb.1-3.tar.gz
  to pool/main/c/cloop/cloop_2.04-1+eb.1-3.tar.gz



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.
Eduard Bloch <[EMAIL PROTECTED]> (supplier of updated cloop 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: Wed, 02 Aug 2006 23:51:14 +0200
Source: cloop
Binary: cloop-src cloop-utils
Architecture: source amd64 all
Version: 2.04-1+eb.1-3
Distribution: unstable
Urgency: low
Maintainer: Eduard Bloch <[EMAIL PROTECTED]>
Changed-By: Eduard Bloch <[EMAIL PROTECTED]>
Description: 
 cloop-src  - Source of the compressed loopback device module
 cloop-utils - Tools for handling with cloop compressed volumes
Closes: 164015 296179 335872 337546 380384
Changes: 
 cloop (2.04-1+eb.1-3) unstable; urgency=low
 .
   * rewrite of the work control in multithreaded advfs/create_compressed_fs,
     now definitely not adding a zero block on aligned data (closes: #296179)
   * fixed a memory leak in "best" mode and better control for memory
     allocation now (finally closes: #164015 and hopefully closes: #380384,
     reopen if it doesn't)
   * added pt.po (closes: #337546)
   * added GNU/kFreeBSD porting patch from Robert Millan (closes: #335872)
Files: 
 eaf2682cfce2db1431b338d5930e5dbb 535 misc optional cloop_2.04-1+eb.1-3.dsc
 aca0c78c96e04740786cc172f6cb1978 299571 misc optional 
cloop_2.04-1+eb.1-3.tar.gz
 08e6721725e203f7e68bd0a8daccfe73 34004 misc optional 
cloop-src_2.04-1+eb.1-3_all.deb
 2b8ca9c441d1365dfeff4e8f1a8e5961 82820 misc optional 
cloop-utils_2.04-1+eb.1-3_amd64.deb

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

iD8DBQFE0R674QZIHu3wCMURAqOIAJsH5IipJRaRGSUOUrpwF+xunEScbgCeIKsR
zjUQdHgq6Z7IurNbb3+MifY=
=P9b4
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to