diff options
author | brooks <brooks@FreeBSD.org> | 2014-05-08 16:12:38 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2014-05-08 16:12:38 +0000 |
commit | 5b893a150d624da11aa08d7d39cfbe6b752df956 (patch) | |
tree | 1f7a9893a3b6f906de4112d59d6b7f6e7bcdbe5b /lib/libc/regex/regcomp.c | |
parent | 1cf59d11f48577bcd6fc3157bb8eb1d8a40e01d7 (diff) | |
download | FreeBSD-src-5b893a150d624da11aa08d7d39cfbe6b752df956.zip FreeBSD-src-5b893a150d624da11aa08d7d39cfbe6b752df956.tar.gz |
MFC r265201
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/regex/regcomp.c')
0 files changed, 0 insertions, 0 deletions