bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash using incorrect block size with limits


From: Eric Blake
Subject: Re: bash using incorrect block size with limits
Date: Mon, 02 Jun 2008 13:11:01 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Roman Rakus on 6/2/2008 7:06 AM:
| Maybe already reported bug, but
| bash is using 1024 bytes block size, but should be using 512 bytes.

I would much rather see sizes as 1k if POSIXLY_CORRECT is not set; in
other words, if you patch this, I think this is an appropriate place to
make the code conditional on whether bash is emulating posix rather than
hard-coded.  People just don't think conveniently in terms of the older
512b block sizes.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhERcUACgkQ84KuGfSFAYAtSgCfWAoGRXR8G/E9RUeYOF3EQ5qf
VBEAn2Bjz+VXcHp/fT7YUhPyZuXFQ/dD
=27L4
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]