cvs commit: src/lib/libutil humanize_number.c

Antoine Brodin antoine at FreeBSD.org
Sun Apr 20 16:29:02 UTC 2008


antoine     2008-04-20 16:29:01 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    lib/libutil          humanize_number.c 
  Log:
  MFC to RELENG_7:
    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.2.10.1  +10 -5     src/lib/libutil/humanize_number.c


More information about the cvs-src mailing list