glibc/sysdeps/unix/bsd
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
..
bsd4.4 * sysdeps/unix/bsd/bsd4.4/revoke.S: New file. 1995-03-27 10:24:00 +00:00
hp/m68k Fri Mar 3 12:24:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-06 00:27:08 +00:00
i386 Fri Mar 3 12:24:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-06 00:27:08 +00:00
m68k initial import 1995-02-18 01:27:10 +00:00
osf undo previous change, not needed w/ configure fix 1995-06-14 00:15:10 +00:00
sequent/i386 initial import 1995-02-18 01:27:10 +00:00
sony initial import 1995-02-18 01:27:10 +00:00
sun Fri Mar 3 12:24:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-06 00:27:08 +00:00
sys initial import 1995-02-18 01:27:10 +00:00
tahoe initial import 1995-02-18 01:27:10 +00:00
ultrix4 * /sysdeps/unix/bsd/ultrix4/mips/sysdep.h: New file defining NO_UNDERSCORES then using sysdeps/unix/mips/sysdep.h. 1995-04-16 08:24:34 +00:00
vax Fri Mar 3 12:24:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-06 00:27:08 +00:00
alarm.c initial import 1995-02-18 01:27:10 +00:00
bsdstat.h initial import 1995-02-18 01:27:10 +00:00
bsdtty.h initial import 1995-02-18 01:27:10 +00:00
clock.c initial import 1995-02-18 01:27:10 +00:00
confstr.h initial import 1995-02-18 01:27:10 +00:00
direct.h initial import 1995-02-18 01:27:10 +00:00
dirstream.h * sysdeps/mach/hurd/dirstream.h: Define `struct __dirstream' 1995-08-28 09:00:05 +00:00
Dist initial import 1995-02-18 01:27:10 +00:00
fcntlbits.h initial import 1995-02-18 01:27:10 +00:00
flock.S initial import 1995-02-18 01:27:10 +00:00
ftime.c initial import 1995-02-18 01:27:10 +00:00
getdtsz.S initial import 1995-02-18 01:27:10 +00:00
getpagesize.S initial import 1995-02-18 01:27:10 +00:00
gtty.c initial import 1995-02-18 01:27:10 +00:00
Implies initial import 1995-02-18 01:27:10 +00:00
init-posix.c initial import 1995-02-18 01:27:10 +00:00
isatty.c initial import 1995-02-18 01:27:10 +00:00
killpg.S initial import 1995-02-18 01:27:10 +00:00
nice.c initial import 1995-02-18 01:27:10 +00:00
pause.c initial import 1995-02-18 01:27:10 +00:00
poll.c initial import 1995-02-18 01:27:10 +00:00
posix_opt.h initial import 1995-02-18 01:27:10 +00:00
profil.S Tue Sep 26 16:50:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-09-26 20:59:38 +00:00
readdir.c * sysdeps/mach/hurd/dirstream.h: Define `struct __dirstream' 1995-08-28 09:00:05 +00:00
readv.S Fri Sep 29 03:43:51 1995 Paul Eggert <eggert@twinsun.com> 1995-10-06 04:50:55 +00:00
seekdir.c initial import 1995-02-18 01:27:10 +00:00
setegid.c initial import 1995-02-18 01:27:10 +00:00
seteuid.c initial import 1995-02-18 01:27:10 +00:00
setgid.c initial import 1995-02-18 01:27:10 +00:00
setrgid.c initial import 1995-02-18 01:27:10 +00:00
setruid.c initial import 1995-02-18 01:27:10 +00:00
setsid.c Fri Mar 3 12:24:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-06 00:27:08 +00:00
settimeofday.S initial import 1995-02-18 01:27:10 +00:00
setuid.c initial import 1995-02-18 01:27:10 +00:00
sigaction.c initial import 1995-02-18 01:27:10 +00:00
sigblock.S initial import 1995-02-18 01:27:10 +00:00
signum.h initial import 1995-02-18 01:27:10 +00:00
sigpause.S initial import 1995-02-18 01:27:10 +00:00
sigprocmask.c initial import 1995-02-18 01:27:10 +00:00
sigsetmask.S initial import 1995-02-18 01:27:10 +00:00
sigstack.S initial import 1995-02-18 01:27:10 +00:00
sigsuspend.c initial import 1995-02-18 01:27:10 +00:00
sigvec.S initial import 1995-02-18 01:27:10 +00:00
statbuf.h initial import 1995-02-18 01:27:10 +00:00
stime.c initial import 1995-02-18 01:27:10 +00:00
stty.c initial import 1995-02-18 01:27:10 +00:00
tcdrain.c initial import 1995-02-18 01:27:10 +00:00
tcflow.c initial import 1995-02-18 01:27:10 +00:00
tcflush.c initial import 1995-02-18 01:27:10 +00:00
tcgetattr.c initial import 1995-02-18 01:27:10 +00:00
tcgetpgrp.c initial import 1995-02-18 01:27:10 +00:00
tcsendbrk.c initial import 1995-02-18 01:27:10 +00:00
tcsetattr.c initial import 1995-02-18 01:27:10 +00:00
tcsetpgrp.c initial import 1995-02-18 01:27:10 +00:00
telldir.c * sysdeps/mach/hurd/dirstream.h: Define `struct __dirstream' 1995-08-28 09:00:05 +00:00
time.c initial import 1995-02-18 01:27:10 +00:00
times.c initial import 1995-02-18 01:27:10 +00:00
ualarm.c initial import 1995-02-18 01:27:10 +00:00
ulimit.c initial import 1995-02-18 01:27:10 +00:00
usleep.c initial import 1995-02-18 01:27:10 +00:00
utime.c initial import 1995-02-18 01:27:10 +00:00
utimes.S initial import 1995-02-18 01:27:10 +00:00
waitflags.h initial import 1995-02-18 01:27:10 +00:00
writev.S Fri Sep 29 03:43:51 1995 Paul Eggert <eggert@twinsun.com> 1995-10-06 04:50:55 +00:00