mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
80fd73873b
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. |
||
---|---|---|
arpa | ||
assert | ||
bare | ||
conf | ||
csu | ||
ctype | ||
dirent | ||
elf | ||
gmon | ||
gnu | ||
gnulib | ||
grp | ||
hurd | ||
inet | ||
intl | ||
io | ||
locale | ||
mach | ||
manual | ||
math | ||
misc | ||
netinet | ||
posix | ||
protocols | ||
pwd | ||
resolv | ||
resource | ||
rpc | ||
setjmp | ||
signal | ||
socket | ||
stdio | ||
stdlib | ||
string | ||
sunrpc | ||
sys | ||
sysdeps | ||
sysvipc | ||
termios | ||
time | ||
.cvsignore | ||
=__ify | ||
a.out.h | ||
aclocal.m4 | ||
alloca.h | ||
ansidecl.h | ||
assert.h | ||
ChangeLog | ||
ChangeLog.1 | ||
ChangeLog.2 | ||
ChangeLog.3 | ||
ChangeLog.4 | ||
config-name.in | ||
config.guess | ||
config.h.in | ||
config.make.in | ||
config.sub | ||
configure | ||
configure.in | ||
crypt-README | ||
ctype.h | ||
dirent.h | ||
elf.h | ||
endian.h | ||
errno.h | ||
extra-lib.mk | ||
fcntl.h | ||
features.h | ||
fnmatch.h | ||
ftw.h | ||
getopt.h | ||
glob.h | ||
gnu-stabs.h | ||
gnu-versions.h | ||
grp.h | ||
INSTALL | ||
install-sh | ||
langinfo.h | ||
libc-symbols.h | ||
libintl.h | ||
limits.h | ||
locale.h | ||
Make-dist | ||
Makeconfig | ||
Makefile | ||
Makefile.in | ||
Makerules | ||
MakeTAGS | ||
malloc.h | ||
math.h | ||
memory.h | ||
mkinstalldirs | ||
move-if-change | ||
munch-tmpl.c | ||
munch.awk | ||
netdb.h | ||
NEWS | ||
nlist.h | ||
NOTES | ||
o-iterator.mk | ||
obstack.h | ||
paths.h | ||
poll.h | ||
posix1_lim.h | ||
posix2_lim.h | ||
printf.h | ||
printsources | ||
pwd.h | ||
README | ||
README.template | ||
regex.h | ||
resolv.h | ||
Rules | ||
search.h | ||
set-hooks.h | ||
set-init.c | ||
setjmp.h | ||
sgtty.h | ||
signal.h | ||
stdio.h | ||
stdlib.h | ||
string.h | ||
strings.h | ||
syslog.h | ||
tar.h | ||
termios.h | ||
time.h | ||
ttyent.h | ||
unistd.h | ||
utime.h | ||
values.h | ||
version.c | ||
wordexp.h |
This directory contains the version 1.09.6 test release of the GNU C Library. Many bugs have been fixed since the last release. Some bugs surely remain. As of this release, the GNU C library has been ported to the following configurations: alpha-dec-osf1 i386-bsd4.3 i386-force_cpu386-none i386-gnu (for Hurd development only) i386-isc2.2 i386-isc3 i386-sco3.2 i386-sco3.2v4 i386-sequent-bsd i386-sysv i386-sysv4 i960-nindy960-none m68k-hp-bsd4.3 m68k-mvme135-none m68k-mvme136-none m68k-sony-newsos3 m68k-sony-newsos4 m68k-sun-sunos4 mips-dec-ultrix4 mips-sgi-irix4 sparc-sun-solaris2 sparc-sun-sunos4 Porting the library is not hard. If you are interested in doing a port, please get on the mailing list by sending electronic mail to bug-glibc-request@prep.ai.mit.edu. The GNU C library now includes Michael Glad's Ultra Fast Crypt, which provides the Unix `crypt' function, plus some other entry points. Because of the United States export restriction on DES implementations, we are distributing this code separately from the rest of the C library. There is an extra distribution tar file just for crypt; it is called `glibc-1.09.6-crypt.tar.gz'. You can just unpack the crypt distribution along with the rest of the C library and build; you can also build the library without getting crypt. Users outside the USA can get the crypt distribution via anonymous FTP from ftp.uni-c.dk [129.142.6.74], or another archive site outside the USA. Archive maintainers are encouraged to copy this distribution to their archives outside the USA. Please get it from ftp.uni-c.dk; transferring this distribution from prep.ai.mit.edu (or any other site in the USA) to a site outside the USA is in violation of US export laws. See the file INSTALL to find out how to configure, build, install, and port the GNU C library. The GNU C Library is completely documented by the Texinfo manual found in the `manual/' subdirectory. The manual is still being updated and contains some known errors and omissions; we regret that we do not have the resources to work on the manual as much as we would like. Please send comments on the manual to bug-glibc-manual@prep.ai.mit.edu, and not to the library bug-reporting address. The file NOTES contains a description of the feature-test macros used in the GNU C library, explaining how you can tell the library what facilities you want it to make available. Send bug reports to bug-glibc@prep.ai.mit.edu. The GNU C Library is free software. See the file COPYING.LIB for copying conditions.