Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Mar 2011 17:43:32 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/lib/libc/stdio xprintf_time.c
Message-ID:  <201103061743.p26Hhpsu001967@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2011-03-06 17:43:32 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdio       xprintf_time.c 
  Log:
  SVN rev 219342 on 2011-03-06 17:43:32Z by pjd
  
  Fix various issues in how %#T is handled:
  - If precision is 0, don't print period followed by no digits.
  - If precision is 0 stop printing units as soon as possible
    (eg. if we have three years and five days and precision is 0
     print only 3y5d).
  - If precision is not 0, print all units (eg. 3y0d0h0m0s.00).
  
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.5       +11 -7     src/lib/libc/stdio/xprintf_time.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103061743.p26Hhpsu001967>