diff options
author | brooks <brooks@FreeBSD.org> | 2014-05-01 22:28:14 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2014-05-01 22:28:14 +0000 |
commit | f9a10360bc7a02261b8c632658552f826a404379 (patch) | |
tree | 3aee7db9cd808731d3abd021ee56bb76e8b630cf /lib/libc/net/getnetbynis.c | |
parent | a8fbe04bdaa5da406a8833159f6c8cde74e5aac2 (diff) | |
download | FreeBSD-src-f9a10360bc7a02261b8c632658552f826a404379.zip FreeBSD-src-f9a10360bc7a02261b8c632658552f826a404379.tar.gz |
Fix a 2038 bug.
If time_t is 64-bit (i.e. isn't 32-bit) allow any value of year, not
just years less than 2038.
Don't bother fixing the underflow in the case of years before 1903.
MFC after: 1 week
Sponsored by: DARPA, AFRL
Diffstat (limited to 'lib/libc/net/getnetbynis.c')
0 files changed, 0 insertions, 0 deletions