aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2016-09-21 06:44:32 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2016-09-21 06:44:32 +0000
commit62b939ebfbc68820c817e7d3561ff78631ba39d0 (patch)
treec09831add74e0a1f4fa7e1ea7860160cdd24d22a /sys/dev
parentd1c1d97e6ab85bbe8b5d53d17bda714798ce07f1 (diff)
downloadsrc-62b939ebfbc68820c817e7d3561ff78631ba39d0.tar.gz
src-62b939ebfbc68820c817e7d3561ff78631ba39d0.zip
1) Microoptimize %p case.
2) Implememt %u for GNU compatibility. 3) Don't forget to advance buf for %w/%u. 4) Fail with incomplete week (week 0) request and no such week in the year. 5) Fix yday formula when Sunday requested and the week started from Monday. 6) Fail with impossible yday for incomplete week (week 0) and direct %w/%u request. 7) Shift yday/wday to the first day of the year, if incomplete week (week 0) requested and no %w/%u used. MFC after: 7 days
Notes
Notes: svn path=/head/; revision=306075
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions