glibc/sysdeps/unix/common
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
..
.cvsignore initial import 1995-02-18 01:27:10 +00:00
access.S initial import 1995-02-18 01:27:10 +00:00
adjtime.S initial import 1995-02-18 01:27:10 +00:00
configure Wed Mar 29 11:26:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-29 16:34:21 +00:00
configure.in initial import 1995-02-18 01:27:10 +00:00
direct.h initial import 1995-02-18 01:27:10 +00:00
Dist initial import 1995-02-18 01:27:10 +00:00
dup2.S initial import 1995-02-18 01:27:10 +00:00
fchmod.S initial import 1995-02-18 01:27:10 +00:00
fchown.S initial import 1995-02-18 01:27:10 +00:00
fcntlbits.h initial import 1995-02-18 01:27:10 +00:00
ftruncate.S initial import 1995-02-18 01:27:10 +00:00
getgroups.S initial import 1995-02-18 01:27:10 +00:00
getitimer.S initial import 1995-02-18 01:27:10 +00:00
getpgid.S initial import 1995-02-18 01:27:10 +00:00
getpriority.S initial import 1995-02-18 01:27:10 +00:00
getrlimit.S initial import 1995-02-18 01:27:10 +00:00
getrusage.S initial import 1995-02-18 01:27:10 +00:00
gettimeofday.S initial import 1995-02-18 01:27:10 +00:00
glue-ctype.c initial import 1995-02-18 01:27:10 +00:00
lstat.S initial import 1995-02-18 01:27:10 +00:00
Makefile initial import 1995-02-18 01:27:10 +00:00
mk-local_lim.c initial import 1995-02-18 01:27:10 +00:00
mkdir.S initial import 1995-02-18 01:27:10 +00:00
readlink.S initial import 1995-02-18 01:27:10 +00:00
rename.S initial import 1995-02-18 01:27:10 +00:00
rmdir.S initial import 1995-02-18 01:27:10 +00:00
select.S initial import 1995-02-18 01:27:10 +00:00
setgroups.S initial import 1995-02-18 01:27:10 +00:00
setitimer.S initial import 1995-02-18 01:27:10 +00:00
setpgid.S initial import 1995-02-18 01:27:10 +00:00
setpriority.S initial import 1995-02-18 01:27:10 +00:00
setregid.S initial import 1995-02-18 01:27:10 +00:00
setreuid.S initial import 1995-02-18 01:27:10 +00:00
setrlimit.S initial import 1995-02-18 01:27:10 +00:00
swapon.S initial import 1995-02-18 01:27:10 +00:00
symlink.S initial import 1995-02-18 01:27:10 +00:00
truncate.S initial import 1995-02-18 01:27:10 +00:00
vhangup.S initial import 1995-02-18 01:27:10 +00:00