Commit Graph

4261 Commits

Author SHA1 Message Date
Ulrich Drepper b4f95b74f7 Update.
2000-08-30  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/Makefile (tests): Add tst-loading.
	* iconvdata/tst-loading.c: New file.
2000-08-30 22:40:09 +00:00
Ulrich Drepper 44f8759bc5 Update.
2000-08-29  Bruno Haible  <haible@clisp.cons.org>

	* stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
	When comparing a char with an int, always cast the char to
	'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
	compiling with -funsigned-char.	Use UCHAR_MAX+1 instead of UCHAR_MAX.
2000-08-30 20:06:01 +00:00
Ulrich Drepper e668889af2 Update.
* time/strftime.c (my_strftime): Add compatibility code for use
	outside glibc.  Patch by Jim Meyering <meyering@ascend.com>.
2000-08-30 18:31:38 +00:00
Ulrich Drepper db7dc81100 Update.
* sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
	return 0 for success but always < 0 on failure.
2000-08-30 18:28:16 +00:00
Ulrich Drepper 3dc4a54419 Update.
2000-08-30  Ulrich Drepper  <drepper@redhat.com>

	* nss/getXXbyYY_r.c: Define result to *result before including
	digits_dots.c.
2000-08-30 18:20:14 +00:00
Andreas Jaeger f6bb547a6a Update.
2000-08-30  Andreas Jaeger  <aj@suse.de>

	* math/gen-libm-test.pl (parse_ulps): Remove extra \.
2000-08-30 16:32:44 +00:00
Ulrich Drepper 47cae281a4 Update.
* iconvdata/big5hkscs.c: Rewritten.  Regenerate data from the
	official file.
	* iconvdata/TESTS: Add BIG5HKSCS entry.
	* iconvdata/testdata/BIG5HKSCS: New file.
	* iconvdata/testdata/BIG5HKSCS..UTF8: New file.

	* iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
	always true.
2000-08-30 07:38:10 +00:00
Ulrich Drepper 076bfcf612 Update.
2000-08-29  Ulrich Drepper  <drepper@redhat.com>

	* libio/iogetline.c: Set mode before the loop in case n==0.
	* libio/iogetwline.c: Likewise.

2000-08-29  H.J. Lu  <hjl@gnu.org>

	* libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
	of fp->_mode < 0.
	(_IO_new_file_overflow): Likewise.
	* libio/genops.c (_IO_flush_all): Likewise.
	* libio/ioftell.c (_IO_ftell): Likewise.
2000-08-29 22:41:42 +00:00
Ulrich Drepper c7c3b0e907 Update.
2000-08-29  Akira Higuchi  <a@kondara.org>

	* iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
	and __end_fct fields of struct __gconv_step.
	* iconv/Makefile (tests): Add iconv-bug2.
	* iconv/iconv-bug2.c: New file.

	* iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
	instead of 'inptr - inend' to ksc5601_to_ucs4.

	* iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.

	* iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
	character or shift sequence is found at the end of the input
	string, return__GCONV_INCOMPLETE_INPUT instead of
	__GCONV_EMPTY_INPUT.
	* iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
	* iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.

	* iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
	__GCONV_ILLEGAL_INPUT for 8bit characters.
2000-08-29 21:14:05 +00:00
Ulrich Drepper 4dadd40cc7 Update.
* signal/signal.h (sigpause): Move __THROW before __asm__.
2000-08-29 20:17:40 +00:00
Ulrich Drepper 30f1226b0b Update.
2000-08-29  Ulrich Drepper  <drepper@redhat.com>

	* inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
	names don't match don't return.
	Patch by Olaf Kirch <okir@flash.lst.de>.
2000-08-29 18:12:01 +00:00
Ulrich Drepper 1a6c971d00 Update.
2000-08-28  Ulrich Drepper  <drepper@redhat.com>

	* time/strftime.c (my_strftime): Handle # flag for %b as well.
2000-08-29 04:18:58 +00:00
Ulrich Drepper 8f3f1e09bf Update.
2000-08-27  H.J. Lu  <hjl@gnu.org>

	* posix/Makefile (otherlibs): Add for building with static-nss
	for "make check".

	* malloc/Makefile (tests): Likewise.
2000-08-29 03:44:11 +00:00
Ulrich Drepper 46e4bd3b8e Update.
* libio/stdio.h: Add fmemopen prototype.

2000-08-25  Andreas Jaeger  <aj@suse.de>

	* libio/Makefile (routines): Add fmemopen.
	(tests): Add test-fmemopen.
	* libio/Versions: Add fmemopen with version GLIBC_2.2.
	* libio/test-fmemopen.c: New file.
	* libio/fmemopen.c: New file.
	Patches by Hanno Mueller <kontakt@hanno.de>.

2000-08-28  Ulrich Drepper  <drepper@redhat.com>
2000-08-29 02:54:55 +00:00
Ulrich Drepper 07d94f9045 Update.
* sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
	inclusion.  Patch by Jes Sorensen <jes@linuxcare.com>.
2000-08-29 02:37:20 +00:00
Ulrich Drepper 4370efec00 Update.
2000-08-28  Ulrich Drepper  <drepper@redhat.com>

	* locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
	to avoid crashing statically linked applications.
2000-08-29 01:22:46 +00:00
Ulrich Drepper 04ea3b0fbb Update.
2000-08-27  Bruno Haible  <haible@clisp.cons.org>

	* string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
	If nrules == 0 and srclen < n, copy only srclen + 1 characters.

	* sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
	If the result is fits in the buffer, copy only as many bytes as needed.

	* sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
	buffer after copying numbuf into it.
	* sysdeps/mach/_strerror.c (__strerror_r): Likewise.

2000-08-27  Bruno Haible  <haible@clisp.cons.org>

	* posix/confstr.c (confstr): When string_len > len, NUL-terminate
	the result.  When string_len < len, don't clear the rest of the buffer.

2000-08-27  Bruno Haible  <haible@clisp.cons.org>

	Support for new LC_COLLATE format.
	* locale/coll-lookup.h: New file.
	* locale/weightwc.h (findidx): When size == 0, call
	collidx_table_lookup.
	* wcsmbs/wcscoll.c: Include coll-lookup.h.
	* wcsmbs/wcsxfrm.c: Likewise.
	* posix/fnmatch.c: Likewise.
	* posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
	collseq_table_lookup.
	* locale/programs/3level.h: New file.
	* locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
	by including "3level.h".
	* locale/programs/ld-collate.c (wchead_table, collidx_table,
	collseq_table): New types, defined by including "3level.h".
	(locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
	(encoding_mask, encoding_byte): Remove.
	(utf8_encode): Use simple shifts instead.
	(collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
	to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
	(collate_output): New local variable tablewc_3level. When
	!oldstyle_tables, set table_size to 0 and names to NULL and fill
	tablewc_3level instead of tablewc. Change format of TABLEWC and
	COLLSEQWC entries written to the file.
	* locale/C-collate.c (collseqwc): Change format.
	(_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
	of COLLSEQWC.
	* locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.

2000-08-27  Bruno Haible  <haible@clisp.cons.org>

	* locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
	(locale_ctype_t): New charnames_idx field.
	(ctype_startup): Initialize charnames_idx field.
	(find_idx): Speed up dramatically by using charnames_idx inverse table.

2000-08-27  Bruno Haible  <haible@clisp.cons.org>

	* locale/C-ctype.c: Switch to new locale format.
	(_nl_C_LC_CTYPE_names): Remove array.
	(STRUCT_CTYPE_CLASS): New macro.
	(_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
	graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
	New three-level tables.
	(_nl_C_LC_CTYPE_width): Change from array to three-level table.
	(_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
	to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
	12 class tables and 2 map tables at the end.
	* ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
	(_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
	graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
	New declarations.
	(b): Remove trailing semicolon.
	(__ctype_names, __ctype_width): Don't initialize.
	(__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.

2000-08-27  Bruno Haible  <haible@clisp.cons.org>

	* elf/dl-load.c (open_path): Add a argument telling whether *dirsp
	is guaranteed to be allocated with the same malloc() and may be
	passed to free().
	(_dl_map_object): Update open_path calls. If rtld_search_dirs has
	been set to empty by an earlier open_path call, don't pass it again.
2000-08-29 01:20:23 +00:00
Ulrich Drepper 50fd913bec Update.
* include/libintl.h: Include <locale.h> since libintl.h doesn't if
	we are not optimizing.
2000-08-28 23:52:21 +00:00
Ulrich Drepper 924102e7a6 Update.
* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
	inclusion.
2000-08-28 23:36:01 +00:00
Ulrich Drepper 102f064220 Update.
2000-08-28  Ulrich Drepper  <drepper@redhat.com>

	* stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
	really match EOF.
	Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2000-08-28 22:31:02 +00:00
Andreas Jaeger 1e0448d42a Update.
2000-08-28  Andreas Jaeger  <aj@suse.de>

	* sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
2000-08-28 15:24:13 +00:00
Mark Kettenis b222360c50 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from getpeername. Use ISO C style function definition. (getpeername): Provide weak alias. * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from setrlimit. Use ISO C style function definition. (setrlimit): Provide weak alias.
2000-08-28  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
	getpeername.  Use ISO C style function definition.
	(getpeername): Provide weak alias.
	* sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
	setrlimit.  Use ISO C style function definition.
	(setrlimit): Provide weak alias.
2000-08-28 14:05:55 +00:00
Andreas Jaeger ba55e591e7 Update.
2000-08-28  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* shlib-versions: Add a rule for S/390 to the libm version list.
	* sysdeps/s390/Versions: New file.
	* sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
	* sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
	* sysdeps/unix/sysv/linux/s390/Versions: New file.
	* sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
	* sysdeps/unix/sysv/linux/s390/chown.c: New file.
	* sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
	* sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
	* sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
	* sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
	* sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
	* sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
	* sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
	* sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
	* sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
	* sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
	* sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
	* sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
	* sysdeps/unix/sysv/linux/s390/xstat.c: New file.
2000-08-28 11:17:03 +00:00
Ulrich Drepper 67c28b1228 Update.
* sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
	(CFLAGS-initfini.s): Add -DWEAK_GMON_START.
2000-08-28 08:39:15 +00:00
Ulrich Drepper b35e21f43f Update.
* elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
	* elf/dl-close.c (_dl_close): Print debug message if object is not
	unloaded.
	* elf/dl-open.c (dl_open_worked): Print message about opencount before
	returning to caller.
2000-08-28 08:32:23 +00:00
Ulrich Drepper b9672e718e Update.
2000-08-28  Ulrich Drepper  <drepper@redhat.com>

	* po/zh.po: Renamed to...
	* po/zh_TW.po: ...this.
2000-08-28 08:00:42 +00:00
Geoff Keating 5a3641520e * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
* sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
2000-08-28 06:20:43 +00:00
Geoff Keating e4df97b85c * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
* sysdeps/powerpc/fpu/feenablxcpt.c: New file. 
* sysdeps/powerpc/fpu/fegetexcept.c: New file. 
* sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
2000-08-27  Geoff Keating  <geoffk@cygnus.com>

	* sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
	* sysdeps/powerpc/fpu/feenablxcpt.c: New file.
	* sysdeps/powerpc/fpu/fegetexcept.c: New file.
	* sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
2000-08-28 05:59:48 +00:00
Ulrich Drepper 3d4ac1ec92 Update.
* locale/programs/ld-collate.c (insert_weights): Also update
	backpointer of next element.
	(collate_read): Allow definition of new collation symbols in stage 2.
	Symbol after reorder-after can be UCS4 value.
	Allow reordering of collation symbols and elements.
	Do not only move reorder entry in new position.  Instead call
	insert_weight to do this and read the weights.
2000-08-28 03:51:40 +00:00
Ulrich Drepper 6adc15f574 Update.
* locale/findlocale.c (free_mem): Add cast to avoid warning.
2000-08-27 19:05:19 +00:00
Ulrich Drepper 4944d5d63f Update.
* intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
	to determine invalid locale name.
	* locale/findlocale.c (_nl_find_locale): Likewise.
2000-08-27 18:45:00 +00:00
Ulrich Drepper b4f48b41b4 Update.
* posix/annexc.c: Correct test for unavailable feature.
2000-08-27 18:28:09 +00:00
Ulrich Drepper 48bde9c35c Update.
2000-08-27  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
	__inline.
2000-08-27 16:54:09 +00:00
Ulrich Drepper 6a72ae2124 Update.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
	syscall.
2000-08-27 03:28:06 +00:00
Ulrich Drepper d4cfddf947 Update.
* sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
	(sysdep_routines): Add oldgetrlimit64.
2000-08-27 01:02:34 +00:00
Ulrich Drepper 2b7238dda8 Update.
2000-08-26  Ulrich Drepper  <drepper@redhat.com>

	* elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
	reldepmod2.c, reldepmod3.c, and reldepmod4.c.
	(tests): Add unload, reldep, reldep2, and reldep3.
	(modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
	and reldepmod4.
	Add rules to build and run unload, reldep, reldep2, and reldep3.
	* elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
	Don't create relocation dependency if it is nonzero.
	(_dl_lookup_symbol_skip): Remove relocation dependency stuff.  This
	can never happen here.
	(_dl_lookup_versioned_symbol): Add new parameter explicit.
	Don't create relocation dependency if it is nonzero.
	(_dl_lookup_versioned_symbol_skip): Remove relocation dependency
	stuff.  This can never happen here.
	* sysdeps/generic/ldsodefs.h: Change prototypes.
	* elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
	_dl_lookup_up and _dl_lookup_versioned_symbol.
	(RESOLV): Likewise.
	* elf/dl-runtime.c (fixup): Likewise.
	(profile_fixup): Likewise.
	* elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
	_dl_lookup_symbol.
	* elf/dl-symbol.c (_dl_symbol_value): Likewise.
	* elf/rtld.c (dl_main): Likewise.
	* elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
	_dl_lookup_symbol if handle is not RTLD_DEFAULT.  Always compute
	and pass down the caller map.
	(_dl_vsym): Likewise.
	* elf/reldep.c: New file.
	* elf/reldep2.c: New file.
	* elf/reldep3.c: New file.
	* elf/reldepmod1.c: New file.
	* elf/reldepmod2.c: New file.
	* elf/reldepmod3.c: New file.
	* elf/reldepmod4.c: New file.
	* elf/unload.c: New file.
	* elf/unloadmod.c: New file.

	* elf/do-lookup.h: Remove unused undef_name parameter.
	* elf/dl-lookup.c: Adjust callers.
2000-08-26 23:41:19 +00:00
Ulrich Drepper 36466e64f0 Update.
2000-08-25  Ulrich Drepper  <drepper@redhat.com>

	* iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
	irreversible in recursive call of conversion function to signal that
	no error handling is wanted.
	* iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
	(STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
	* iconv/skeleton.c (lirreversiblep): New variable.  Set to NULL is
	recursive error handling call, otherwise to &lirreversible.  Use it
	for calls to conversion functions.
	* iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
	transliterating.
	(ucs4_internal_loop_unaligned): Likewise.
	(ucs4le_internal_loop): Likewise.
	(ucs4le_internal_loop_unaligned): Likewise.
2000-08-25 22:25:03 +00:00
Greg McGary c7f524b8af Update.
2000-08-25  Greg McGary  <greg@mcgary.org>

	* sysdeps/i386/memchr.S: Check high bound against chars
	actually scanned.
	* sysdeps/i386/memcmp.S: Likewise.
	* sysdeps/i386/stpncpy.S: Adjust high-bound check to
	account for pointers that lie one beyond end-of-buffer.
2000-08-25 21:10:42 +00:00
Ulrich Drepper ad7534c8f0 Update.
2000-08-25  Ulrich Drepper  <drepper@redhat.com>

	* elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
	* elf/nodelete.c (fini_ran): New global variable.
	(do_test): Before every dlclose call clear fini_ran and test
	afterwards that it is not set by the destructors.
	* elf/nodelmod1.c: Add destructor which sets fini_ran.
	* elf/nodelmod2.c: Likewise.
	* elf/nodelmod4.c: Likewise.
2000-08-25 19:33:19 +00:00
Ulrich Drepper bb8d0fd5b1 Update.
2000-08-21  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
	getrlimit to the list.

2000-08-18  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
	long double format so use ldbl-96 instead of ldbl-128.
2000-08-25 19:02:14 +00:00
Ulrich Drepper b0af120fd0 Update.
* sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
	even if bits 10 a 11 are non-zero.
	* sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
2000-08-25 18:23:57 +00:00
Ulrich Drepper 1bc777b883 Update.
* Makeconfig: Ensures the soversions.mk part of Makefile gets
	included before building gnu/lib-names.h
	Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2000-08-25 18:07:41 +00:00
Ulrich Drepper 7045878b04 Update.
* elf/dl-close.c (_dl_close): Don't run destructors of objects
	marked DF_1_NODELETE.
2000-08-25 16:48:42 +00:00
Ulrich Drepper b7fb789d88 Update.
2000-08-25  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/system.c (__libc_system): We cannot use vfork here
	since we call sigaction in the child.
2000-08-25 16:37:20 +00:00
Andreas Jaeger 700f371b21 Update.
* iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
	gconv-modules.

2000-08-25  Andreas Jaeger  <aj@suse.de>
2000-08-25 12:48:58 +00:00
Andreas Jaeger 7a7a7ee5f1 Update.
2000-08-25  Andreas Jaeger  <aj@suse.de>

	* manual/arith.texi (Control Functions): Clarify possible
	arguments.  Closes PR libc/1856.
2000-08-25 11:40:02 +00:00
Andreas Jaeger 2085b8d19b Update.
2000-08-24  H.J. Lu  <hjl@gnu.org>

	* stdio-common/Makefile (tests): Don't do it for cross compiling.
	* stdio-common/Makefile (tests): Likewise.
2000-08-25 09:03:32 +00:00
Ulrich Drepper 62c2758224 Update.
2000-08-24  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/unicode.c (gconv_init): Correct test for direction.
2000-08-24 23:20:02 +00:00
Andreas Jaeger 469e977feb Update.
2000-08-24  Andreas Jaeger  <aj@suse.de>

	* malloc/Makefile (extra-objs): Fix last patch, build memusagestat
	only if LIBGD is available.
2000-08-24 12:39:25 +00:00
Andreas Jaeger 7e98470d80 Update.
* sysdeps/unix/sysv/syscalls.list: Likewise.
2000-08-24 10:19:29 +00:00
Ulrich Drepper d46a5ab9cb Update.
2000-08-24  Ulrich Drepper  <drepper@redhat.com>

	* resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
	problems with now restrict parameter types.
	(convaddr4to6): Likewise.

2000-08-24  Denis Joseph Barrow  <djbarrow@de.ibm.com>
2000-08-24 10:04:58 +00:00
Andreas Jaeger 0067c4cffb Update.
2000-08-24  Denis Joseph Barrow    <djbarrow@de.ibm.com>

	* sysdeps/s390/fpu/fedisblxcpt.c: New file.
	* sysdeps/s390/fpu/feenablxcpt.c: New file.
	* sysdeps/s390/fpu/fegetexcept.c: New file.
	* sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
	FPC_VALID_MASK.
2000-08-24 09:57:58 +00:00
Andreas Jaeger 3b526f89b5 Update.
Move inclusion of test-skeleton to front to have prototype for
	add_temp_file.
2000-08-24 09:30:58 +00:00
Andreas Jaeger 991dca9005 Update.
2000-08-24  Andreas Jaeger  <aj@suse.de>

	* malloc/Makefile (extra-objs): Add memusagestat.o.
	(generated): Added memusage and memusagestat for make clean.

	* libio/tst_putwc.c (do_test): Delete temporary file.

	* posix/Makefile (generated): Add wordexp-tst.out.
2000-08-24 08:58:23 +00:00
Ulrich Drepper c81459e7d8 Update.
2000-08-24  Ulrich Drepper  <drepper@redhat.com>

	* resolv/res_hconf.c (free_mem): Remove not needed if.

	* time/tzset.c (free_mem): New function.
	* string/strsignal.c (free_mem): New function.
	* inet/inet_ntoa.c (free_mem): New function.
	* sunrpc/clnt_perr.c (free_mem): New function.
2000-08-24 08:53:30 +00:00
Andreas Jaeger 219f2381bd Update.
* posix/unistd.h: Move internal prototypes from here ...
	* include/unistd.h: ... to here.

	* sysvipc/sys/shm.h: Add const attribute to __getpagesize.
2000-08-24 08:33:49 +00:00
Andreas Jaeger d5fb902b06 Update.
2000-08-24  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
2000-08-24 08:09:16 +00:00
Ulrich Drepper 84364bf861 Update.
* grp/initgroups.c (initgroups): Deallocate groups array.
	Reported by jani.raiha@sonera.com [PR libc/1868].
2000-08-24 07:57:44 +00:00
Ulrich Drepper 80bae720f5 Update.
2000-08-24  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/s390/Dist: Add fpu/fenv_libc.h.
	* sysdeps/alpha/Dist: Likewise.
2000-08-24 07:41:38 +00:00
Ulrich Drepper 0c571040e2 Update.
* crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
	destructor).  Reported by Solar Designer <solar@false.com>.
2000-08-24 06:11:27 +00:00
Ulrich Drepper f4942eca1e Update.
2000-08-23  Ulrich Drepper  <drepper@redhat.com>

	* iconv/gconv_conf.c (add_module): Remove some unneeded code to
	avoid adding double slashes.
2000-08-23 20:39:41 +00:00
Ulrich Drepper 91ca07d8ea Update.
2000-08-23  Jakub Jelinek  <jakub@redhat.com>

	* dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
	out of the __REDIRECT macro.
2000-08-23 18:04:17 +00:00
Andreas Jaeger df9650f1b0 Update.
* sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
	Use static __inline instead of _EXTERN_INLINE.

	* misc/sys/select.h: Move prototypes of __select from here ...
	* include/sys/select.h: ... to here.

	* socket/sys/socket.h: Move prototypes of __send and __connect
	from here....
	* include/sys/socket.h: ... to here.
2000-08-23 17:09:29 +00:00
Ulrich Drepper 56ce46d569 Update.
2000-08-23  Ulrich Drepper  <drepper@redhat.com>

	* stdio-common/vfscanf.c: Add %F format support.

	* locale/programs/ld-ctype.c (ctype_output): Make sure
	_NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
	_NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
	(ctype_read): Enable returning of wide character strings for reading
	transliteration information.
2000-08-23 16:58:41 +00:00
Andreas Jaeger 0232a3ae6c Update.
2000-08-23  Andreas Jaeger  <aj@suse.de>

	* locale/programs/ld-ctype.c (ctype_read): Fix parameter for
	lr_error.
2000-08-23 16:48:51 +00:00
Andreas Jaeger 39d4e06f6d Update.
2000-08-23  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
	__setrlimit as strong name. Takes only 2 arguments.

	* sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
	takes only 2 arguments.
2000-08-23 14:20:17 +00:00
Andreas Jaeger ea18f67073 Update.
* sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
2000-08-23 09:53:54 +00:00
Andreas Jaeger 84056c71ce Update.
2000-08-23  Martin Schwidefsky	<schwidefsky@de.ibm.com>

	* sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.

	only for !SHARED case.	Get the code from dl-osinfo.h.
2000-08-21  Martin Schwidefsky	<schwidefsky@de.ibm.com>
2000-08-21  Martin Schwidefsky	<schwidefsky@de.ibm.com>
2000-08-23 09:04:23 +00:00
Ulrich Drepper 4b156cb2fd Update.
2000-08-23  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/ld-ctype.c (ctype_read): Allow more than one
	default_missing character being specified, pick the first
	representable.
2000-08-23 08:25:46 +00:00
Andreas Jaeger d6585e0b91 Update.
2000-08-23  Andreas Jaeger  <aj@suse.de>

	* include/wchar.h: Add some pure attributes.

	* time/time.h: Add const attribute for dysize.

	* include/stdlib.h: Add malloc attribute to __posix memalign.

	* stdlib/stdlib.h: Add some pure and malloc attributes.
	* wcsmbs/wchar.h: Likewise.

	* dirent/dirent.h: Add some pure attributes.
	* include/dirent.h: Likewise.
2000-08-23 07:22:48 +00:00
Ulrich Drepper 24c7f4c14b Update.
2000-08-23  Jakub Jelinek  <jakub@redhat.com>

	* inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
	on 64bit arches.
2000-08-23 07:15:54 +00:00
Ulrich Drepper 4cee32ddd1 Update.
2000-08-22  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
	missing buffer size checks.
2000-08-23 07:03:49 +00:00
Andreas Jaeger 7e7b6007f2 Update.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
	strong name.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2000-08-23 06:57:06 +00:00
Ulrich Drepper b4246fd63d Update.
2000-08-23  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
	otherwise __LINUX_KERNEL_VERSION might not be defined.
	(MIN): Define if not already defined.
2000-08-23 06:52:05 +00:00
Ulrich Drepper 6c46718f9f Update.
* stdio-common/vfprintf.c: Handle %F format.
	* stdio-common/printf-parse.h (parse_one_spec): Likewise.
	Reported by Joseph S. Myers <jsm28@cam.ac.uk>.

	* stdio-common/tstdiomisc.c: Add test for %F printf format.

	* po/zh.po: New file.
2000-08-23 06:35:22 +00:00
Ulrich Drepper cf970a3215 Update.
* iconvdata/sjis.c: In conversion from UCS4, correct test for
	enough room in target buffer.
	Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
	* iconvdata/bug-iconv1.c: New file.
	* iconvdata/Makefile (tests): Add bug-iconv1.
2000-08-23 05:52:43 +00:00
Ulrich Drepper dc63ee3575 Update.
2000-08-22  Ulrich Drepper  <drepper@redhat.com>

	* locale/iso-4217.def: Update entry for Nicaragua.
2000-08-23 04:04:02 +00:00
Mark Kettenis 64659255c7 * hurd/hurdsig.c: Rearrange headers a bit. (_hurdsig_init): Block until _hurd_msgport_thread is initialized when cthreads is being used.
2000-08-22  Mark Kettenis  <kettenis@gnu.org>

	* hurd/hurdsig.c: Rearrange headers a bit.
	(_hurdsig_init): Block until _hurd_msgport_thread is initialized
	when cthreads is being used.
2000-08-22 19:31:27 +00:00
Ulrich Drepper 32b4fe6a63 Update.
* elf/Makefile (distribute): Add dl-osinfo.h.
	* sysdeps/generic/dl-osinfo.h: New file.
	* sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
	* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
	if defined.
	* sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
	only for !SHARED case.  Get the code from dl-osinfo.h.
2000-08-22 17:48:22 +00:00
Ulrich Drepper ea83223c5c Update.
2000-08-22  Ulrich Drepper  <drepper@redhat.com>

	* stdlib/random_r.c: Cleanups.
	* stdlib/tst-random.c: New file.
	* stdlib/Makefile (tests): Add tst-random.
	Patches by Michael Fischer <fischer-michael@cs.yale.edu>.

	* sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
	* sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
	* sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
	* sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
2000-08-22 16:27:22 +00:00
Andreas Jaeger 26830935c1 Update.
2000-08-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>

        * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
        * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
        * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
        * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
2000-08-22 14:13:25 +00:00
Ulrich Drepper 8859f57623 Update.
2000-08-22  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
	* sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
	(__syscall__sysctl): Add.
2000-08-22 09:10:20 +00:00
Andreas Jaeger fe615dced5 Update.
2000-08-21  Andreas Jaeger  <aj@suse.de>

	* stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
	libc/1864).
	* stdlib/tst-strtoll.c: Likewise.
2000-08-22 05:57:55 +00:00
Ulrich Drepper faa5756314 Update.
* stdlib/random_r.c (__setstate_r): Also compute end_ptr
	correctly.
	(__initstate_r): Set errno on error.
	(__random_r): Likewise.
	(__setstate_r): Correct offset when computing
	new rptr and fptr.  Test for arg_state being NULL.
	Reported by Michael Fischer <fischer@cs.yale.edu>.
2000-08-22 03:49:38 +00:00
Ulrich Drepper 7ca404adab Update.
* stdlib/random_r.c (__setstate_r): Correct offset when computing
	new rptr and fptr.  Reported by Michael Fischer <fischer@cs.yale.edu>.

	* posix/regex.h: Add macro definitions to allow compiling outside
	glibc.
2000-08-21 23:31:38 +00:00
Ulrich Drepper 63336471f0 Update.
* sysdeps/i370/Implies: Removed.
	* sysdeps/mvs/Implies: Removed.

	* catgets/catgets.c (catopen): Filter out env_var values with / if
	necessary.

	* locale/findlocale.c (_nl_find_locale): Move test for unusable
	locale name after all getenvs.
2000-08-21 20:58:00 +00:00
Ulrich Drepper ce19d41746 Update.
2000-08-21  Ulrich Drepper  <drepper@redhat.com>

	* configure.in: Allow sed versions like 3.02.8.
	Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
2000-08-21 20:05:51 +00:00
Ulrich Drepper 959eb65d0d Update.
2000-08-21  Marko Myllynen  <myllynen@lut.fi>

	* inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
2000-08-21 19:15:14 +00:00
Ulrich Drepper fb7268b292 Update.
* sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
	of gethostbyname2_r call.
2000-08-21 19:12:24 +00:00
Ulrich Drepper 9ca00c5b8e Update.
2000-08-21  Ulrich Drepper  <drepper@redhat.com>

	* intl/locale.alias: Add aliases for Korean.
2000-08-21 18:36:45 +00:00
Andreas Jaeger b6341471cf Update.
* sysdeps/s390/__longjmp.c: Remove unused variable result.
	* sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
	* sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
2000-08-21 17:09:18 +00:00
Andreas Jaeger b7d2cec071 Update.
2000-08-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/s390/__longjmp.c: Removed unused variable result.
	* sysdeps/s390/fpu/bits/fenv.h: Moved FPC_* definitions to fenv_libc.h.
	* sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
	* sysdeps/s390/fpu/fegetenv.c: New file.
	* sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
	* sysdeps/s390/fpu/feholdexcpt.c: New file.
	* sysdeps/s390/fpu/fenv_libc.h: New file.
	* sysdeps/s390/fpu/fesetenv.c: New file.
	* sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
	* sysdeps/s390/fpu/feupdateenv.c: New file.
	* sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
	* sysdeps/s390/fpu/fpu_control.h: Corrected header.
	* sysdeps/s390/fpu/fraiseexcpt.c: New file.
	* sysdeps/s390/fpu/fsetexcptflg.c: New file.
	* sysdeps/s390/fpu/ftestexcept.c: New file.
	* sysdeps/s390/fpu/libm-test-ulps: New file.
	* sysdeps/s390/gmp-mparam.h: Add end of comment.
	* sysdeps/s390/initfini.c: New file.
	* sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
	* sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
	* sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
	* sysdeps/unix/sysv/linux/s390/lchown.c: New file.
	* sysdeps/unix/sysv/linux/s390/sys/elf.h: Moved elf definitions to
	sys/procfs.h as proposed by Mark Kettenis.
	* sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
2000-08-21 16:58:54 +00:00
Andreas Jaeger d4b0774fc6 Update.
2000-08-21  Andreas Jaeger  <aj@suse.de>

	* include/poll.h: Include include/sys/poll.h to get __poll
	declaration.

	* io/sys/poll.h: Move __poll declaration from here...
	* include/sys/poll.h: ...to here.

	* include/sys/socket.h (__getpeername): Add declaration.

	* include/wchar.h (__vswprintf): Add declaration.

	* include/stdio.h (__flockfile): Add declaration.
	(__funlockfile): Likewise.
2000-08-21 16:02:48 +00:00
Ulrich Drepper 98cbe360d9 Update.
* misc/sys/cdefs.h: Define __restrict_arr.
	* include/sys/time.h: Add restrict where required by AGd4.
	* inet/arpa/inet.h: Likewise.
	* io/sys/stat.h: Likewise.
	* io/sys/statvfs.h: Likewise.
	* misc/search.h: Likewise.
	* misc/sys/select.h: Likewise.
	* posix/glob.h: Likewise.
	* posix/regex.h: Likewise.
	* posix/spawn.h: Likewise.
	* posix/unistd.h: Likewise.
	* rt/aio.h: Likewise.
	* signal/signal.h: Likewise.
	* socket/sys/socket.h: Likewise.
	* stdlib/ucontext.h: Likewise.
	* streams/stropts.h: Likewise.
	* string/string.h: Likewise.
	* time/time.h: Likewise.
	* time/sys/time.h: Likewise.

	* posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
	and posix_spawnattr_setscheparam.

	* libio/stdio.h: Make cuserid prototype again available for all
	XPG versions.
2000-08-21 06:49:52 +00:00
Ulrich Drepper 4aebaa6bd9 Update.
* argp/argp-help.c: Unify use of function aliases to make more compact
	PLT.
	* include/libintl.h: Likewise.
	* inet/rcmd.c: Likewise.
	* intl/dcigettext.c: Likewise.
	* libio/iofputws.c: Likewise.
	* libio/iofputws_u.c: Likewise.
	* libio/iogetwline.c: Likewise.
	* libio/swprintf.c: Likewise.
	* malloc/malloc.c: Likewise.
	* nss/digits_dots.c: Likewise.
	* posix/fnmatch.c: Likewise.
	* posix/spawn_faction_addclose.c: Likewise.
	* posix/spawn_faction_adddup2.c: Likewise.
	* posix/spawn_faction_addopen.c: Likewise.
	* posix/spawni.c: Likewise.
	* posix/wordexp.c: Likewise.
	* posix/spawni.c: Likewise.
	* resolv/res_hconf.c: Likewise.
	* resolv/res_init.c: Likewise.
	* shadow/lckpwdf.c: Likewise.
	* signal/sighold.c: Likewise.
	* signal/sigrelse.c: Likewise.
	* stdio-common/printf-parse.h: Likewise.
	* stdio-common/printf-prs.c: Likewise.
	* stdio-common/printf_fp.c: Likewise.
	* stdio-common/vfprintf.c: Likewise.
	* stdio-common/vfscanf.c: Likewise.
	* stdlib/rpmatch.c: Likewise.
	* sunrpc/create_xid.c: Likewise.
	* sunrpc/key_call.c: Likewise.
	* sysdeps/generic/setrlimit64.c: Likewise.
	* sysdeps/generic/utmp_file.c: Likewise.
	* sysdeps/generic/vlimit.c: Likewise.
	* sysdeps/posix/posix_fallocate.c: Likewise.
	* sysdeps/posix/posix_fallocate64.c: Likewise.
	* sysdeps/posix/sigpause.c: Likewise.
	* sysdeps/posix/sigset.c: Likewise.
	* sysdeps/unix/grantpt.c: Likewise.
	* sysdeps/unix/bsd/ualarm.c: Likewise.
	* sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
	* sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
	* sysdeps/unix/sysv/linux/ttyname.c: Likewise.
	* sysdeps/unix/sysv/linux/ulimit.c: Likewise.
	* time/strftime.c: Likewise.
	* wcsmbs/wcscoll.c: Likewise.
	* wcsmbs/wcsxfrm.c: Likewise.

	* sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
	postinc/predec instruction.
2000-08-21 04:18:25 +00:00
Ulrich Drepper a785f6c56e Update.
2000-08-20  Ulrich Drepper  <drepper@redhat.com>

	* time/tst-getdate.c (main): Make error messages more human readable.

	* sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generic
	postinc/postdec instruction.
	(_FPU_SETCW): Likewise.
	Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2000-08-20 17:08:29 +00:00
Andreas Jaeger 7a66c585c3 Update.
2000-08-20  Andreas Jaeger  <aj@suse.de>

	* time/tst-getdate.c (main): Increase error in case of wrong
	conversion.
	Fix typo in test case.
2000-08-20 10:28:33 +00:00
Ulrich Drepper 00d8bc81a9 Update.
* ctype/ctype.h (isblank): Make available if ISO C99.
	* wctype/wctype.h (iswblank): Make available if ISO C99.
	* math/math.h (signgam): Don't make available if ISO C99.
	* math/tgmath.h (tgamma): Renamed from gamma.
	Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2000-08-20 08:37:13 +00:00
Ulrich Drepper 2f599545f5 Update.
2000-08-20  Ulrich Drepper  <drepper@redhat.com>

	* intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
	Pretty printing.
	* intl/plural.y (new_exp): Take number of optional parameters in
	second parameter.  Test for correct number of parameters and free
	correctly in case of failure.  Adjust all callers.
	(yylex): Allow ';' as terminator character.
2000-08-20 08:24:10 +00:00
Ulrich Drepper 9b02e86850 Update.
* locale/lc-time.c (free_mem): New function.  Free alt_digits and
	walt_digits.
2000-08-20 06:10:09 +00:00