Your message dated Sun, 23 Oct 2016 23:00:16 +0000
with message-id <[email protected]>
and subject line Bug#758645: fixed in gt5 1.5.0~20111220+bzr29-2
has caused the Debian Bug report #758645,
regarding gt5: space calculation in headlines taken from wrong folder
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.)


-- 
758645: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758645
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gt5
Version: 1.5.0~20111220+bzr29-1
Severity: normal
Tags: patch

Dear Maintainer,
the summary line in a subfolder has a wrong size. It is not the same as the
size of the folder entrty shown in the parent folder:

==============================================================================
../:   [4.6TB in 5 files or directories]

 4.6TB [100.00%] ./folder1/ <-- click
 6.4GB [ 0.14%] ./folder2/
==============================================================================
../folder1/:   [3.8TB in 7 files or directories]

 3.8TB [100.00%] ./subfolder1/
 691GB [17.61%] ./subfolder2/
  48GB [ 1.22%] ./subfolder3/
==============================================================================

The line "[3.8TB in 7 files or directories]" should really be:
"[4.6TB in 7 files or directories]"

The size written there is the size of the previous folder in the raw "du".
The "me"-Variable is used in "size[me] = $1" before it is initialized
to "me = $3". The attached patch fixes the problem.

Bye, Ronny

-- System Information:
Debian Release: 7.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- a/usr/bin/gt5	2011-12-22 04:31:53.000000000 +0100
+++ b/usr/bin/gt5	2014-08-19 17:03:04.000000000 +0200
@@ -670,9 +670,9 @@
 	    printf("%s %s\n", $0, $0)
 	}
 
+	me        = $3
 	size[me]  = $1
 	osize[me] = $2
-	me        = $3
 	e         = 0
 
 	while ( i = index( substr(me, e + 1), "/") )

--- End Message ---
--- Begin Message ---
Source: gt5
Source-Version: 1.5.0~20111220+bzr29-2

We believe that the bug you reported is fixed in the latest version of
gt5, 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.
Jari Aalto <[email protected]> (supplier of updated gt5 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: Wed, 19 Oct 2016 10:04:20 +0300
Source: gt5
Binary: gt5
Architecture: source all
Version: 1.5.0~20111220+bzr29-2
Distribution: unstable
Urgency: medium
Maintainer: Jari Aalto <[email protected]>
Changed-By: Jari Aalto <[email protected]>
Description:
 gt5        - shell program to display visual disk usage with navigation
Closes: 758634 758645
Changes:
 gt5 (1.5.0~20111220+bzr29-2) unstable; urgency=medium
 .
   debian/compat
     - Updae to 9.
   * ebian/control
     - (Build-Depends): Update to debhelper 9.
     - (Homepage): Update.
     - (Standards-Version): Update to 3.9.8.
     - (Vcs-*): Update to anonscm.debian.org.
   * debian/copyright
     - Update URLs.
     - Update from DEP5 to Format 1.0.
   * debian/patches
     - (10): Respect command line arguments (Closes: 758634).
       Patch thanks to Ronny Lindner <[email protected]>.
     - (20): Correct summary calculation (Closes: 758645).
       Patch thanks to Ronny Lindner <[email protected]>.
Checksums-Sha1:
 5c45ebd886712a1b9c625a2d94a7af2693d365c9 1855 gt5_1.5.0~20111220+bzr29-2.dsc
 e85cdab8fb5f02df3008debb88c9ba8f95530edd 4020 
gt5_1.5.0~20111220+bzr29-2.debian.tar.xz
 a48a93c168f9c3ca63505fd9c46a886e5eb6e7be 16932 
gt5_1.5.0~20111220+bzr29-2_all.deb
Checksums-Sha256:
 026e8d80bc56eefd896e3c59d438295383b63949f7fc3900c5cfc3f93378391d 1855 
gt5_1.5.0~20111220+bzr29-2.dsc
 b7525f2ea5e61af79b01de9bb2e4f35f9af8020a0392cf8754527b65ca5080c9 4020 
gt5_1.5.0~20111220+bzr29-2.debian.tar.xz
 d34474dd041604f31ef45805dae61a051ed88d3adb500a228de5434a3837f6c8 16932 
gt5_1.5.0~20111220+bzr29-2_all.deb
Files:
 c4e021cb75a63565ee8e8a1182b943ad 1855 utils optional 
gt5_1.5.0~20111220+bzr29-2.dsc
 bb21675955b0cf005e2f1907c7d8f52c 4020 utils optional 
gt5_1.5.0~20111220+bzr29-2.debian.tar.xz
 c853b4515cbb29b4bda87db2482bc6d2 16932 utils optional 
gt5_1.5.0~20111220+bzr29-2_all.deb

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJYDD9ZAAoJECHSBYmXSz6WH9cP/0nJNW62fqi5ajK5/IPpDQnf
jcGMGKM1b7izZpDfob+xOl4T+xBYu7O1gYIZpGY/XdVtcEAOoYZJpyMLyiO3qfG5
jaKe7gImxRWrO41mfJN4ZNomeb8pdSlthwbFgy9T62/WsPHHIs7rXrHY628PLjsy
svlgR9bHhZ5rP/cN4YYoIqu4GPHkizf4g4CI1eyXFN3LvJMxgbSDUwyyaW/3Kx9k
/3EjKANDLqb2VdvyTOwtGDSzpj4hcybGZ0/1rVPhYcvJNMZOIpL8RZdej4z97L+M
5VR1z9RJw9vP0Ml/DnlQJ50T461NHWOvTx+2wLe5crbL77SOCVJTejNOHAlbKVcr
lkt0Tka8GQdquuxvTSyRpMD4VTEho+AeGTPoByYc4iqBnoJhGOk59zeMZYHjz3nx
KsaR7Md7PQkoezTsq2Cxq6HZBZJW27YaEIIr1lQ6YYi+OZFb+PxrLmMfO9ZQTMSl
VcbkHF/o/P+tNyV3Izvl/UNCndWKgGAB5Y2BhNcQtTTXw6VPMxuu2bX9gny2FRjk
W0orBAMMhZDP78WIre8CAYCBn+pGVoM1wCw51Lkl7NRWrcXLBBWmJ1+ORrmuVADO
RbNL+UsX4bdXFIo76WMjuapp0jbUeI7NvqxzD5tmX7nQTEeVImjDSu1kxAEa6hsY
V3c2N0LVaMcPqzX8ZvO7
=hD8d
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to