Date: Fri, 4 Jun 2004 02:30:51 -0700 (PDT) From: David Schultz <das@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/df df.c Message-ID: <200406040930.i549UpaK002134@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
das 2004/06/04 02:30:51 PDT FreeBSD src repository Modified files: bin/df df.c Log: Convert fsbtoblk() from a macro to a function. The redundant instances of 64-bit arithmetic were costing 775 bytes, and the inlining offered no benefit. Moreover, ambiguity as to the argument types led to the introduction of a bug (see rev 1.56). Also, remove some casts that are now clearly redundant. Inspired by: 67467 Revision Changes Path 1.62 +13 -8 src/bin/df/df.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406040930.i549UpaK002134>