tag 649150 + confirmed
thanks

"Eugene V. Lyubimkin" <jac...@debian.org> writes:
> ... in stable they are fine.
>
> Example:
>
> ftp://ftp.debian.org/debian/dists/unstable/main/i18n/Index says
> the size of 'Translation-fi' file is 96 bytes, while the file is surely
> bigger.
>
> In stable, the index file correctly says that size is 98747 bytes.
>
> Please fix.

This seems to be a bug in scripts/debian/ddtp-i18n-check.sh:

  tf_size=$(du $fbz)

will give the disk size in 1024 blocks if not told otherwise.  It should
use

  tf_size=$(stat --format %s -- "$fbz")

or

  tf_size=$(du --bytes -- "$fbz")

instead.  If stat is used, the logic to strip the filename from the
output from du can also be removed.

Regards,
Ansgar



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to