aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1996-09-22 03:06:42 +0000
committerUlrich Drepper <drepper@redhat.com>1996-09-22 03:06:42 +0000
commit845dcb57b1de1b8c2ea88cd101d6e5a80181ee4e (patch)
treec13a286fe36773fc4d7d34af8527956a6ec8838b
parentdaf2bb515bdd8212c8d95b78e70ef02f035304c5 (diff)
downloadglibc-845dcb57b1de1b8c2ea88cd101d6e5a80181ee4e.tar.xz
glibc-845dcb57b1de1b8c2ea88cd101d6e5a80181ee4e.zip
update from main archive 960921
Sun Sep 22 03:40:52 1996 Ulrich Drepper <drepper@cygnus.com> * resolv/resolv.h: Update to bind-4.9.5-T4B. * resolv/base64.c: Likewise. * resolv/res_debug.c: Likewise. * resolv/res_query.c: Likewise. * resolv/gethnamaddr.c: Likewise. * nss/nss_dns/dns-host.c: Likewise. * resolv/res_comp.c: Likewise. * resolv/res_send.c: Likewise. * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much higher now. * resolv/Banner: New file. * resolv/Makefile (distribute): Add Banner. Sat Sep 21 19:15:24 1996 Ulrich Drepper <drepper@cygnus.com> * sysdeps/stub/getsysstats.c: New file. * sysdeps/unix/sysv/linux/getsysstats.c: New file. * misc/Makefile (headers): Add sys/sysinfo.h. (routines): Add getsysstats. * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc] (sysdep_headers): Remove sys/sysinfo.h. * sysdeps/generic/sys/sysinfo.h: New file. * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs, get_phys_pages, and get_avphys_pages. * misc/Makefile (routines): Add mntent_r. * misc/mntent_r.c: New file. * misc/mntent.c: Remove all functions but getmntent and use __getmntent_r. * misc/mntent.h: Add prototype for __getmntent_r. * misc/fstab.c: Use __getmntent_r function instead of getmntent. This will not clobber the state in getmntent. * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES, _SC_ATEXIT_MAX, and _SC_PASS_MAX. * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by calling __get_phys_pages, _SY_AVPHYS_PAGES by calling __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX. * sysdeps/posix/sysconf.c: Likewise. * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN, _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries. Sat Sep 21 05:20:36 1996 Ulrich Drepper <drepper@cygnus.com> * version.h (VERSION): Bump to 1.95. * Make-dist (+tsrcs): Don't filter out files in subdirs which match files in the sysdeps hierachy (welcome back, sys/syscall.h!). * resolv/Makefile (libresolv-routines): Remove getnetnamad. Sat Sep 21 03:00:19 1996 Ulrich Drepper <drepper@cygnus.com> * locale/loadlocale.c (_nl_free_locale): Remove function. * locale/localeinfo.h: Remove prototype for _nl_free_locale. * locale/setlocale.c (setlocale): Don't free locale data of categories which succeeded to load after a wrong or missing data file was observed. * locale/setlocale (setlocale): Initialize NEWNAME correctly so that it works even when the locale data is not used. * stdlib/random_r.c: Fix typo in comment. * stdlib/drand48-iter.c: Likewise. * stdlib/drand48.c: Likewise. * stdlib/erand48.c: Likewise. * stdlib/jrand48.c: Likewise. * stdlib/lcong48.c: Likewise. * stdlib/lrand48.c: Likewise. * stdlib/mrand48.c: Likewise. * stdlib/nrand48.c: Likewise. * stdlib/random.c: Likewise. * stdlib/seed48.c: Likewise. * stdlib/srand48.c: Likewise. * misc/search.h: Likewise. * misc/hsearch.c: Likewise. * misc/hsearch_r.c: Likewise. * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * hurd/hurdinit.c (__libc_argv): Provide common decl. (_hurd_setproc): Don't declare __libc_argv here.
-rw-r--r--ChangeLog92
-rw-r--r--FAQ56
-rw-r--r--INSTALL14
-rw-r--r--Make-dist3
-rw-r--r--NEWS2
-rw-r--r--README36
-rw-r--r--README.template36
-rw-r--r--locale/loadlocale.c18
-rw-r--r--locale/localeinfo.h3
-rw-r--r--locale/setlocale.c44
-rw-r--r--misc/Makefile7
-rw-r--r--misc/fstab.c21
-rw-r--r--misc/hsearch.c6
-rw-r--r--misc/hsearch_r.c2
-rw-r--r--misc/mntent.c105
-rw-r--r--misc/mntent.h19
-rw-r--r--misc/mntent_r.c141
-rw-r--r--misc/search.h4
-rw-r--r--nss/nss_dns/dns-host.c37
-rw-r--r--posix/getconf.c7
-rw-r--r--posix/unistd.h3
-rw-r--r--resolv/Banner1
-rw-r--r--resolv/Makefile5
-rw-r--r--resolv/arpa/nameser.h2
-rw-r--r--resolv/base64.c4
-rw-r--r--resolv/gethnamaddr.c36
-rw-r--r--resolv/res_comp.c20
-rw-r--r--resolv/res_debug.c7
-rw-r--r--resolv/res_query.c8
-rw-r--r--resolv/res_send.c17
-rw-r--r--resolv/resolv.h107
-rw-r--r--stdlib/drand48-iter.c2
-rw-r--r--stdlib/drand48.c4
-rw-r--r--stdlib/erand48.c4
-rw-r--r--stdlib/jrand48.c4
-rw-r--r--stdlib/lcong48.c4
-rw-r--r--stdlib/lrand48.c4
-rw-r--r--stdlib/mrand48.c4
-rw-r--r--stdlib/nrand48.c4
-rw-r--r--stdlib/random.c16
-rw-r--r--stdlib/random_r.c2
-rw-r--r--stdlib/seed48.c4
-rw-r--r--stdlib/srand48.c4
-rw-r--r--sysdeps/generic/confname.h15
-rw-r--r--sysdeps/generic/sys/sysinfo.h41
-rw-r--r--sysdeps/posix/sysconf.c25
-rw-r--r--sysdeps/stub/getsysstats.c68
-rw-r--r--sysdeps/stub/sysconf.c25
-rw-r--r--sysdeps/unix/sysv/linux/Makefile2
-rw-r--r--sysdeps/unix/sysv/linux/getsysstats.c200
-rw-r--r--sysdeps/unix/sysv/linux/sys/sysinfo.h18
-rw-r--r--version.h2
52 files changed, 1011 insertions, 304 deletions
diff --git a/ChangeLog b/ChangeLog
index db2baa91c8..cb61fd0a7d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -56,6 +56,91 @@ Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
__funlockfile can't be protected the way the use of __flockfile
can be.
+Sun Sep 22 03:40:52 1996 Ulrich Drepper <drepper@cygnus.com>
+
+ * resolv/resolv.h: Update to bind-4.9.5-T4B.
+ * resolv/base64.c: Likewise.
+ * resolv/res_debug.c: Likewise.
+ * resolv/res_query.c: Likewise.
+ * resolv/gethnamaddr.c: Likewise.
+ * nss/nss_dns/dns-host.c: Likewise.
+ * resolv/res_comp.c: Likewise.
+ * resolv/res_send.c: Likewise.
+ * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much
+ higher now.
+
+ * resolv/Banner: New file.
+ * resolv/Makefile (distribute): Add Banner.
+
+Sat Sep 21 19:15:24 1996 Ulrich Drepper <drepper@cygnus.com>
+
+ * sysdeps/stub/getsysstats.c: New file.
+ * sysdeps/unix/sysv/linux/getsysstats.c: New file.
+
+ * misc/Makefile (headers): Add sys/sysinfo.h.
+ (routines): Add getsysstats.
+ * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
+ (sysdep_headers): Remove sys/sysinfo.h.
+ * sysdeps/generic/sys/sysinfo.h: New file.
+ * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs,
+ get_phys_pages, and get_avphys_pages.
+
+ * misc/Makefile (routines): Add mntent_r.
+ * misc/mntent_r.c: New file.
+ * misc/mntent.c: Remove all functions but getmntent and use
+ __getmntent_r.
+ * misc/mntent.h: Add prototype for __getmntent_r.
+ * misc/fstab.c: Use __getmntent_r function instead of getmntent.
+ This will not clobber the state in getmntent.
+
+ * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF,
+ _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES,
+ _SC_ATEXIT_MAX, and _SC_PASS_MAX.
+ * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and
+ _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by
+ calling __get_phys_pages, _SY_AVPHYS_PAGES by calling
+ __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX.
+ * sysdeps/posix/sysconf.c: Likewise.
+ * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN,
+ _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries.
+
+Sat Sep 21 05:20:36 1996 Ulrich Drepper <drepper@cygnus.com>
+
+ * version.h (VERSION): Bump to 1.95.
+
+ * Make-dist (+tsrcs): Don't filter out files in subdirs which
+ match files in the sysdeps hierachy (welcome back,
+ sys/syscall.h!).
+
+ * resolv/Makefile (libresolv-routines): Remove getnetnamad.
+
+Sat Sep 21 03:00:19 1996 Ulrich Drepper <drepper@cygnus.com>
+
+ * locale/loadlocale.c (_nl_free_locale): Remove function.
+ * locale/localeinfo.h: Remove prototype for _nl_free_locale.
+ * locale/setlocale.c (setlocale): Don't free locale data of
+ categories which succeeded to load after a wrong or missing data
+ file was observed.
+
+ * locale/setlocale (setlocale): Initialize NEWNAME correctly so
+ that it works even when the locale data is not used.
+
+ * stdlib/random_r.c: Fix typo in comment.
+ * stdlib/drand48-iter.c: Likewise.
+ * stdlib/drand48.c: Likewise.
+ * stdlib/erand48.c: Likewise.
+ * stdlib/jrand48.c: Likewise.
+ * stdlib/lcong48.c: Likewise.
+ * stdlib/lrand48.c: Likewise.
+ * stdlib/mrand48.c: Likewise.
+ * stdlib/nrand48.c: Likewise.
+ * stdlib/random.c: Likewise.
+ * stdlib/seed48.c: Likewise.
+ * stdlib/srand48.c: Likewise.
+ * misc/search.h: Likewise.
+ * misc/hsearch.c: Likewise.
+ * misc/hsearch_r.c: Likewise.
+
Thu Sep 19 21:50:55 1996 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/posix/gettimeofday.c (__gettimeofday): Use localtime_r
@@ -68,7 +153,7 @@ Thu Sep 19 21:50:55 1996 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location):
Define even if !_LIBC_REENTRANT.
- * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location):
+ * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
Likewise.
* sysdeps/posix/cuserid.h: Remove prototype for geteuid().
@@ -256,6 +341,11 @@ Thu Sep 12 19:56:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.
* inet/herrno.c (__h_errno_location): Fix return type.
+Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * hurd/hurdinit.c (__libc_argv): Provide common decl.
+ (_hurd_setproc): Don't declare __libc_argv here.
+
Fri Sep 13 04:33:08 1996 Ulrich Drepper <drepper@cygnus.com>
* sched.h: New file. Helper to access posix/sched.h.
diff --git a/FAQ b/FAQ
index 84dd9848fa..b5789a4176 100644
--- a/FAQ
+++ b/FAQ
@@ -49,6 +49,12 @@ please let me know.
[Q13] ``How do I configure GNU libc so that the essential libraries
like libc.so go into /lib and the other into /usr/lib?''
+
+[Q14] ``When linking with the new libc I get unresolved symbols
+ `crypt' and `setkey'. Why aren't these functions in the
+ libc anymore?''
+
+[Q15] ``What are these `add-ons'?''
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
[Q1] ``What systems does the GNU C Library run on?''
@@ -369,6 +375,56 @@ in a directory named /etc.
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
+[Q14] ``When linking with the new libc I get unresolved symbols
+ `crypt' and `setkey'. Why aren't these functions in the
+ libc anymore?''
+
+[A14] {UD} Remember the US restrictions of exporting cryptographic
+programs and source code. Until this law gets abolished we cannot
+ship the cryptographic function together with the libc.
+
+But of course we provide the code and there is an very easy way to use
+this code. First get the extra package. People in the US way get it
+from the same place they got the GNU libc from. People outside the US
+should get the code from ftp.uni-c.dk [129.142.6.74], or another
+archive site outside the USA. The README explains how to install the
+sources.
+
+If you already have the crypt code on your system the reason for the
+failure is probably that you failed to link with -lcrypt. The crypto
+functions are in a separate library to make it possible to export GNU
+libc binaries from the US.
+
+
+~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
+[Q15] ``What are these `add-ons'?''
+
+[A15] {UD} To avoid complications with external or external source
+code some optional parts of the libc are distributed as separate
+packages (e.g., the crypt package, see Q14).
+
+To ease the use as part of GNU libc the installer just has to unpack
+the package and tell the configuration script about these additional
+subdirectories using the --enable-add-ons option. When you add the
+crypt add-on you just have to use
+
+ configure --enable-add-ons=crypt,XXX ...
+
+where XXX are possible other add-ons and ... means the rest of the
+normal option list.
+
+You can use add-ons also to overwrite some files in glibc. The add-on
+system dependent subdirs are search first. It is also possible to add
+banner files (use a file named `Banner') or create shared libraries.
+
+Using add-ons has the big advantage that the makefiles of the GNU libc
+can be used. Only some few stub rules must be written to get
+everything running. Even handling of architecture dependent
+compilation is provided. The GNU libc's sysdeps/ directory shows how
+to use this feature.
+
+
+~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Answers were given by:
{UD} Ulrich Drepper, <drepper@cygnus.com>
diff --git a/INSTALL b/INSTALL
index 6664aadc6d..242aaa6767 100644
--- a/INSTALL
+++ b/INSTALL
@@ -157,7 +157,7 @@ build the GNU C library:
recommend you port GNU `make' instead. *Really.* We recommend
version GNU `make' version 3.75 or later.
- * GCC 2.7.2
+ * GCC 2.7.2.1
On most platforms, the GNU C library can only be compiled with the
GNU C compiler. We recommend GCC version 2.7.2 or later; earlier
@@ -177,14 +177,19 @@ Supported Configurations
The GNU C Library currently supports configurations that match the
following patterns:
- alpha-dec-osf1
alpha-ANYTHING-linux
alpha-ANYTHING-linuxecoff
- iX86-ANYTHING-bsd4.3
iX86-ANYTHING-gnu
+ iX86-ANYTHING-linux
+ m68k-ANYTHING-linux
+
+ Former versions of this library used to support the following
+configurations but the current status is unknown:
+
+ alpha-dec-osf1
+ iX86-ANYTHING-bsd4.3
iX86-ANYTHING-isc2.2
iX86-ANYTHING-isc3.N
- iX86-ANYTHING-linux
iX86-ANYTHING-sco3.2
iX86-ANYTHING-sco3.2v4
iX86-ANYTHING-sysv
@@ -911,4 +916,3 @@ parts of the library were contributed or worked on by other people.
or `Software.Distribution@CS.CMU.EDU' any improvements or
extensions that they make and grant Carnegie Mellon the
rights to redistribute these changes.
-
diff --git a/Make-dist b/Make-dist
index ec0f10bd8e..e6921b8533 100644
--- a/Make-dist
+++ b/Make-dist
@@ -113,8 +113,7 @@ sources := $(filter-out $(addsuffix .c,$(basename $(.S.s))),$(sources)) $(.S.s)
$(addsuffix .c,$(sysdep_routines)) \
$(+subdir-nodist)
#foo:=$(shell echo '+out=$(+out)' >&2; echo foofoo >&2)
-+tsrcs := $(filter-out $(+out) $(addprefix %/,$(+out)), \
- $(sources) $(all-headers) $(distribute)) \
++tsrcs := $(filter-out $(+out), $(sources) $(all-headers) $(distribute)) \
$(+sysdeps)
foo:=$(shell echo 'made +tsrcs=$(+tsrcs)'>&2)
foo:=$(shell echo generated='$(generated)' >&2)
diff --git a/NEWS b/NEWS
index 163ba721b9..0828e574ea 100644
--- a/NEWS
+++ b/NEWS
@@ -104,7 +104,7 @@ 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-T3A release.
+* The resolver code has been updated from the B