Go to file
Ulrich Drepper c4563d2d66 Update.
1999-04-28  Ulrich Drepper  <drepper@cygnus.com>

	* argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
	* argp/argp-parse.c (_argp_hang): Likewise.
	* argp/argp-pv.c (argp_program_version): Likewise.
	* argp/argp-pvh.c (argp_program_version_hook): Likewise.
	* inet/ether_hton.c (ether_hton, startp): Likewise.
	* inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
	* inet/getnetgrent_r.c (setup, startp): Likewise.
	* intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
	* intl/localealias.c (string_space, string_space_act, string_space_max,
	nmap, maxmap): Likewise.
	* libio/iopopen.c (proc_file_chain): Likewise.
	* libio/oldiopopen.c (old_proc_file_chain): Likewise.
	* locale/lc-collate.c (__collate_table, __collate_extra,
	__collate_element_hash, __collate_element_strings,
	__collate_element_values): Likewise.
	* malloc/mcheck.c (mcheck_used): Likewise.
	* malloc/mtrace.c (added_atexit_handler): Likewise.
	* malloc/set-freeres.c (already_called): Likewise.
	* misc/getpass.c (getpass) [buf, bufsize]: Likewise.
	* misc/syslog.c (LogStat, LogTag): Likewise.
	* nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
	* nss/getXXbyYY_r.c (startp): Likewise.
	* posix/getopt.c (optarg, __getopt_initialized): Likewise.
	* posix/regex.c (init_syntax_once) [done]: Likewise.
	(debug): Likewise.
	* string/strfry.c (init): Likewise.
	* sunrpc/svc_run.c (svc_top): Likewise.
	* posix/euidaccess.c (have_ids): Likewise.
	* sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
	* sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
	* time/getdate.c (getdate_err): Likewise.
	* time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
	Likewise.
	* time/tzset.c (old_tz, is_initialized): Likewise.

	* inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
	of static data with zero.
	* signal/allocrtsig.c (init): Likewise.

	* string/Makefile (routines): Add strchrnul.
	* string/Versions [GLIBC_2.1.1]: Add strchrnul.
	* string/string.c: Add strchrnul prototype.
	* include/string.h: Add __strchrnul prototype.
	* sysdeps/generic/strchrnul.c: New file.
	* sysdeps/i386/strchrnul.S: New file.
	* sysdeps/i386/bits/string.c: Add strchrnul optimization.
	* sysdeps/i386/i486/bits/string.c: Likewise.
	* argp/argp-help.c (argp_args_usage): Use __strchrnul.
	* inet/ether_line.c (ether_line): Likewise.
	* nscd/nscd_conf.c (nscd_parse_file): Likewise.
	* nss/nsswitch.c (nss_parse_file): Likewise.
	* posix/execvp.c (execvp): Likewise.
	* posix/fnmatch.c (internal_fnmatch): Likewise.
	* resolv/res_hconf.c (_res_hconv_init): Likewise.
	* resolv/res_init.c (res_init): Likewise.
	* stdlib/fmtmsg.c (init): Likewise.
	* stdlib/getsubopt.c (getsubopt): Likewise.

	* catgets/catgets.c (catopen): Only allocate one memory block.
	(catclose): Only one free call necessary.

	* catgets/open_catalog.c (__open_catalog): Simplify handling of
	file descriptor.

	* ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
	of real functions.  Simplify _tolower and _toupper.

	* grp/initgroups.c (compat_call): Remove unnecessary use of pointer
	variable.

	* iconv/gconv.h (struct gconv_info): Change data element from pointer
	to array of size 0.
	* iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
	* iconv/gconv_close.c (__gconv_close): Don't free data.

	* iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
	insert new alias.

	* iconv/gconv_db.c (add_derivation): More efficient copying.  Check
	for error while inserting in tree.

	* include/time.h: Pretty print.

	* inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
	in table and lots of relocations.
	* posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
	string pointers in table and lots of relocations.

	* intl/finddomain.c: Remove definition of strchr macro.

	* io/ftw.c (nftw_arr, ftw_arr): Make const.

	* locale/loadlocale.c (_nl_load_locale): Optimize string copying.

	* locale/localeinfo.h (_nl_category_names): Change into an array with
	fixed width char string elements.
	* locale/setlocale.c (_nl_category_names): Likewise.
	(_nl_current): Make global.
	* locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.

	* malloc/Makefile (distribute): Add stackinfo.h.
	* sysdeps/generic/stackinfo.h: New file.
	* sysdeps/i386/stackinfo.h: New file.
	* posix/execl.c: Use stackinfo.h in optimizing alloca use.
	* posix/execle.c: Likewise.
	* posix/execlp.c: Likewise.

	* nis/nis_table.c (__create_ib_request): Always use realloc.

	* posix/execvp.c (execute): Rename to script_execute and keep only
	code to execute using shell.
	(execvp): Call execv directly and only fall back on script_execute.

	* resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
	and always use xdigits instead.

	* resolv/res_init.c (res_init): Use rawmemchr instead of strchr
	where appropriate.

	* stdlib/fpioconst.h (__tens): New declaration.
	(struct mp_power): Remove array, add arrayoff element.
	* stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
	__tens array and add in _fpioconst_pow10 offsets into __tens.
	* stdio-common/printf_fp.c: Rewrite to use new __tens array.
	* stdlib/strtod.c: Likewise.

	* stdlib/a64l.c (a64l_table): Avoid unnecessary elements.

	* stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
	of the list.
	* stdlib/atexit.c (__exit_funcs): Don't initialize.

	* stdlib/fmtmsg.c (keywords): Make name element fixed width array.

	* sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
	a single and an array with offsets.

	* sunrpc/des_soft.c (partab): Make it const.

	* sunrpc/key_call.c (trytimeout, tottimeout): Make const.
	(__key_encryptsession_pk_LOCAL): Don't initialize with 0.
	(__key_decryptsession_pk_LOCAL): Likewise.
	(__key_gendes_LOCAL): Likewise.
	(MESSENGER): Mark const.
	(key_call_private_main): Don't initialize with 0.
	(use_keyenvoy): Don't initialize with 0.
	(key_call): Rewrite to reverse logic of use_doors variable.

	* sunrpc/netname.c (OPSYS): Define as array, not pointer.
	(startp): Don't initialize with zero.

	* sunrpc/openchild.c (_openchild): Make first argument const.

	* sunrpc/pmap_rmt.c (timeout): Mark const.
	* sunrpc/xcrypt.c (hex): Likewise.

	* sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
	initialization of global variables.
	* sysdeps/unix/sysv/linux/getpt.c: Likewise.
	* sysdeps/unix/sysv/linux/if_index.c: Likewise.
	* termios/tcgetsid.c: Likewise.

	* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
	fxsr to osfxsr.

	* time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
	block.  Add function to free memory if wanted.
	* time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.

	* wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.

	* wcsmbs/wmemset.c: Little code optimization.
1999-04-28 23:13:52 +00:00
aout Update. 1997-07-28 22:35:20 +00:00
argp Update. 1999-04-28 21:56:46 +00:00
assert Update. 1998-07-16 19:28:34 +00:00
bare update from main arhive 970119 1997-01-20 02:49:49 +00:00
bits Update. 1999-02-16 15:35:52 +00:00
catgets Update. 1999-04-28 21:56:46 +00:00
conf (NEED_INETADDR, NEED_INETATON): Define to 1, not empty. 1995-09-08 20:24:57 +00:00
csu Update. 1999-04-10 12:48:55 +00:00
ctype Update. 1999-04-28 21:56:46 +00:00
db 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> 1999-03-22 01:14:47 +00:00
db2 Update. 1999-02-16 15:35:52 +00:00
debug 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> 1999-03-20 17:07:46 +00:00
dirent Update. 1998-12-04 20:58:15 +00:00
elf Update. 1999-04-12 09:05:16 +00:00
gmon Update. 1998-08-09 17:39:48 +00:00
gnulib update from main arhive 970119 1997-01-20 02:49:49 +00:00
grp Update. 1999-04-28 21:56:46 +00:00
hesiod Update. 1998-07-02 22:51:40 +00:00
hurd 1999-04-27 Roland McGrath <roland@baalperazim.frob.com> 1999-04-28 11:09:53 +00:00
iconv Update. 1999-04-28 21:56:46 +00:00
iconvdata Update. 1999-04-17 09:34:27 +00:00
include Update. 1999-04-28 21:56:46 +00:00
inet Update. 1999-04-28 21:56:46 +00:00
intl Update. 1999-04-28 21:56:46 +00:00
io Update. 1999-04-28 21:56:46 +00:00
libio Update. 1999-04-28 21:56:46 +00:00
linuxthreads Update. 1999-04-28 21:58:40 +00:00
locale Update. 1999-04-28 23:13:52 +00:00
localedata Update. 1999-04-28 10:20:18 +00:00
login Update. 1999-03-31 18:09:54 +00:00
mach 1999-03-23 Roland McGrath <roland@baalperazim.frob.com> 1999-03-23 18:05:48 +00:00
malloc Update. 1999-04-28 23:13:52 +00:00
manual Update. 1999-04-26 14:02:38 +00:00
math (gmp-objs): Add inlines. 1999-03-26 01:29:54 +00:00
md5-crypt Update. 1998-07-02 22:51:40 +00:00
misc Update. 1999-04-28 23:13:52 +00:00
nis Update. 1999-04-28 23:13:52 +00:00
nscd Update. 1999-04-28 23:13:52 +00:00
nss Update. 1999-04-28 23:13:52 +00:00
po Update. 1999-02-09 09:50:05 +00:00
posix Update. 1999-04-28 23:13:52 +00:00
pwd Update. 1998-12-04 20:58:15 +00:00
resolv Update. 1999-04-28 23:13:52 +00:00
resource Update. 1998-08-09 17:39:48 +00:00
rpm Update. 1998-05-18 11:43:16 +00:00
rt 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> 1999-03-20 17:16:44 +00:00
scripts Sparc merge from Jakub. 1999-04-14 15:48:28 +00:00
setjmp Update. 1998-08-09 17:39:48 +00:00
shadow Update. 1998-08-09 17:39:48 +00:00
signal Update. 1999-04-28 23:13:52 +00:00
socket Update. 1999-04-18 16:37:49 +00:00
stdio 1998-12-06 Mark Kettenis <kettenis@phys.uva.nl> 1998-12-20 19:13:11 +00:00
stdio-common Update. 1999-04-28 23:13:52 +00:00
stdlib Update. 1999-04-28 23:13:52 +00:00
streams Update. 1998-07-02 22:51:40 +00:00
string Update. 1999-04-28 23:13:52 +00:00
sunrpc Update. 1999-04-28 23:13:52 +00:00
sysdeps Update. 1999-04-28 23:13:52 +00:00
sysvipc Update. 1998-12-13 14:52:55 +00:00
termios Update. 1999-04-28 23:13:52 +00:00
time Update. 1999-04-28 23:13:52 +00:00
timezone Update. 1999-04-17 09:39:56 +00:00
wcsmbs Update. 1999-04-28 23:13:52 +00:00
wctype Update. 1999-04-14 23:49:40 +00:00
.cvsignore Update. 1999-01-16 17:09:04 +00:00
abi-tags Update. 1998-09-21 14:34:13 +00:00
aclocal.m4 Update. 1998-11-20 17:27:07 +00:00
BUGS Update. 1999-04-20 08:54:33 +00:00
ChangeLog Update. 1999-04-28 23:13:52 +00:00
ChangeLog.1 * Makefile (distribute): Add ChangeLog.[0-9]. 1995-04-14 03:52:54 +00:00
ChangeLog.2 * Makefile (distribute): Add ChangeLog.[0-9]. 1995-04-14 03:52:54 +00:00
ChangeLog.3 * Makefile (distribute): Add ChangeLog.[0-9]. 1995-04-14 03:52:54 +00:00
ChangeLog.4 * Makefile (distribute): Add ChangeLog.[0-9]. 1995-04-14 03:52:54 +00:00
ChangeLog.5 Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com> 1996-07-20 12:06:21 +00:00
ChangeLog.6 Update. 1997-07-22 00:10:33 +00:00
ChangeLog.7 Update. 1997-11-18 02:50:07 +00:00
ChangeLog.8 Update. Old logs are in ChangeLog.7. 1998-08-11 18:44:11 +00:00
ChangeLog.9 Update. 1999-02-07 00:06:12 +00:00
config-name.in initial import 1995-02-18 01:27:10 +00:00
config.h.in Update. 1998-10-26 17:59:59 +00:00
config.make.in Update. 1998-11-05 12:26:43 +00:00
configure Regenerated: autoconf configure.in 1999-03-29 16:27:32 +00:00
configure.in Sparc string routines from Jakub. 1999-03-29 13:25:15 +00:00
CONFORMANCE Fix typo. 1999-01-24 11:09:07 +00:00
extra-lib.mk Update. 1998-11-10 19:11:20 +00:00
FAQ Update. 1999-04-10 11:51:27 +00:00
FAQ.in Update. 1999-04-28 10:20:18 +00:00
glibcbug.in Update. 1998-05-29 10:21:16 +00:00
INSTALL Update. 1999-03-15 20:41:16 +00:00
INTERFACE Update. 1999-01-19 12:54:50 +00:00
Make-dist Update. 1999-01-14 13:27:00 +00:00
Makeconfig 1999-03-24 Roland McGrath <roland@baalperazim.frob.com> 1999-03-24 12:35:28 +00:00
Makefile Update. 1999-02-08 12:14:21 +00:00
Makefile.in Update. 1998-02-26 16:30:54 +00:00
Makerules Updated. 1999-03-26 18:28:17 +00:00
MakeTAGS Update. 1998-05-12 12:22:17 +00:00
NEWS Update. 1999-04-12 23:00:37 +00:00
NOTES Update. 1997-10-12 04:05:44 +00:00
o-iterator.mk Fri Mar 17 12:58:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-17 18:42:51 +00:00
PROJECTS Update. 1998-12-05 09:18:32 +00:00
README Update. 1999-03-10 16:08:03 +00:00
README-alpha Update. 1998-05-05 20:21:09 +00:00
README.libm update from main archive 961105 1996-11-06 04:24:40 +00:00
README.template Update. 1999-02-07 00:06:12 +00:00
Rules Update. 1999-01-18 09:38:36 +00:00
shlib-versions Sparc merge from Jakub. 1999-04-14 15:48:28 +00:00
test-skeleton.c Update. 1998-04-14 16:51:08 +00:00
version.h Update. 1999-03-09 20:55:57 +00:00
Versions.def Update. 1999-04-15 13:54:57 +00:00

This directory contains the version 2.1.1 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 is known to run on the following
configurations:

		*-*-gnu			GNU Hurd
		i[3456]86-*-linux-gnu	Linux-2.x on Intel
		m68k-*-linux-gnu	Linux-2.x on Motorola 680x0
		alpha-*-linux-gnu	Linux-2.x on DEC Alpha
		powerpc-*-linux-gnu     Linux and MkLinux on PowerPC systems
		sparc-*-linux-gnu	Linux-2.x on SPARC
		sparc64-*-linux-gnu	Linux-2.x on UltraSPARC
		arm-*-none		ARM standalone systems
		arm-*-linux		Linux-2.x on ARM
		arm-*-linuxaout		Linux-2.x on ARM using a.out binaries


Former releases of this library (version 1.09.1 and perhaps earlier
versions) used to run on the following configurations:

		alpha-dec-osf1
		i[3456]86-*-bsd4.3
		i[3456]86-*-isc2.2
		i[3456]86-*-isc3
		i[3456]86-*-sco3.2
		i[3456]86-*-sco3.2v4
		i[3456]86-*-sysv
		i[3456]86-*-sysv4
		i[3456]86-force_cpu386-none
		i[3456]86-sequent-bsd
		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

Since no one has volunteered to test and fix the above configurations,
these are not supported at the moment.  It's expected that these don't
work anymore.  Porting the library is not hard.  If you are interested
in doing a port, please contact the glibc maintainers by sending
electronic mail to <bug-glibc@gnu.org>.

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-crypt-2.1.1.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.funet.fi [128.214.248.6] in the directory pub/gnu/funet, 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.funet.fi; transferring this distribution
from ftp.gnu.org (or any other site in the USA) to a site outside the
USA is in violation of US export laws.

Beside the separate crypt tar file there are some more add-ons which can be
used together with GNU libc.  They are designed in a way to ease the
installation by integrating them in the libc source tree.  Simply get the
add-ons you need and use the --enable-add-ons option of the `configure'
script to tell where the add-ons are found.  Please read the FAQ file for
more details.

See the file INSTALL to find out how to configure, build, install, and port
the GNU C library.  You might also consider reading the WWW pages for the
GNU libc at http://www.gnu.org/software/libc/libc.html.

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@gnu.org>, 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.

We prefer to get bug reports sent using the `glibcbug' shell script which
is installed together with the rest of the GNU libc to <bugs@gnu.org>.
Simply run this shell script and fill in the information.  Nevertheless
you can still send bug reports to <bug-glibc@gnu.org> as normal electronic
mails.

The GNU C Library is free software.  See the file COPYING.LIB for copying
conditions.