Go to file
drochner fb535ac77e Make mktime(3) work with 64-bit time_t.
The problem is that the tm_year field of "struct tm" is just an "int"
(per POSIX), and thus time_t values >  2^31*60*60*24*365 cannot
be converted. This made mktime(3) fail even if no such large time values
were passed in by user code because the algorithm does a binary search
over the time_t range which fails if a probe value cannot be converted.
To fix this, limit the time_t range to be scanned to 55 bits (which
is a bit on the safe side, but still good until y570855533).
This is more a stopgap fix, the overflow should be checked for
at other places as well (eg localtime(3)), and there are some more
limitations in timezone parsing code.
2009-01-18 10:57:15 +00:00
bin fix -Wsign-compare issues 2009-01-18 00:24:29 +00:00
common Include sys/param.h in the kernel to make the vax properly pick up 2009-01-14 21:33:22 +00:00
compat Fix typo. 2009-01-13 17:52:32 +00:00
crypto Make the library compile with WARNS=1 2009-01-12 23:00:00 +00:00
dist fix -Wsign-compare issues 2009-01-18 03:43:45 +00:00
distrib Bump shared lib versions for libdevmapper following the 64bit time_t/dev_t bumps 2009-01-18 00:44:33 +00:00
doc wscons(4) support for cgthree and cgsix have been pulled up to netbsd-5. 2009-01-18 04:11:38 +00:00
etc Fix a typo with /etc/rc.d/lvm. 2009-01-18 08:24:46 +00:00
external Link cvs staticaly and and -ledit and -ltermcap to linking libraries. 2009-01-13 22:38:00 +00:00
games fix -Wsign-compare issues 2009-01-18 00:24:29 +00:00
gnu bump majors. 2009-01-11 03:09:35 +00:00
include fix reversed test from Tobias Nygren. 2009-01-13 15:11:09 +00:00
lib Make mktime(3) work with 64-bit time_t. 2009-01-18 10:57:15 +00:00
libexec fix -Wsign-compare issues 2009-01-18 00:37:53 +00:00
regress Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format. 2009-01-02 00:20:18 +00:00
rescue - rework this a bunch to make it work inside /rescue/ldd. 2009-01-07 00:39:23 +00:00
sbin Do not erroneously leave a truncated 16-bit sector 2009-01-18 10:50:56 +00:00
share If we have a SHLIB_VERSION_FILE, add is as a dependency for the 2009-01-17 12:09:58 +00:00
sys Use aprint_error_dev. Eliminates XNAME macro. 2009-01-18 10:40:40 +00:00
tests Kernel modules (kmod files) are now installed in a subdirectory per module. 2009-01-04 17:56:57 +00:00
tools Fix struct passwd time fields. From Shin'ichiro TAYA 2009-01-18 01:44:09 +00:00
usr.bin fix -Wsign-compare issues 2009-01-18 07:11:45 +00:00
usr.sbin fix -Wsign-compare issues 2009-01-18 10:39:17 +00:00
x11 fix include filename 2008-11-28 10:27:29 +00:00
build.sh "\t" does not represent a tab in sed regular expressions, 2009-01-03 08:23:00 +00:00
BUILDING be explicit about MAKEOBJDIR and MAKEOBJDIRPREFIX not being for 2008-12-02 22:28:21 +00:00
Makefile Build kernel modules the same time as the rest of the system libraries. 2008-12-30 22:18:11 +00:00
Makefile.inc
UPDATING Make it clearer how link time failures in packages can be fixed 2009-01-14 15:53:29 +00:00