Go to file
Ulrich Drepper d64b6ad075 Update.
* Versions.def: Add GLIBC_2.2 for libc.

	* iconv/gconv.h: Make header suitable for inclusion in public header
	by protecting all names with __.
	* iconv/gconv.c: Adapt for symbol name changes.
	* iconv/gconv.h: Likewise.
	* iconv/gconv_builtin.c: Likewise.
	* iconv/gconv_close.c: Likewise.
	* iconv/gconv_db.c: Likewise.
	* iconv/gconv_dl.c: Likewise.
	* iconv/gconv_int.h: Likewise.
	* iconv/gconv_open.c: Likewise.
	* iconv/gconv_simple.c: Likewise.
	* iconv/iconv.c: Likewise.
	* iconv/iconv_close.c: Likewise.
	* iconv/iconv_open.c: Likewise.
	* iconv/loop.c: Likewise.
	* iconv/skeleton.c: Likewise.
	* iconvdata/8bit-gap.c: Likewise.
	* iconvdata/8bit-generic.c: Likewise.
	* iconvdata/ansi_x3.110.c: Likewise.
	* iconvdata/big5.c: Likewise.
	* iconvdata/cns11643.h: Likewise.
	* iconvdata/cns11643l1.h: Likewise.
	* iconvdata/euc-cn.c: Likewise.
	* iconvdata/euc-jp.c: Likewise.
	* iconvdata/euc-kr.c: Likewise.
	* iconvdata/euc-tw.c: Likewise.
	* iconvdata/gb2312.h: Likewise.
	* iconvdata/iso-2022-jp.c: Likewise.
	* iconvdata/iso-2022-kr.c: Likewise.
	* iconvdata/iso646.c: Likewise.
	* iconvdata/iso8859-1.c: Likewise.
	* iconvdata/iso_6937-2.c: Likewise.
	* iconvdata/iso_6937.c: Likewise.
	* iconvdata/jis0201.h: Likewise.
	* iconvdata/jis0208.h: Likewise.
	* iconvdata/jis0212.h: Likewise.
	* iconvdata/johab.c: Likewise.
	* iconvdata/ksc5601.h: Likewise.
	* iconvdata/sjis.c: Likewise.
	* iconvdata/t.61.c: Likewise.
	* iconvdata/uhc.c: Likewise.
	* stdlib/mblen.c: Likewise.
	* stdlib/mbtowc.c: Likewise.
	* stdlib/wctomb.c: Likewise.
	* wcsmbs/btowc.c: Likewise.
	* wcsmbs/mbrtowc.c: Likewise.
	* wcsmbs/mbsnrtowcs.c: Likewise.
	* wcsmbs/mbsrtowcs.c: Likewise.
	* wcsmbs/wchar.h: Likewise.
	* wcsmbs/wcrtomb.c: Likewise.
	* wcsmbs/wcsmbsload.c: Likewise.
	* wcsmbs/wcsmbsload.h: Likewise.
	* wcsmbs/wcsnrtombs.c: Likewise.
	* wcsmbs/wcsrtombs.c: Likewise.
	* wcsmbs/wctob.c: Likewise.

	* include/limits.h (MB_LEN_MAX): Increase to 16.

	* sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
	_G_iconv_t.
	* sysdeps/unix/sysv/linux/_G_config.h: Likewise.
	* include/wchar.h: Change mbstate_t to __mbstate_t.

	* libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
	oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
	getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
	iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
	putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
	vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
	and iofwide.
	(tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
	* libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
	_IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
	fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
	fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
	getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
	putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
	vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
	GLIBC_2.2 for libc.
	* libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
	Extend _IO_file contain pointer to codecvt, widedata and mode.
	(_IO_getwc_unlocked): New macro.
	(_IO_putwc_unlocked): New macro.
	(_IO_fwide): New macro.
	* libio/libioP.h: Add new prototypes and adjust existing declarations.
	* libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
	buffers based on mode.
	(new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
	oriented.
	(_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
	flag to be enough to signal unallocated buffer.  For wide oriented
	stream don't make it linebuffered.  Don't use _IO_do_flush, use
	_IO_new_do_write directly.
	(_IO_new_file_seekoff): Change return value type to _IO_off64_t.
	(_IO_file_seek): Likewise.
	* libio/genops.c (_IO_least_marker): Make global.
	(__underflow): Orient stream if not already done.
	(__uflow): Likewise.
	(_IO_default_seekpos): Change to type _IO_off64_t.
	(_IO_default_seekoff): Likewise.
	(_IO_default_seek): Likewise.
	(_IO_no_init): New function.  Similar to _IO_init but allows to orient
	in initialization.
	* libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
	to use _IO_off64_t.
	* libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
	char stream.
	* libio/ftello64.c: Likewise.
	* libio/ioftell.c: Likewise.
	* libio/iofopncook.c: Likewise.
	* libio/ioseekoff.c: Likewise.
	* libio/ioseekpos.c: Likewise.
	* libio/oldfileops.c: Likewise.
	* libio/iofgetpos.c: Store state of conversion if necessary.
	* libio/iofgetpos64.c: Likewise.
	* libio/iofsetpos.c: Restore conversion state if necessary.
	* libio/iofsetpos64.c: Likewise.
	* libio/iofdopen.c: Initialize so that stream can be wide oriented.
	* libio/iofopen.c: Likewise.
	* libio/iofopen64.c: Likewise.
	* libio/iopopen.c: Likewise.
	* libio/iovdprintf.c: Likewise.
	* libio/iovsprintf.c: Likewise.
	* libio/iovsscanf.c: Likewise.
	* libio/memstream.c: Likewise.
	* libio/obprintf.c: Likewise.
	* libio/iofputs.c: Orient stream if not already happened.
	* libio/iofputs_u.c: Likewise.
	* libio/iofwrite.c: Likewise.
	* libio/iofwrite_u.c: Likewise.
	* libio/ioputs.c: Likewise.
	* libio/iosetbuffer.c: Handle not yet oriented stream.
	* libio/iosetvbuf.c: Likewise.
	* libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
	* libio/stdfiles.c: Likewise.
	* libio/strops.c (_IO_str_overflow): Correctly free buffer after
	failed allocation.
	(_IO_str_seekoff): Use _IO_off64_t.
	* libio/vasprintf.c: Pre-orient stream.
	* libio/vsnprintf.c: Likewise.
	* libio/fputwc.c: New file.
	* libio/fputwc_u.c: New file.
	* libio/fwprintf.c: New file.
	* libio/fwscanf.c: New file.
	* libio/getwc.c: New file.
	* libio/getwc_u.c: New file.
	* libio/getwchar.c: New file.
	* libio/getwchar_u.c: New file.
	* libio/iofgetws.c: New file.
	* libio/iofgetws_u.c: New file.
	* libio/iofputws.c: New file.
	* libio/iofputws_u.c: New file.
	* libio/iofwide.c: New file.
	* libio/iogetwline.c: New file.
	* libio/ioungetwc.c: New file.
	* libio/iovswscanf.c: New file.
	* libio/iowpadn.c: New file.
	* libio/oldiofgetpos.c: New file.
	* libio/oldiofgetpos64.c: New file.
	* libio/oldiofsetpos.c: New file.
	* libio/oldiofsetpos64.c: New file.
	* libio/putwc.c: New file.
	* libio/putwc_u.c: New file.
	* libio/putwchar.c: New file.
	* libio/putwchar_u.c: New file.
	* libio/swprintf.c: New file.
	* libio/swscanf.c: New file.
	* libio/tst_swprintf.c: New file.
	* libio/tst_swscanf.c: New file.
	* libio/tst_wprintf.c: New file.
	* libio/tst_wscanf.c: New file.
	* libio/tst_wscanf.input: New file.
	* libio/vswprintf.c: New file.
	* libio/vwprintf.c: New file.
	* libio/vwscanf.c: New file.
	* libio/wfiledoalloc.c: New file.
	* libio/wfileops.c: New file.
	* libio/wgenops.c: New file.
	* libio/wprintf.c: New file.
	* libio/wscanf.c: New file.
	* libio/wstrops.c: New file.
	* stdio-common/Makefile (routines): Add _itowa, itowa-digits,
	vfwprintf, and vfwscanf.
	* stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
	make global.
	* stdio-common/_itowa.c: New file.
	* stdio-common/_itowa.h: New file.
	* stdio-common/itoa-digits.c: Minimal optimization.
	* stdio-common/itowa-digits.c: New file.
	* stdio-common/printf-parse.h: Allow use in wide character context.
	* stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
	* stdio-common/printf.h (printf_info): Add wide bit.
	* stdio-common/printf_fp.c: Determine from wide bit whether stream
	is wide oriented or not.
	* stdio-common/printf_size.c: Likewise.
	* sysdeps/generic/printf_fphex.c: Likewise.
	* stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
	* stdio-common/vfprintf.c: Rewrite to allow use in wide character
	context.
	* stdio-common/vfscand.c: Likewise.
	* stdio-common/vfwprintf.c: New file.
	* stdio-common/vfwscanf.c: New file.

	* time/Makefile (routines): Add wcsftime.
	(tests): Add tst_wcsftime.
	* time/Versions: Add wcsftime to GLIBC_2.2 for libc.
	* time/strftime.c: Make usable as wcsftime.
	* time/wcsftime.c: New file.
	* time/tst_wcsftime.c: New file.

	* wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
	* wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
	* wcsmbs/wcschrnul.c: New file.
	* wcsmbs/wmemcpy.c: New file.
	* wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
	* wcsmbs/wmemmove.c: Likewise for wmemmove.

	* manual/stdio.texi: Document is_char and wide element if printf_info.

	* manual/time.texi: Document wcsftime.

	* include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
	__wmemmove, __wcschrnul, and __vfwscanf.

	* locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
	* locale/C-time.c: Adapt for above change.
	* locale/categories.def: Likewise.
	* locale/localeinfo.h: Likewise.
	* localedata/Makefile: Don't run tests for now.
1999-06-16 22:55:47 +00:00
aout Update. 1997-07-28 22:35:20 +00:00
argp Update. 1999-05-18 08:37:39 +00:00
assert Update. 1999-05-18 08:37:39 +00:00
bare update from main arhive 970119 1997-01-20 02:49:49 +00:00
bits Update. 1999-05-23 10:13:49 +00:00
catgets Update. 1999-05-02 11:05:14 +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 (__tobody): Fix typo. 1999-06-08 07:22:36 +00:00
db 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> 1999-03-22 01:14:47 +00:00
db2 Update. 1999-06-16 14:31:04 +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-06-07 15:57:26 +00:00
gmon Update. 1999-06-08 21:20:07 +00:00
gnulib update from main arhive 970119 1997-01-20 02:49:49 +00:00
grp Update. 1999-06-09 12:01:54 +00:00
hesiod Change _nss_hesiod_getpwuid and _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and _nss_hesiod_getgrgid_r respectively. 1999-05-10 13:34:35 +00:00
hurd 1999-06-13 Roland McGrath <roland@baalperazim.frob.com> 1999-06-13 13:57:29 +00:00
iconv Update. 1999-06-16 22:55:47 +00:00
iconvdata Update. 1999-06-16 22:55:47 +00:00
include Update. 1999-06-16 22:55:47 +00:00
inet Update. 1999-06-11 21:28:05 +00:00
intl Update. 1999-04-28 21:56:46 +00:00
io Update. 1999-06-08 21:20:07 +00:00
libio Update. 1999-06-16 22:55:47 +00:00
linuxthreads Update. 1999-05-23 10:13:49 +00:00
locale Update. 1999-06-16 22:55:47 +00:00
localedata Update. 1999-06-16 22:55:47 +00:00
login Update. 1999-06-08 21:20:07 +00:00
mach 1999-03-23 Roland McGrath <roland@baalperazim.frob.com> 1999-03-23 18:05:48 +00:00
malloc Update. 1999-06-06 12:58:19 +00:00
manual Update. 1999-06-16 22:55:47 +00:00
math Change more deltas. 1999-06-14 09:23:33 +00:00
md5-crypt Update. 1998-07-02 22:51:40 +00:00
misc Update. 1999-06-09 13:08:30 +00:00
nis Update. 1999-05-18 13:04:17 +00:00
nscd Update. 1999-06-15 11:54:33 +00:00
nss Update. 1999-05-14 21:30:22 +00:00
po Update. 1999-02-09 09:50:05 +00:00
posix Update. 1999-06-15 18:26:38 +00:00
pwd Update. 1999-06-10 00:22:29 +00:00
resolv (getanswer_r): Correctly track usage of user-provided buffer. 1999-06-11 19:46:54 +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 Update. 1999-06-03 21:55:09 +00:00
setjmp Update. 1998-08-09 17:39:48 +00:00
shadow Update. 1999-06-10 00:22:29 +00:00
signal Update. 1999-04-28 23:13:52 +00:00
socket 1999-05-16 Roland McGrath <roland@baalperazim.frob.com> 1999-05-16 08:52:16 +00:00
stdio 1998-12-06 Mark Kettenis <kettenis@phys.uva.nl> 1998-12-20 19:13:11 +00:00
stdio-common Update. 1999-06-16 22:55:47 +00:00
stdlib Update. 1999-06-16 22:55:47 +00:00
streams Update. 1998-07-02 22:51:40 +00:00
string Update. 1999-05-17 17:25:32 +00:00
sunrpc Update. 1999-05-16 10:14:25 +00:00
sysdeps Update. 1999-06-16 22:55:47 +00:00
sysvipc Update. 1998-12-13 14:52:55 +00:00
termios Update. 1999-06-08 21:20:07 +00:00
time Update. 1999-06-16 22:55:47 +00:00
timezone Update. 1999-05-05 11:32:24 +00:00
wcsmbs Update. 1999-06-16 22:55:47 +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. 1999-05-29 22:56:42 +00:00
BUGS Update. 1999-04-20 08:54:33 +00:00
ChangeLog Update. 1999-06-16 22:55:47 +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. 1999-05-26 23:37:38 +00:00
config.make.in Update. 1999-05-19 15:35:26 +00:00
configure Update. 1999-06-08 07:21:59 +00:00
configure.in Update. 1999-06-03 23:30:32 +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-06-06 12:58:19 +00:00
FAQ.in Update. 1999-06-06 09:23:32 +00:00
glibcbug.in Update. 1999-05-13 10:22:54 +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-06-15 21:59:43 +00:00
Makeconfig * Makeconfig (static-start-installed-name): Set to 1999-06-13 10:03:11 +00:00
Makefile Update. 1999-02-08 12:14:21 +00:00
Makefile.in Update. 1998-02-26 16:30:54 +00:00
Makerules Update. 1999-06-03 12:43:32 +00:00
MakeTAGS Update. 1999-06-15 21:59:43 +00:00
NEWS Update. 1999-06-13 15:38:11 +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. 1999-05-13 10:22:54 +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 Update. 1999-05-19 15:35:26 +00:00
test-skeleton.c Update. 1998-04-14 16:51:08 +00:00
version.h Update. 1999-05-25 14:31:24 +00:00
Versions.def Update. 1999-06-16 22:55:47 +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.