Buggy sbspace() on 64bit builds?

Simon J. Gerraty sjg at juniper.net
Fri Feb 6 16:35:12 UTC 2015


Bruce Evans <brde at optusnet.com.au> wrote:
> In the current version, changing the local variables from long to int
> would restore the delicate conversions, slightly more obfuscated by
> using redundant explicit assignments instead of redundant explicit casts.

And *this* is why I asked Anu to send the question - rather than just
change it to int ;-)

Using int addresses the immediate issue, but the bug is worth discussion
and perhaps broader consideration.

Thanks for the analysis.
--sjg


More information about the freebsd-arch mailing list