mirror of git://sourceware.org/git/glibc.git
* mktime.c (localtime_r): Add substitute if the system doesn't provide one. Mon Sep 18 14:39:20 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * time/gmtime.c (gmtime_r): Define as weak alias. * time/localtime.c (localtime_r): Define as weak alias. * time/time.h [__USE_REENTRANT] (gmtime_r, localtime_r): Declare them. * errno.h: Only define _ERRNO_H #ifndef __need_Emath. #undef __need_Emath after including errnos.h. [_ERRNO_H]: Protect decls with this. Sun Sep 17 08:22:12 1995 Paul Eggert <eggert@twinsun.com> Fix mktime so that it does not write over localtime's returned value. * localtime.c (__localtime_r): New function, with extra arg specifying where to store result. (localtime): Use it. (_tmbuf): New var. * gmtime.c (__gmtime_r, gmtime, _tmbuf): Likewise. * mktime.c (__mktime_internal): Conversion function is now __localtime_r style, not localtime style. (mktime): Pass __localtime_r, not localtime. * timegm.c (timegm): Pass __gmtime_r, not gmtime. * offtime.c (__offtime): New arg specifying where to store result. * time.h (__mktime_internal, __offtime): Adjust decls accordingly. (__gmtime_r, __localtime_r): New decls. * time/localtime.c: <stddef.h>, <ctype.h>, <stdio.h>, <stdlib.h>, <string.h>: Remove includes. <errno.h>: Add include. * time/mktime.c, time/time.h, time/timegm.c (__mktime_internal): Renamed from _mktime_internal to avoid namespace pollution. * time/gmtime.c: Clear tm_isdst. * misc/efgcvt_r.c (ecvt_r, fcvt_r): Last arg is size_t, not int. * stdlib/stdlib.h (ecvt_r, fcvt_r): Fix type of last arg: make it size_t. * sysdeps/mach/hurd/fpathconf.c: Call __io_pathconf instead of __file_pathconf. * sysdeps/mach/hurd/pathconf.c: Likewise. |
||
|---|---|---|
| arpa | ||
| assert | ||
| bare | ||
| conf | ||
| csu | ||
| ctype | ||
| dirent | ||
| elf | ||
| gnu | ||
| gnulib | ||
| grp | ||
| hurd | ||
| inet | ||
| 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 | ||
| ChangeLog | ||
| ChangeLog.1 | ||
| ChangeLog.2 | ||
| ChangeLog.3 | ||
| ChangeLog.4 | ||
| INSTALL | ||
| Make-dist | ||
| MakeTAGS | ||
| Makeconfig | ||
| Makefile | ||
| Makefile.in | ||
| Makerules | ||
| NEWS | ||
| NOTES | ||
| README | ||
| README.template | ||
| Rules | ||
| a.out.h | ||
| aclocal.m4 | ||
| alloca.h | ||
| ansidecl.h | ||
| assert.h | ||
| 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-sh | ||
| langinfo.h | ||
| libc-symbols.h | ||
| libintl.h | ||
| limits.h | ||
| locale.h | ||
| malloc.h | ||
| math.h | ||
| memory.h | ||
| mkinstalldirs | ||
| move-if-change | ||
| munch-tmpl.c | ||
| munch.awk | ||
| netdb.h | ||
| nlist.h | ||
| o-iterator.mk | ||
| obstack.h | ||
| paths.h | ||
| poll.h | ||
| posix1_lim.h | ||
| posix2_lim.h | ||
| printf.h | ||
| printsources | ||
| pwd.h | ||
| regex.h | ||
| resolv.h | ||
| 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 | ||
README
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.