diff options
author | pjd <pjd@FreeBSD.org> | 2011-03-06 17:43:32 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2011-03-06 17:43:32 +0000 |
commit | 3d9241706267e9b042c64d362f9c0f5ce1c4e8db (patch) | |
tree | a33d3c3f108a67f276bf91b2885f7b43d7a8fd4a /lib/libc/stdio/ferror.c | |
parent | 2868a01f090039809e0244134ca187edb2dcee80 (diff) | |
download | FreeBSD-src-3d9241706267e9b042c64d362f9c0f5ce1c4e8db.zip FreeBSD-src-3d9241706267e9b042c64d362f9c0f5ce1c4e8db.tar.gz |
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
Diffstat (limited to 'lib/libc/stdio/ferror.c')
0 files changed, 0 insertions, 0 deletions