cvs commit: src/bin/df df.c

David Schultz das at FreeBSD.org
Fri Jun 4 09:30:56 GMT 2004


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


More information about the cvs-src mailing list