summaryrefslogtreecommitdiff
path: root/lib/libocurses/addch.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2012-01-16 17:42:46 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2012-01-16 17:42:46 +0000
commit259019888a5790818d4076aa3ef276769b07e04a (patch)
tree5aff08bc21aa0ce15a2666d2dd06cb2571bcc010 /lib/libocurses/addch.c
parentf13b98e11b551f366555dd66f8a787e0fa3f9056 (diff)
POSIX indicates that some fields should be computed even if not
explicitly set. We can compute tm_yday, tm_wday, tm_mon and tm_mday based on the values that were specified if possible. Some logic borrowed from localtime.c. OK espie@ deraadt@
Diffstat (limited to 'lib/libocurses/addch.c')
0 files changed, 0 insertions, 0 deletions