Commit Graph

15033 Commits

Author SHA1 Message Date
Ulrich Drepper
07fb518573 [BZ #3348]
2007-02-17  Ulrich Drepper  <drepper@redhat.com>
	[BZ #3348]
	* malloc/memusage.sh: Cleanups.
	* debug/xtrace.sh: Quoting and trap changes.

	* locale/iso-3166.def: Add Jersey, Guernsey, and Isle Of Man entries.
2007-02-17 08:36:28 +00:00
Ulrich Drepper
93e6691446 * locale/iso-3166.def: Update entry for Serbia. 2007-02-17 08:08:19 +00:00
Ulrich Drepper
93e364345c * locale/iso-4217.def: Define RSD, remove CSD. 2007-02-17 08:03:11 +00:00
Ulrich Drepper
c4630aeaed [BZ #3322]
* SUPPORTED (SUPPORTED-LOCALES): Add sr_RS and sr_RS@latin.
	* locales/sr_RS: New file.
	* locales/sr_RS@latin: New file.
2007-02-17 07:56:58 +00:00
Ulrich Drepper
ad0b348ce1 [BZ #4040]
* sysdeps/x86_64/bits/atomic.h: One more change, this time for 16-
	and 64-bit operations.

	[BZ #4040]
	* sysdeps/i386/i486/bits/atomic.h: One more change, this time for
	16-bit operations.
2007-02-17 07:26:50 +00:00
Ulrich Drepper
04632864fd [BZ #3885]
2007-02-16  Ulrich Drepper  <drepper@redhat.com>
	[BZ #3885]
	* locales/i18n: Updates for Unicode 5.0.
	* charmaps/UTF-8: Likewise.
	Patch by Pablo Saratxaga <pablo@walon.org>

	* locales/sl_SI: Slovenia joined the Euro zone.
2007-02-17 07:15:36 +00:00
Ulrich Drepper
81c9d1c10f [BZ #3884]
2007-01-12  Gwenole Beauchesne  <gbeauchesne@mandriva.com>
	[BZ #3884]
	* localedata/locales/sl_SI: Slovenia joined the Euro zone.
	Fix negative number format.
2007-02-17 06:52:02 +00:00
Ulrich Drepper
771519375a [BZ #3851]
2007-02-16  Ulrich Drepper  <drepper@redhat.com>
	[BZ #3851]
	* locales/bn_BD: Fix full name of January and February.
	Patch by Jamil Ahmed <jamil@bengalinux.org>.
2007-02-17 06:47:13 +00:00
Ulrich Drepper
8c6d104340 * nscd/nscd.c (parse_opt): One more conversion to use send instead
of writev.
2007-02-16 19:15:07 +00:00
Ulrich Drepper
b3715c05d7 [BZ #3991]
* assert/assert.h (assert): Simplify.
	(assert_perror): Likewise.
	Patch by Israel G. Lugo <ilugo@bridonsecurity.com>.
2007-02-16 07:58:29 +00:00
Ulrich Drepper
6eea8e0d48 * nscd/nscd_helper.c (open_socket): Don't send padding bytes from
reqdata.
2007-02-16 06:34:26 +00:00
Ulrich Drepper
987f54c67c * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Cosmetic
change: don't pass NULL in place of an integer.
2007-02-16 06:22:14 +00:00
Ulrich Drepper
06c17c788b [BZ #3954]
* iconvdata/ksc5601.c (__ksc5601_sym_to_ucs, __ksc5601_sym_from_ucs):
	Add mapping for U+327E.
	* iconvdata/ksc5601.h (KSC5601_SYMBOL): Increment.
	* iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable
	mapping of 0xD9 0xE8.
	* iconvdata/uhc.c (BODY for FROM_LOOP, BODY for TO_LOOP): Disable
	mapping of U+327E.
	Reported by Jungshik Shin <jungshik@google.com>.

	[BZ #3955]
2007-02-16 01:25:28 +00:00
Ulrich Drepper
3dc08a7eec * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable
mapping of 0xD9 0xE6 and of 0xD9 0xE7.
	Reported by Jungshik Shin <jungshik@google.com>.
2007-02-16 01:04:59 +00:00
Ulrich Drepper
a810e68c11 [BZ #4040]
2007-02-14  Ulrich Drepper  <drepper@redhat.com>
	* sysdeps/x86_64/bits/atomic;h: Fix asm parameters for some
	byte variants.

	[BZ #4040]
	* sysdeps/i386/i486/bits/atomic.h: Fix asm parameters for some
	byte variants.  Patch mostly be tom@tommay.net.
2007-02-15 06:25:55 +00:00
Ulrich Drepper
05f135ba3b [BZ #3996]
2007-02-14  Jakub Jelinek  <jakub@redhat.com>
	[BZ #3996]
	* posix/glob.c (attribute_hidden): Define if not defined.
	(glob): Unescape dirname, filename or username when needed and not
	GLOB_NOESCAPE.  Handle \/ correctly.  Handle GLOB_MARK if filename
	is NULL.  Handle unescaped [ in pattern without closing ].
	Don't pass GLOB_CHECK down to recursive glob for directories.
	(__glob_pattern_type): New function.
	(__glob_pattern_p): Implement using __glob_pattern_type.
	(glob_in_dir): Handle GLOB_NOCHECK patterns containing no meta
	characters and backslashes if not GLOB_NOESCAPE or unterminated [.
	Remove unreachable code.
	* posix/globtest.sh: Add a couple of new tests.
2007-02-14 19:52:38 +00:00
Ulrich Drepper
2f69996772 * po/ru.po: Update from translation team. 2007-02-13 15:19:49 +00:00
Ulrich Drepper
a1be6d6135 Update from translation team. 2007-02-13 15:18:42 +00:00
Jakub Jelinek
3a7cd5b414 * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__
to the list of i486+ CPUs. 
* sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise.
2007-02-12  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__
	to the list of i486+ CPUs.
	* sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise.
2007-02-12 21:21:03 +00:00
Ulrich Drepper
2f978feb67 * elf/rtld.c (RESOLVE_MAP): Always return bootstrap_map reference.
* elf/Makefile ($(objpfx)ld.so): Check that ld.so has no undefined
	references.
2007-02-12 15:17:30 +00:00
Ulrich Drepper
5ed61e0fd6 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Remove incorrect comment. 2007-02-10 00:10:39 +00:00
Ulrich Drepper
2bbb7d5b3c * resolv/res_init.c (res_setoptions): Recognize edns0 option.
* resolv/res_mkquery.c: Define __res_nopt.
	* resolv/res_query.c (__libc_res_nquery): If RES_USE_EDNS0 is set
	try adding EDNS0 record.
	* resolv/res_send.c (send_dg): If request failed with FORMERR and
	EDNS0 record was send make sure we don't try it again.
	* resolv/resolv.h: Define RES_F_EDNS0ERR and RES_USE_EDNS0.
	* include/resolv.h: Declare __res_nopt.
2007-02-09 23:46:29 +00:00
Ulrich Drepper
00458b5bee [BZ #3944]
2007-02-08  Jakub Jelinek  <jakub@redhat.com>
	[BZ #3944]
	* time/strptime_l.c (__strptime_internal): Set have_mon for
	%b/%B/%h.  Set have_mon and have_mday if tm_mon and tm_mday
	have been computed from tm_yday and tm_year.  Don't crash
	in day_of_the_week or day_of_the_year if not have_mon
	and tm_mon contains bogus value.
	* time/Makefile (tests): Add tst-strptime3.
	* time/tst-strptime3.c: New test.
2007-02-09 01:33:57 +00:00
Ulrich Drepper
784aacea3c [BZ #3957]
2007-02-05  Jakub Jelinek  <jakub@redhat.com>
	[BZ #3957]
	* posix/regcomp.c (parse_bracket_exp): Set '\n' bit rather than '\0'
	bit for RE_HAT_LISTS_NOT_NEWLINE.
	(build_charclass_op): Remove bogus comment.
	* posix/Makefile (tests): Add bug-regex27 and bug-regex28.
	* posix/bug-regex27.c: New test.
	* posix/bug-regex28.c: New test.
2007-02-05 15:23:55 +00:00
Ulrich Drepper
bf7a246393 * po/sv.po: Update from translation team. 2007-02-03 23:30:16 +00:00
Ulrich Drepper
f2ccf9839e * nscd/nscd_helper.c (open_socket): Minor size optimization. 2007-02-02 15:53:48 +00:00
Ulrich Drepper
73f50d5a69 * include/locale.h (__uselocale): Add libc_hidden_proto.
* locale/uselocale.c (__uselocale): Add libc_hidden_def.

2007-02-02  Jakub Jelinek  <jakub@redhat.com>
2007-02-02 15:37:16 +00:00
Ulrich Drepper
806c3b196b (__uselocale): Add libc_hidden_proto. 2007-02-02 15:29:40 +00:00
Jakub Jelinek
f6bf9e5958 * nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of
gettimeofday.
2007-02-02  Jakub Jelinek  <jakub@redhat.com>

	* nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of
	gettimeofday.
2007-02-02 14:57:14 +00:00
Ulrich Drepper
4a44ce79c6 * sysdeps/unix/sysv/linux/i386/sysdep.h (PTR_MANGLE): Roll value before
returning.
	(PTR_DEMANGLE): Real definition now that it's not the same as
	PRT_MANGLE anymore.
	* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.

	* string/strerror_l.c: New file.
	* string/Makefile (routines): Add strerror_l.
	* string/string.h: Declare strerror_l.
	* string/Versions: Export strerror_l for GLIBC_2.6.

	* nscd/connections.c (nscd_run): Don't define MAXKEYLEN here.
2007-02-01 16:14:15 +00:00
Ulrich Drepper
58a2d52e95 * nscd/nscd_helper.c (open_socket): Now takes request type and key
as parameter.  Construct request record.  Try sending request
	before the first poll use, it usually succeeds.  Adjust all
	callers.
	* nscd/nscd-client.h: Define MAXKEYLEN.
2007-01-31 23:24:54 +00:00
Ulrich Drepper
8f9bf73296 Define MAXKEYLEN. 2007-01-31 23:16:14 +00:00
Jakub Jelinek
3687a5a7c5 Do recend check before realigning on strict alignment arches, as otherwise it was comparing a stack address + offset with a mmap address. 2007-01-31 10:45:15 +00:00
Jakub Jelinek
1a77d37f92 * nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier
from return value. 
* nscd/nscd_helper.c: Include string.h. 
(__nscd_cache_search): Remove const qualifier from return value. 
On strict alignment architectures check hash entry and data head 
alignment. 
* nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because 
mmapped data during GC cycle contains garbage.  If 
__nscd_drop_map_ref fails, decrement mapped->counter when returning 
error or if retrying with NO_MAPPING, only __nscd_unmap if counter 
dropped to 0. 
* nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. 
* nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. 
* nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. 
* nscd/nscd_getai.c (__nscd_getai): Likewise. 
* nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2007-01-31  Jakub Jelinek  <jakub@redhat.com>

	* nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier
	from return value.
	* nscd/nscd_helper.c: Include string.h.
	(__nscd_cache_search): Remove const qualifier from return value.
	On strict alignment architectures check hash entry and data head
	alignment.
	* nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because
	mmapped data during GC cycle contains garbage.  If
	__nscd_drop_map_ref fails, decrement mapped->counter when returning
	error or if retrying with NO_MAPPING, only __nscd_unmap if counter
	dropped to 0.
	* nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
	* nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
	* nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
	* nscd/nscd_getai.c (__nscd_getai): Likewise.
	* nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2007-01-31 09:14:21 +00:00
Ulrich Drepper
ee3142006a * misc/hsearch_r.c (hdestroy_r): Remove unnecessary test. 2007-01-31 03:18:03 +00:00
Ulrich Drepper
14c8bf3b74 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Use register
names not numbers in cfi_*.

	ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB): Add.
2007-01-26 20:05:16 +00:00
Ulrich Drepper
1ad68780b7 No need for FDPIC_FUNCPTRS. 2007-01-26 15:26:05 +00:00
Andreas Jaeger
d2708e67c0 * sysdeps/unix/sysv/linux/sys/personality.h (ADDR_NO_RANDOMIZE,
FDPIC_FUNCPTRS, ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB): 
Add. 
Correct values of PER_HPUX and PER_OSF4.
2007-01-26  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/sys/personality.h (ADDR_NO_RANDOMIZE,
	FDPIC_FUNCPTRS, ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB):
	Add.
	Correct values of PER_HPUX and PER_OSF4.
2007-01-26 08:32:47 +00:00
Ulrich Drepper
8aaf53ee7e * elf/dl-minimal.c: Undefine _itoa first. 2007-01-25 17:10:56 +00:00
Ulrich Drepper
7fbc8784bd * stdio-common/_itoa.h: Define _itoa and _fitoa for 64-bit platforms.
* malloc/mtrace.c: Revert last change.
	* posix/wordexp.c: Likewise.
2007-01-25 00:45:00 +00:00
Ulrich Drepper
9d6cde3dd5 * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __nocona__, __core2__
and __geode__ to the list of i486+ CPUs.
	* sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise.
2007-01-25 00:18:05 +00:00
Ulrich Drepper
c1f0486aa0 * stdio-common/_itoa.c: Include <limits.h>.
* stdio-common/_itowa.c: Likewise.
2007-01-23 16:39:34 +00:00
Ulrich Drepper
765bbb24bd * stdio-common/_itowa.c: Don't compile _itowa for 64-bit
platforms.
	* stdio-common/_itoa.c: Don't compile in _itoa and _fitoa for
	64-bit platforms.
	* malloc/mtrace.c (tr_where): Use _fitoa_word instead of _fitoa if
	possible.
	* posix/wordexp.c (parse_arith): Use _itoa_word instead of _itoa
	if possible.
2007-01-22 21:21:52 +00:00
Ulrich Drepper
6cae39579b [BZ #3902]
2007-01-22  Ulrich Drepper  <drepper@redhat.com>
	[BZ #3902]
	* stdio-common/_itoa.c (_itoa): Make sure at least a zero is emitted.
	* stdio-common/Makefile (tests): Add bug17.
	* stdio-common/bug17.c: New file.
2007-01-22 16:18:03 +00:00
Ulrich Drepper
439201dea2 * iconvdata/testdata/BRF: New file.
* iconvdata/testdata/BRF..UTF8: New file.
	Contributed by Samuel Thibault <samuel.thibault@ens-lyon.org>.
2007-01-20 00:24:13 +00:00
Ulrich Drepper
ddaafd04f1 * iconvdata/brf.c: New file.
* iconvdata/Makefile: Add rules to build BRF.
	* iconvdata/TESTS: Add BRF entry.
	* iconvdata/gconv-modules: Likewise.
	* iconvdata/tst-tables.sh: Likewise.
	* iconvdata/testdata/BRF: New file.
	* iconvdata/testdata/BRF..UTF8: New file.
2007-01-20 00:23:01 +00:00
Ulrich Drepper
9e6e344e69 * wcsmbs/wchar.h (wcstoll): Fix comment, function returns value of
type `long long int', not `long int'.
	(wcstoq): Likewise.
2007-01-19 22:59:32 +00:00
Ulrich Drepper
f8a1785592 * tst-initializers1.c: We want to test the initializers as seen
outside of libc, so undefined _LIBC.
2007-01-19 06:58:04 +00:00
Ulrich Drepper
299f7b0ffc * scripts/gen-as-const.awk: Add cast to long to avoid int promotion
of values on 64-bit platforms which are too large.
2007-01-19 01:02:19 +00:00
Ulrich Drepper
10ccaa5cae * pthread_join.c (cleanup): Avoid warning. 2007-01-18 22:19:48 +00:00