diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2012-01-16 17:42:46 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2012-01-16 17:42:46 +0000 |
commit | 259019888a5790818d4076aa3ef276769b07e04a (patch) | |
tree | 5aff08bc21aa0ce15a2666d2dd06cb2571bcc010 /lib/libocurses/addch.c | |
parent | f13b98e11b551f366555dd66f8a787e0fa3f9056 (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