cvs commit: src/lib/libutil humanize_number.c

Antoine Brodin antoine at
Sat Mar 8 21:56:00 UTC 2008

antoine     2008-03-08 21:55:59 UTC

  FreeBSD src repository

  Modified files:
    lib/libutil          humanize_number.c 
  Merge changes from NetBSD on humanize_number.c, 1.8 -> 1.13
  Significant changes:
  - rev. 1.11: Use PRId64 instead of a cast to long long and %lld to print
  an int64_t.
  - rev. 1.12: Fix a bug that humanize_number() produces "1000" where it
  should be "1.0G" or "1.0M".  The bug reported by Greg Troxel.
  PR:             118461
  PR:             102694
  Approved by:    rwatson (mentor)
  Obtained from:  NetBSD
  MFC after:      1 month
  Revision  Changes    Path
  1.3       +10 -5     src/lib/libutil/humanize_number.c

More information about the cvs-src mailing list