Go to file
perry bf0943278c Fix a problem first noticed by a user with a screwed up real time
clock past the End of Time.

If time_t is 32 bits, then the "End of Time" is Jan 18/19 2038
(depending on time zone).

This code copes with RTC's past the end of time if time_t is an int32
or less. It just forces the time back to 2037.  This will let users
with screwed up clocks to at least boot and function long enough to
set their clocks to something sane.

This kludge is conditioned on an
	if (sizeof(time_t) <= sizeof(int32_t))
which will automatically optimize the code out once we switch time_t
to a 64 bit quantity, which should happen well before 2037.

Patch based on code from Michael C. Richardson, with help from
Allen Briggs who pointed out a fencepost error.
1998-08-05 01:21:54 +00:00
bin rev man page for eew 1998-07-30 00:58:27 +00:00
distrib Fixed my name. 1998-08-04 16:39:17 +00:00
etc Added /usr/share/keymaps/x68k for x68k ITE keymaps. 1998-08-04 16:38:39 +00:00
games Find setup-program even w/ obj dirs. 1998-08-01 23:02:35 +00:00
gnu Slight cleanup. Nuke things defined in ../netbsd.h, and nuke -Driscbsd. 1998-08-04 20:48:19 +00:00
include Per XSH5, define _XOPEN_IOV_MAX. 1998-08-03 14:32:04 +00:00
lib Per XNS Issue 5, calling recvmsg(2) or sendmsg(2) with an msg.msg_iovlen less 1998-08-04 19:48:34 +00:00
libexec Fix for pr 5904 from Zdenek Salvet; we now use openpty() to get a pty. 1998-08-05 00:15:25 +00:00
regress Use PF_* for socket(2) calls. 1998-06-24 23:51:30 +00:00
sbin -fix some lint warnings 1998-08-04 11:52:52 +00:00
share Put in that vax uses PMAP_NEW as default. 1998-08-04 19:21:26 +00:00
sys Fix a problem first noticed by a user with a screwed up real time 1998-08-05 01:21:54 +00:00
usr.bin more changes per PR#5820 1998-08-04 23:17:49 +00:00
usr.sbin handle negative arguments correctly 1998-08-04 04:33:15 +00:00
Makefile Don't try and build non-EGCS libgcc on Alpha and PowerPC. 1998-07-28 18:55:41 +00:00