glibc/time
Roland McGrath 80fd73873b Fri Sep 29 03:43:51 1995 Paul Eggert <eggert@twinsun.com>
Rewrite mktime from scratch for performance, and for correctness
	in the presence of leap seconds.

	* time/mktime.c	(ydhms_tm_diff, not_equal_tm, print_tm, check_result):
	New functions.
	(LEAP_SECONDS_POSSIBLE, CHAR_BIT, INT_MIN, INT_MAX,
	TIME_T_MIN, TIME_T_MAX, TM_YEAR_BASE, EPOCH_YEAR): New macros.
	<limits.h>, <stdlib.h>: New #includes.
	(main): Support tests with given broken-down value; support benchmarks.
	(__mon_lengths, debugging_enabled, printtm, dist_tm, doit,
	do_normalization, normalize, BAD_STRUCT_TM, SKIP_VALUE,
	<ctype.h>): Remove.

	* time/time.h, time/mktime.c (__mktime_internal): New offset arg.
	* time/mktime.c (mktime), time/timegm.c (timegm): Use it.

	* time/mktime.c (__mon_yday): New variable; replaces `__mon_lengths'.
	time/offtime.c (__offtime), time/tzset.c (compute_change): Use it.
	
	* time/offtime.c (__offtime): Remove useless assignment
	`tp->tm_isdst = -1'.

	* manual/maint.texi: Update credits.

Fri Oct  6 00:28:53 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

	* sysdeps/unix/common/readv.S: Moved to sysdeps/unix/bsd.
	* sysdeps/unix/common/writev.S: Moved to sysdeps/unix/bsd.
	* sysdeps/unix/sysv/linux/readv.c: File removed.
	* sysdeps/unix/sysv/linux/writev.c: File removed.
	* sysdeps/unix/configure.in: Check for readv and writev syscalls.

	* sysdeps/unix/configure.in: If eval doesn't set $unix_srcname,
	set it to $unix_syscall instead of $unix_function.
1995-10-06 04:50:55 +00:00
..
sys * stdlib/strtol.c [_LIBC]: Define STDC_HEADERS. 1995-07-25 18:36:31 +00:00
.cvsignore * Make-dist (README): Commit it to CVS if there is a CVS directory. 1995-03-29 16:58:35 +00:00
africa * time/africa, time/asia, time/europe, time/northamerica, 1995-09-21 16:21:49 +00:00
antarctica initial import 1995-02-18 01:27:10 +00:00
ap.c initial import 1995-02-18 01:27:10 +00:00
asctime.c Sun Mar 5 19:40:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-06 03:00:08 +00:00
asia * time/africa, time/asia, time/europe, time/northamerica, 1995-09-21 16:21:49 +00:00
australasia Tue Aug 29 12:35:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-08-29 16:41:47 +00:00
backward * asia, backward, europe, leapseconds, southamerica: New data from 1995-07-26 10:14:02 +00:00
clocktest.c initial import 1995-02-18 01:27:10 +00:00
ctime.c initial import 1995-02-18 01:27:10 +00:00
date.c initial import 1995-02-18 01:27:10 +00:00
difftime.c initial import 1995-02-18 01:27:10 +00:00
dysize.c initial import 1995-02-18 01:27:10 +00:00
etcetera initial import 1995-02-18 01:27:10 +00:00
europe * time/africa, time/asia, time/europe, time/northamerica, 1995-09-21 16:21:49 +00:00
factory initial import 1995-02-18 01:27:10 +00:00
gmtime.c Mon Sep 18 12:39:22 1995 Paul Eggert <eggert@twinsun.com> 1995-09-18 19:00:32 +00:00
ialloc.c Wed Mar 8 13:38:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-09 10:00:12 +00:00
leapseconds * asia, backward, europe, leapseconds, southamerica: New data from 1995-07-26 10:14:02 +00:00
localtime.c Mon Sep 18 12:39:22 1995 Paul Eggert <eggert@twinsun.com> 1995-09-18 19:00:32 +00:00
Makefile Wed Mar 8 13:38:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-09 10:00:12 +00:00
mktime.c Fri Sep 29 03:43:51 1995 Paul Eggert <eggert@twinsun.com> 1995-10-06 04:50:55 +00:00
northamerica * sysdeps/unix/Makefile ($(common-objpfx)ioctls): Remove NULL from 1995-10-04 21:52:33 +00:00
offtime.c Fri Sep 29 03:43:51 1995 Paul Eggert <eggert@twinsun.com> 1995-10-06 04:50:55 +00:00
pacificnew Wed Mar 8 13:38:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-09 10:00:12 +00:00
private.h Wed Mar 8 13:38:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-09 10:00:12 +00:00
scheck.c initial import 1995-02-18 01:27:10 +00:00
solar87 initial import 1995-02-18 01:27:10 +00:00
solar88 initial import 1995-02-18 01:27:10 +00:00
solar89 initial import 1995-02-18 01:27:10 +00:00
southamerica * asia, backward, europe, leapseconds, southamerica: New data from 1995-07-26 10:14:02 +00:00
strftime.c * stdlib/strtol.c [_LIBC]: Define STDC_HEADERS. 1995-07-25 18:36:31 +00:00
systemv initial import 1995-02-18 01:27:10 +00:00
test_time.args initial import 1995-02-18 01:27:10 +00:00
test_time.c initial import 1995-02-18 01:27:10 +00:00
time.h Fri Sep 29 03:43:51 1995 Paul Eggert <eggert@twinsun.com> 1995-10-06 04:50:55 +00:00
timegm.c Fri Sep 29 03:43:51 1995 Paul Eggert <eggert@twinsun.com> 1995-10-06 04:50:55 +00:00
tzfile.c Thu Mar 16 00:04:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-16 05:32:45 +00:00
tzfile.h Wed Mar 8 13:38:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-09 10:00:12 +00:00
tzset.c Fri Sep 29 03:43:51 1995 Paul Eggert <eggert@twinsun.com> 1995-10-06 04:50:55 +00:00
yearistype * time/africa, time/asia, time/europe, time/northamerica, 1995-09-21 16:21:49 +00:00
zdump.c Wed Mar 8 13:38:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-09 10:00:12 +00:00
zic.c Wed Mar 8 13:38:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-09 10:00:12 +00:00