aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-01-26 05:33:35 +0000
committerUlrich Drepper <drepper@redhat.com>1997-01-26 05:33:35 +0000
commit33a934a3abdd127d2cc305f35e03dc88984bad49 (patch)
tree96b2567a8831f0702bf4ad4fe45f224869757df6
parent5b82669229ad4e39c6ba1467045a2d81d44b8ccc (diff)
downloadglibc-33a934a3abdd127d2cc305f35e03dc88984bad49.tar.xz
glibc-33a934a3abdd127d2cc305f35e03dc88984bad49.zip
update from main archive 970125cvs/libc-970126
Sun Jan 26 05:41:42 1997 Ulrich Drepper <drepper@cygnus.com> * version.h (VERSION): Bump to 2.0. (RELEASE): Now it's "experimental". * Makefile (subdirs): Change $(malloc) to malloc. We have only one malloc implementation again. * malloc/*: Remove from GNU libc. * new-malloc/* Move to malloc/. * config.make.in (defines): Remove @USE_NEW_MALLOC@. * configure.in: Remove --enable-new-malloc option and check for malloc implementation choice. * malloc.h: We don't need to check for the implementation to use anymore. Simply include malloc/malloc.h. * malloc/Makefile (subdir): Change to malloc. * sysdeps/unix/sysv/linux/configure.in: Don't set malloc anymore. * Makefile: Add special goal to call generate only-MD5 based crypt library. * md5-crypt/Makefile: Likewise. * stdio-common/tstscanf.c: De-ANSI-declfy. Update copyright. (rounds): Change type to size_t to prevent warning. * wcsmbs/btowc.c: Reformat copyright. * wcsmbs/mbrlen.c: Likewise. * wcsmbs/mbsinit.c: Likewise. * wcsmbs/mbsnrtowcs.c: Likewise. * wcsmbs/mbsrtowcs.c: Likewise. * wcsmbs/wcpcpy.c: Likewise. * wcsmbs/wcpncpy.c: Likewise. * wcsmbs/wcscat.c: Likewise. * wcsmbs/wcscmp.c: Likewise. * wcsmbs/wcscoll.c: Likewise. * wcsmbs/wcscpy.c: Likewise. * wcsmbs/wcscspn.c: Likewise. * wcsmbs/wcsdup.c: Likewise. * wcsmbs/wcslen.c: Likewise. * wcsmbs/wcsncat.c: Likewise. * wcsmbs/wcsncpy.c: Likewise. * wcsmbs/wcsnrtombs.c: Likewise. * wcsmbs/wcsrtombs.c: Likewise. * wcsmbs/wcsspn.c: Likewise. * wcsmbs/wcsstr.c: Likewise. * wcsmbs/wcstod.c: Likewise. * wcsmbs/wcstof.c: Likewise. * wcsmbs/wcstok.c: Likewise. * wcsmbs/wcstol.c: Likewise. * wcsmbs/wcstold.c: Likewise. * wcsmbs/wcstoq.c: Likewise. * wcsmbs/wcstoul.c: Likewise. * wcsmbs/wcstouq.c: Likewise. * wcsmbs/wcswidth.c: Likewise. * wcsmbs/wcsxfrm.c: Likewise. * wcsmbs/wctob.c: Likewise. * wcsmbs/wcwidth.c: Likewise. * wcsmbs/wcwidth.h: Likewise. * wcsmbs/wmemchr.c: Likewise. * wcsmbs/wmemcmp.c: Likewise. * wcsmbs/wmemmove.c: Likewise. * wcsmbs/wmemset.c: Likewise. Sat Jan 25 03:34:14 1997 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/termbits.h: Protect against multiple inclusion. Reported by a sun <asun@zoology.washington.edu>. Likewise for scanf4.c * stdlib/stdlib.h: Declare reentrant function from rand48 family
-rw-r--r--ChangeLog71
-rw-r--r--Makefile8
-rw-r--r--NEWS115
-rw-r--r--config.make.in2
-rwxr-xr-xconfigure116
-rw-r--r--configure.in19
-rw-r--r--malloc.h6
-rw-r--r--malloc/Makefile2
-rw-r--r--md5-crypt/Makefile17
-rw-r--r--stdio-common/tstscanf.c33
-rw-r--r--sysdeps/unix/sysv/linux/configure9
-rw-r--r--sysdeps/unix/sysv/linux/configure.in3
-rw-r--r--sysdeps/unix/sysv/linux/termbits.h5
-rw-r--r--version.h4
-rw-r--r--wcsmbs/btowc.c30
-rw-r--r--wcsmbs/mbrlen.c36
-rw-r--r--wcsmbs/mbsinit.c30
-rw-r--r--wcsmbs/mbsnrtowcs.c36
-rw-r--r--wcsmbs/mbsrtowcs.c36
-rw-r--r--wcsmbs/wcpcpy.c36
-rw-r--r--wcsmbs/wcpncpy.c30
-rw-r--r--wcsmbs/wcscat.c36
-rw-r--r--wcsmbs/wcscmp.c36
-rw-r--r--wcsmbs/wcscoll.c29
-rw-r--r--wcsmbs/wcscpy.c36
-rw-r--r--wcsmbs/wcscspn.c36
-rw-r--r--wcsmbs/wcsdup.c36
-rw-r--r--wcsmbs/wcslen.c31
-rw-r--r--wcsmbs/wcsncat.c30
-rw-r--r--wcsmbs/wcsncpy.c30
-rw-r--r--wcsmbs/wcsnrtombs.c36
-rw-r--r--wcsmbs/wcsrtombs.c36
-rw-r--r--wcsmbs/wcsspn.c36
-rw-r--r--wcsmbs/wcsstr.c28
-rw-r--r--wcsmbs/wcstod.c30
-rw-r--r--wcsmbs/wcstof.c30
-rw-r--r--wcsmbs/wcstok.c30
-rw-r--r--wcsmbs/wcstol.c31
-rw-r--r--wcsmbs/wcstold.c30
-rw-r--r--wcsmbs/wcstoq.c31
-rw-r--r--wcsmbs/wcstoul.c31
-rw-r--r--wcsmbs/wcstouq.c31
-rw-r--r--wcsmbs/wcswidth.c30
-rw-r--r--wcsmbs/wcsxfrm.c29
-rw-r--r--wcsmbs/wctob.c30
-rw-r--r--wcsmbs/wcwidth.c30
-rw-r--r--wcsmbs/wcwidth.h36
-rw-r--r--wcsmbs/wmemchr.c30
-rw-r--r--wcsmbs/wmemcmp.c30
-rw-r--r--wcsmbs/wmemmove.c30
-rw-r--r--wcsmbs/wmemset.c36
51 files changed, 858 insertions, 747 deletions
diff --git a/ChangeLog b/ChangeLog
index 1e47cf9bb4..4094e640a8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,70 @@
+Sun Jan 26 05:41:42 1997 Ulrich Drepper <drepper@cygnus.com>
+
+ * version.h (VERSION): Bump to 2.0.
+ (RELEASE): Now it's "experimental".
+
+ * Makefile (subdirs): Change $(malloc) to malloc. We have only
+ one malloc implementation again.
+ * malloc/*: Remove from GNU libc.
+ * new-malloc/* Move to malloc/.
+ * config.make.in (defines): Remove @USE_NEW_MALLOC@.
+ * configure.in: Remove --enable-new-malloc option and check for
+ malloc implementation choice.
+ * malloc.h: We don't need to check for the implementation to use
+ anymore. Simply include malloc/malloc.h.
+ * malloc/Makefile (subdir): Change to malloc.
+ * sysdeps/unix/sysv/linux/configure.in: Don't set malloc anymore.
+
+ * Makefile: Add special goal to call generate only-MD5 based crypt
+ library.
+ * md5-crypt/Makefile: Likewise.
+
+ * stdio-common/tstscanf.c: De-ANSI-declfy. Update copyright.
+ (rounds): Change type to size_t to prevent warning.
+
+ * wcsmbs/btowc.c: Reformat copyright.
+ * wcsmbs/mbrlen.c: Likewise.
+ * wcsmbs/mbsinit.c: Likewise.
+ * wcsmbs/mbsnrtowcs.c: Likewise.
+ * wcsmbs/mbsrtowcs.c: Likewise.
+ * wcsmbs/wcpcpy.c: Likewise.
+ * wcsmbs/wcpncpy.c: Likewise.
+ * wcsmbs/wcscat.c: Likewise.
+ * wcsmbs/wcscmp.c: Likewise.
+ * wcsmbs/wcscoll.c: Likewise.
+ * wcsmbs/wcscpy.c: Likewise.
+ * wcsmbs/wcscspn.c: Likewise.
+ * wcsmbs/wcsdup.c: Likewise.
+ * wcsmbs/wcslen.c: Likewise.
+ * wcsmbs/wcsncat.c: Likewise.
+ * wcsmbs/wcsncpy.c: Likewise.
+ * wcsmbs/wcsnrtombs.c: Likewise.
+ * wcsmbs/wcsrtombs.c: Likewise.
+ * wcsmbs/wcsspn.c: Likewise.
+ * wcsmbs/wcsstr.c: Likewise.
+ * wcsmbs/wcstod.c: Likewise.
+ * wcsmbs/wcstof.c: Likewise.
+ * wcsmbs/wcstok.c: Likewise.
+ * wcsmbs/wcstol.c: Likewise.
+ * wcsmbs/wcstold.c: Likewise.
+ * wcsmbs/wcstoq.c: Likewise.
+ * wcsmbs/wcstoul.c: Likewise.
+ * wcsmbs/wcstouq.c: Likewise.
+ * wcsmbs/wcswidth.c: Likewise.
+ * wcsmbs/wcsxfrm.c: Likewise.
+ * wcsmbs/wctob.c: Likewise.
+ * wcsmbs/wcwidth.c: Likewise.
+ * wcsmbs/wcwidth.h: Likewise.
+ * wcsmbs/wmemchr.c: Likewise.
+ * wcsmbs/wmemcmp.c: Likewise.
+ * wcsmbs/wmemmove.c: Likewise.
+ * wcsmbs/wmemset.c: Likewise.
+
+Sat Jan 25 03:34:14 1997 Ulrich Drepper <drepper@cygnus.com>
+
+ * sysdeps/unix/sysv/linux/termbits.h: Protect against multiple
+ inclusion. Reported by a sun <asun@zoology.washington.edu>.
+
Sat Jan 25 02:05:19 1997 Eirik Fuller <eirik@netcom.com>
* sysdeps/unix/sysv/linux/alpha/ioperm.c: Rename T2_SPARSE_BASE and
@@ -2713,7 +2780,7 @@ Wed Nov 20 22:07:58 1996 Andreas Jaeger <aj@arthur.pfalz.de>
Wed Nov 20 12:50:54 1996 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/Makefile: Add CFLAGS-scanf7.c to prevent warning.
- Likesie for scanf4.c
+ Likewise for scanf4.c
Wed Nov 20 02:04:11 1996 Ulrich Drepper <drepper@cygnus.com>
@@ -3682,7 +3749,7 @@ Sun Nov 3 17:29:06 1996 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/vfscanf.c: Likewise for scanf.
* stdlib/l64a.c: Return value for 0 must be the empty string.
- * stdlib/stdlib.h: Declare reentrant function from rand49 family
+ * stdlib/stdlib.h: Declare reentrant function from rand48 family
only if __USE_REENTRANT.
Declare rand48 functions also if __USE_XOPEN.
diff --git a/Makefile b/Makefile
index 38559c26d5..790d08f421 100644
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,7 @@ endif
# These are the subdirectories containing the library source.
subdirs = csu assert ctype db locale intl catgets math setjmp signal stdlib \
- stdio-common $(stdio) $(malloc) string wcsmbs time dirent grp pwd \
+ stdio-common $(stdio) malloc string wcsmbs time dirent grp pwd \
posix io termios resource misc login socket sysvipc gmon gnulib \
wctype manual shadow md5-crypt nss $(sysdep-subdirs) po \
$(add-ons) elf
@@ -322,3 +322,9 @@ NOTES: manual/creature.texi; $(format-me)
rpm/%: subdir_distinfo
$(MAKE) -C $(@D) subdirs='$(subdirs)' $(@F)
+
+# This is a special goal for people making binary distributions. Normally
+# everybody uses the DES based crypt library but for the distribution we
+# need the only-MD5 based one as well.
+md5-crypt/libmd5crypt:
+ $(MAKE) -C $(@D) $(@F)
diff --git a/NEWS b/NEWS
index 37678e12c7..0be4d35c0f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,9 +1,11 @@
-GNU C Library NEWS -- history of user-visible changes. 25 August 1996
+GNU C Library NEWS -- history of user-visible changes. 26 January 1997
-Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
+Copyright (C) 1992, 93, 94, 95, 96, 97 Free Software Foundation, Inc.
See the end for copying conditions.
-Please send GNU C library bug reports to bug-glibc@prep.ai.mit.edu.
+Please send GNU C library bug reports using the `glibcbug' script to
+<bugs@gnu.ai.mit.edu>. Questions and suggestions should be send to
+<bug-glibc@prep.ai.mit.edu>.
Version 2.0
@@ -34,7 +36,9 @@ Version 2.0
are enabled, the new library `-ldl' is available for arbitrary run-time
loading of shared objects; its interface is defined in <dlfcn.h>. The
new header file <link.h> gives access to the internals of the run-time
- dynamic linker, `ld.so'.
+ dynamic linker, `ld.so'. The shell script `ldd' is similar to the
+ application of same name on other systems and it provides information
+ about dynamically linked binaries.
* The C library now provides the run-time support code for profiling
executables compiled with `-pg'. Programs can control the profiling code
@@ -43,18 +47,22 @@ Version 2.0
the support for this file format was contributed by David Mosberger-Tang.
* The math code has been replaced with a math library based on fdlibm from
- Sun, and modified by JT Conklin with i387 support and by Ian Taylor with
- `float' functions. The math functions now reside in a separate library,
- so programs using them will need to use `-lm' their linking commands.
+ Sun, and modified by JT Conklin and Ulrich Drepper with i387 support, by
+ Ian Taylor with `float' functions and by Ulrich Drepper with `long double'
+ functions. The math functions now reside in a separate library, so
+ programs using them will need to use `-lm' their linking commands.
+
+* John C. Bowman contributed optimized ix87 assembler inline functions.
* Ulrich Drepper has contributed support for an `/etc/nsswitch.conf'
mechanism similar to that found in Solaris 2. This is now used for the
- group, passwd, hosts, networks, services, protocols, and rpc databases.
- The `nsswitch.conf' file controls what services are used for each
- individual database. This works by loading shared libraries with names
- specified in `nsswitch.conf', so service modules can be changed or added at
- any time without even relinking any program. A future release of the
- separate NYS package will provide NIS/YP and NIS+ modules for this interface.
+ group, passwd, hosts, networks, services, protocols, rpc, ethers,
+ shadow, netgroup, publickey, and alias databases. The `nsswitch.conf'
+ file controls what services are used for each individual database. This
+ works by loading shared libraries with names specified in `nsswitch.conf',
+ so service modules can be changed or added at any time without even
+ relinking any program. Currently there are the file, db, and NIS based
+ NSS services available.
* The new functions `strtoq' and `strtouq' parse integer values from
strings, like `strtol' and `strtoul', but they return `long long int' and
@@ -69,13 +77,25 @@ Version 2.0
`strtod', `strtof', and `strtold'. These new functions are perfectly
accurate, and much faster than the old ones.
+* The implementation of the POSIX locale model was completely rewritten by
+ Ulrich Drepper. This includes the new programs `localedef' and `locale'
+ to compile the POSIX locale definition.
+
+* The former dummy implementations of the strcoll and strxfrm function are
+ now replaced by fully functional code contributed by Ulrich Drepper. The
+ collation information comes from the POSIX locale definitions.
+
* The new header <langinfo.h> defines an interface for accessing
various locale-dependent data (using the locale chosen with `setlocale').
* Ulrich Drepper has contributed a new suite of functions for operation on
- wide-character and multibyte-character strings, in <wcstr.h> and <mbstr.h>;
+ wide-character and multibyte-character strings, in <wchar.h>;
and classification and case conversion of wide characters, in <wctype.h>.
- These new functions are intended to conform to the ISO C specification.
+ These new functions are conforming to the ISO C, Amendement 1 specification.
+
+* There is now a second implementation of the standard I/O library available.
+ It comes from GNU libg++ as was written by Per Bothner, heavily modified
+ by Hongjiu Lu and made thread safe by Ulrich Drepper.
* You can now use positional parameter specifications in format strings
for the `printf' and `scanf' families of functions. For example,
@@ -104,7 +124,9 @@ Version 2.0
* The new header file <fts.h> and suite of functions simplify programs that
operate on directory trees. This code comes from 4.4 BSD.
-* The resolver code has been updated from the BIND 4.9.5-T4B release.
+* The resolver code has been updated from the BIND 4.9.5-P1 release.
+ Parts of the code were heavily modified by Ulrich Drepper to fit in the
+ NSS scheme used in glibc.
* The new function `malloc_find_object_address' finds the starting address
of a malloc'd block, given any address within the block;
@@ -132,7 +154,9 @@ Version 2.0
* The new functions `ecvt', `fcvt', and `gcvt' provide an obsolete interface
for formatting floating-point numbers. They are provided only for
- compatibility; new programs should use `sprintf' instead.
+ compatibility; new programs should use `sprintf' instead. There are
+ also equivalent function for the `long double' floating-point type and
+ all functions also exist in a reentrant form.
* The new auxiliary library `-lutil' from 4.4 BSD contains various
functions for maintaining the login-record files (primarily of use to
@@