Date: Sun, 20 Apr 2008 16:29:01 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libutil humanize_number.c Message-ID: <200804201629.m3KGT1Mr049649@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804201629.m3KGT1Mr049649>
