Commit Graph

13864 Commits

Author SHA1 Message Date
Ulrich Drepper d29f5cc776 * locale/iso-639.def: Add a few updates from current spec. 2005-09-24 16:18:50 +00:00
Ulrich Drepper a415dea410 [BZ #520]
* SUPPORTED (SUPPORTED-LOCALES): Add ky_KG.
	[BZ #520]
	* locales/ky_KG: New file.
2005-09-24 16:09:57 +00:00
Ulrich Drepper 72888fa9e0 [BZ #495]
* locales/st_ZA: Updates and corrections.
	Patch by Dwayne Bailey <dwayne@translate.org.za>.
2005-09-24 15:54:49 +00:00
Ulrich Drepper 6b77644416 [BZ #493]
* locales/xh_ZA: Updates and corrections.
	Patch by Dwayne Bailey <dwayne@translate.org.za>.
2005-09-24 15:52:35 +00:00
Ulrich Drepper c9726eab7f [BZ #488]
* locales/zu_ZA: Updates and corrections.
	Patch by Dwayne Bailey <dwayne@translate.org.za>.
2005-09-24 15:28:59 +00:00
Ulrich Drepper d1bb817741 [BZ #484]
* locales/af_ZA: Updates and corrections.
	Patch by Dwayne Bailey <dwayne@translate.org.za>.
2005-09-24 15:12:44 +00:00
Ulrich Drepper 3c73147e79 [BZ #1347]
2005-09-24  Ulrich Drepper  <drepper@redhat.com>
	* SUPPORTED (SUPPORTED-LOCALES): Add be_BY@latin.

	[BZ #1347]
	* locales/be_BY@latin: New file.
2005-09-24 15:03:19 +00:00
Ulrich Drepper b6f6ee932c [BZ #704]
* locale/iso-4217.def: Replace MGF with MGA.
2005-09-23 19:09:00 +00:00
Ulrich Drepper 294bda1b5a [BZ #395]
* iconvdata/jis0208.c (__jisx0208_from_ucs4_lat1): Reduce size of
	array.
	* iconvdata/jis0208.h (ucs4_to_jisx0208): Adjust access.

2004-08-13  GOTO Masanori  <gotom@debian.or.jp>

	[BZ #395]
	* iconvdata/jis0208.c: Remove 0x005C mapping from
	__jisx0208_from_ucs4_lat1.
	Reported by Fumitoshi UKAI <ukai@debian.or.jp>

2005-09-23  Ulrich Drepper  <drepper@redhat.com>
2005-09-23 18:48:38 +00:00
Ulrich Drepper 32053042d4 [BZ #394]
2005-09-23  Ulrich Drepper  <drepper@redhat.com>
	[BZ #394]
	* libio/fmemopen.c (fmemopen_write): Return 0 instead of -1 if
	nothing can be written.
	* libio/iofopncook.c (_IO_cookie_write): If something went wrong,
	set error bit.
2005-09-23 16:36:09 +00:00
Ulrich Drepper 997470b3e1 [BZ #281]
* posix/regex.h: Define RE_TRANSLATE_TYPE as unsigned char *.
	* posix/regcomp.c: Remove unnecessary uses of
	unsigned RE_TRANSLATE_TYPE.
	* posix/regex_internal.h: Likewise.
	* posix/regex_internal.c: Likewise.
	* posix/regexexec.c: Likewise.
	Based on a patch by Stepan Kasal <kasal@ucw.cz>.
2005-09-23 06:11:29 +00:00
Ulrich Drepper 8f7aee9228 [BZ #1035]
* locale/iso-4217.def: Replace TRL entry with TRY for new Turkish Lira.
2005-09-22 17:31:29 +00:00
Ulrich Drepper 2024f7d4eb [BZ #1363]
2005-09-22  Ulrich Drepper  <drepper@redhat.com>
	[BZ #1363]
	* nscd/nscd_getpw_r.c (nscd_getpw_r): Remove incorrectly C&Ped
	free call in code handling detection of GC runs.
2005-09-22 14:36:18 +00:00
Ulrich Drepper 06cdec09ed (nscd_getpw_r): Remove incorrectly C&Ped free call in code handling detection of GC runs. 2005-09-22 14:35:11 +00:00
Roland McGrath 5eac47606b * elf/dl-tsd.c (__libc_dl_error_tsd): Use attribute_tls_model_ie for
static __thread variable.
	From Alexandre Oliva <aoliva@redhat.com>
2005-09-22 07:29:50 +00:00
Roland McGrath f7ffeb91cd * Makefile ($(objpfx)c++-types-check.out): Use $<, not $^, in command.
Reported by Alexandre Oliva <aoliva@redhat.com>.
2005-09-22 07:07:42 +00:00
Roland McGrath a8d131a717 * nscd/dbg_log.c (init_logfile): Use fopen64 rather than fopen. 2005-09-20 20:15:15 +00:00
Roland McGrath 3dead50099 [BZ #1346]
2005-09-20  Roland McGrath  <roland@redhat.com>
	* sysdeps/unix/sysv/linux/lddlibc4.c (main): Use execv, not execl.

	[BZ #1346]
	* elf/dl-load.c (_dl_map_object_from_fd) [HAVE_Z_RELRO]: Do relro
	magic on __stack_prot only if [SHARED].  Skip mprotect if __stack_prot
	lies outside the page-rounded-down relro region.
2005-09-20 07:46:34 +00:00
Roland McGrath e751d28209 [BZ #1346]
2005-09-20  Roland McGrath  <roland@redhat.com>
	[BZ #1346]
	* elf/dl-load.c (_dl_map_object_from_fd) [HAVE_Z_RELRO]: Do relro
	magic on __stack_prot only if [SHARED].  Skip mprotect if __stack_prot
	lies outside the page-rounded-down relro region.
2005-09-20 07:46:12 +00:00
Richard Henderson ab209d3a5c [BZ #1358] * sysdeps/unix/alpha/sysdep.h (inline_syscall1): Copy argument(s) to a temporary first. (inline_syscall2, inline_syscall3, inline_syscall4): Likewise. (inline_syscall5, inline_syscall6): Likewise.
2005-09-19  Richard Henderson  <rth@redhat.com>

	[BZ #1358]
	* sysdeps/unix/alpha/sysdep.h (inline_syscall1): Copy argument(s)
	to a temporary first.
	(inline_syscall2, inline_syscall3, inline_syscall4): Likewise.
	(inline_syscall5, inline_syscall6): Likewise.

	* sysdeps/alpha/ldiv.S (lldiv): Add alias.
2005-09-20 05:35:42 +00:00
Richard Henderson cf56e3bb6b * sysdeps/alpha/ldiv.S (lldiv): Add alias. 2005-09-20 05:35:13 +00:00
Ulrich Drepper bf95d205bd [BZ #1010]
* sysdeps/unix/sockatmark.c (sockatmark): Use SIOCATMARK correctly.
2005-09-17 23:37:14 +00:00
Ulrich Drepper 2009127c64 [BZ #1053]
* debug/xtrace.sh: Add missing escape character in -? match.
	Patch by Peter Breitenlohner <peb@mppmu.mpg.de>.
2005-09-17 17:31:56 +00:00
Ulrich Drepper ff1ed56300 [BZ #1051]
2005-09-17  Ulrich Drepper  <drepper@redhat.com>
	[BZ #1051]
	* wctype/wctype.h: Remove stray __END_NAMESPACE_C99.
	* stdlib/stdlib.h: Use __END_NAMESPACE_STD instead of
	__END_NAMESPACE_C99 in one place.
	* scripts/begin-end-check.pl: New file.
	Patch by Ralph Loader <suckfish@ihug.co.nz>.
	* Makefile: Add rules to run scripts/begin-end-check.pl.
2005-09-17 17:24:20 +00:00
Andreas Jaeger da32adea56 * timezone/zdump.c: Include ctype.h.
2005-09-17  Andreas Jaeger  <aj@suse.de>

	* timezone/zdump.c: Include ctype.h.
2005-09-17 17:19:31 +00:00
Ulrich Drepper 5ef5cbb620 Add rules to run scripts/begin-end-check.pl. 2005-09-17 17:15:50 +00:00
Ulrich Drepper 4708f2b1f9 Use __END_NAMESPACE_STD instead of __END_NAMESPACE_C99 in one place. 2005-09-17 15:42:47 +00:00
Andreas Jaeger 1dbcf766bb [BZ #1047]
* sysdeps/unix/sysv/linux/mips/getpagesize.c: New file.
2005-09-16  Andreas Jaeger  <aj@suse.de>

	[BZ #1047]
	* sysdeps/unix/sysv/linux/mips/getpagesize.c: New file.
2005-09-16 13:12:49 +00:00
Andreas Jaeger 2c923c369e [BZ #933]
2005-09-16  Maciej W. Rozycki  <macro@linux-mips.org>
	[BZ #933]
	* sysdeps/unix/sysv/linux/mips/brk.c (__brk): Load the number of
	the syscall immediately before invocation.
	* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise.

	* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use
	macros to handle GP.
	* sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall):
	Likewise.  Update inaccurate comments.
2005-09-16  Maciej W. Rozycki  <macro@linux-mips.org>

	[BZ #933]
	* sysdeps/unix/sysv/linux/mips/brk.c (__brk): Load the number of
	the syscall immediately before invocation.
	* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise.

	* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use
	macros to handle GP.
	* sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall):
	Likewise.  Update inaccurate comments.
2005-09-16 12:20:49 +00:00
Ulrich Drepper 141f0a9cbe * sysdeps/posix/spawni.c (__spawni): Automatically recognize some
more cases when we can use vfork.
2005-09-13 18:45:58 +00:00
Ulrich Drepper a9f43ef464 (__spawni): Automatically recognize some more cases when we can use vfork. 2005-09-13 18:41:48 +00:00
Roland McGrath 2ac057a069 [BZ #1261]
2005-08-29  Thomas Schwinge  <schwinge@nic-nac-project.de>
	[BZ #1261]
	* manual/memory.texi (Hooks for Malloc): Correct prototype of
	my_init_hook and definition of my_free_hook.
2005-09-13 17:46:15 +00:00
Roland McGrath ad41c28e66 [BZ #1331]
2005-09-12  Roland McGrath  <roland@redhat.com>
	[BZ #1331]
	* malloc/obstack.h [!__STDC__] (obstack_int_grow_fast): Fix misnamed
	macro argument.
	Reported by Matej Vela <vela@debian.org>.
2005-09-12 19:56:29 +00:00
Roland McGrath 58b523646c [BZ #1331]
2005-09-12  Roland McGrath  <roland@redhat.com>
	[BZ #1331]
	* malloc/obstack.h [!__STDC__] (obstack_int_grow_fast): Fix misnamed
	macro argument.
	Reported by Matej Vela <vela@debian.org>.
2005-09-12 19:56:23 +00:00
Ulrich Drepper 9ea9af192b * malloc/malloc.c (struct malloc_chunk): Fix comment typo.
(public_cALLOc): For mmapped chunks and perturb_byte != 0,
	don't clear SIZE_SZ bytes more than should be cleared.
2005-09-12 14:02:35 +00:00
Ulrich Drepper ff3cacc50c * inet/getnetgrent_r.c: Include assert.
(setup): Remove FUNC_NAME and ALL arguments, assume they are always
	"setnetgrent" and 1.
	(endnetgrent_hook): New function.
	(internal_endnetgrent): Use it.
	(__internal_setnetgrent_reuse): Use it.  Adjust setup caller.
	If status is NSS_STATUS_SUCCESS, yet action is continue, call
	endnetgrent hook.
	(internal_getnetgrent_r): Use __nss_lookup_function rather than
	setup.  Recompute getfct pointer after successful
	__internal_setnetgrent_reuse.  Don't use __nss_next.
	(innetgr): Use __nss_lookup_function instead of __nss_lookup.
	Adjust setup caller.
	* nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Always clear
	data_size and cursor.  Add libnss_files_hidden_proto and
	libnss_files_hidden_def.
	(_nss_files_setnetgrent): Call _nss_files_endnetgrent on failure.
	* nis/nss_nis/nis-netgrp.c (internal_endnetgrent): Always clear
	data_size and cursor.
	(_nss_nis_setnetgrent): Don't call internal_endnetgrent.
	(_nss_nis_getnetgrent_r): Remove result->cursor == NULL handling.
	* nis/nss_nisplus/nisplus-netgrp.c (internal_endnetgrent): Always clear
	data_size and position.
	(_nss_nisplus_setnetgrent): Don't call internal_endnetgrent.

2005-09-09  Ulrich Drepper  <drepper@redhat.com>

	* nss/getent.c (netgroup_keys): Call endnetgrent.
	(main): Call mtrace.

	* nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): We don't
	need locking for the stream.  Use feof_unlocked.

2005-09-09  Jakub Jelinek  <jakub@redhat.com>
2005-09-10 03:20:33 +00:00
Ulrich Drepper f7ca66d115 [BZ #1318]
2005-09-09  Jakub Jelinek  <jakub@redhat.com>
	[BZ #1318]
	* locale/loadarchive.c (_nl_load_locale_from_archive): Free
	normalized_codeset even if p was already normalized.
	Reported by Jaroslav Snajdr <jsnajdr@kerio.com>.
2005-09-09 16:58:19 +00:00
Ulrich Drepper 641fc4a083 (_nl_load_locale_from_archive): Free normalized_codeset even if p was already normalized. 2005-09-09 16:56:52 +00:00
Roland McGrath e73b144f02 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Decode DSOCAPS
properly, first byte is bit number in mask.  Skip disabled caps.
2005-09-08 22:37:21 +00:00
Roland McGrath 648068ce8f 2005-09-08 Roland McGrath <roland@redhat.com>
* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Decode DSOCAPS
	properly, first byte is bit number in mask.  Skip disabled caps.
2005-09-08 22:36:54 +00:00
Ulrich Drepper a3615024b9 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (FUTEX_WAKE_OP,
FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
	(lll_futex_wake_unlock): Define.
	* sysdeps/unix/sysv/linux/alpha/lowlevellock.h (FUTEX_WAKE_OP,
	FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
	(lll_futex_wake_unlock): Define.
	* sysdeps/unix/sysv/linux/ia64/lowlevellock.h (FUTEX_WAKE_OP,
	FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
	(lll_futex_wake_unlock): Define.
	* sysdeps/unix/sysv/linux/s390/lowlevellock.h (FUTEX_WAKE_OP,
	FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
	(lll_futex_wake_unlock): Define.
	* sysdeps/unix/sysv/linux/sparc/lowlevellock.h (FUTEX_WAKE_OP,
	FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
	(lll_futex_wake_unlock): Define.
	* sysdeps/pthread/pthread_cond_signal.c (__pthread_cond_signal): Use
	lll_futex_wake_unlock.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
	(FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
	(__pthread_cond_signal): Use FUTEX_WAKE_OP.
	* sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
	(FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
	(__pthread_cond_signal): Use FUTEX_WAKE_OP.
2005-09-08 17:41:56 +00:00
Ulrich Drepper b9b8cf0366 (FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define. (lll_futex_wake_unlock): Define. 2005-09-08 17:39:07 +00:00
Roland McGrath 4043787150 [BZ #1033, BZ #1061]
2005-07-11  Derek R. Price  <derek@ximbiot.com>
	[BZ #1061]
	* sysdeps/generic/glob.c (glob): Only a 0 return from
	getlogin_r means success, according to POSIX 1003.2.

2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>

	[BZ #1033]
	* time/mktime.c: Import from gnulib.
	The following macros are now consistent with other gnulib code.
	This does not change mktime's behavior.
	(TYPE_IS_INTEGER): New macro.
	(time_t_is_integer): Use it.
	(TYPE_TWOS_COMPLEMENT): New macro.
	(twos_complement_arithmetic): Use it.
	(TYPE_ONES_COMPLEMENT): New macro.
	(TYPE_MINIMUM, TYPE_MAXIMUM): Now supports signed-magnitude.
	mktime doesn't use this, but the code now matches other gnulib code.
	(ranged_convert): Pacify GCC 4.0 in a different way, which
	generates a few bytes less code.
	(ranged_convert, __mktime_internal): When calling a function via a
	pointer P, use P () rather than (*P) (), as we now assume C89 or
	better.
2005-09-08 08:09:16 +00:00
Roland McGrath ca85722957 [BZ #1061]
2005-07-11  Derek R. Price  <derek@ximbiot.com>
	[BZ #1061]
	* sysdeps/generic/glob.c (glob): Only a 0 return from
	getlogin_r means success, according to POSIX 1003.2.
2005-09-08 08:09:03 +00:00
Ulrich Drepper 3aeb7ee145 * timezone/test-tz.c: Update to match tzdata2005m.
* timezone/tst-timezone.c: Likewise.
2005-09-07 19:55:12 +00:00
Ulrich Drepper 76b864c8e0 (update_cur_sifted_state): Likewise.
(re_search_internal): Likewise.
	(prune_impossible_nodes): Likewise.
	(acquire_init_state_context): Likewise.
	(proceed_next_node): Likewise.
	(set_regs): Likewise.
	(free_fail_stack_return): Likewise.
	(check_subexp_limits): Likewise.
	(sub_epsilon_src_nodes):  Likewise.
	(add_epsilon_src_nodes):  Likewise.
	(merge_state_array): Likewise.
	(update_regs): Likewise.
	(build_trtable): Likewise.
	(sift_states_backward): Mark MCTX parameter as const.
	(build_sifted_states): Likewise.
	(update_cur_sifted_state): Likewise.
	(sift_states_mkref): Likewise.
	(check_dst_limits_calc_pos_1): Likewise.
	* posix/regex_internal.h (re_match_context_t): Make dfa a const
	pointer.
2005-09-07 16:15:23 +00:00
Ulrich Drepper 6efbd82c5c (transit_state_bkref): Make DFA a const pointer.
(get_subexp): Likewise.
	(check_arrival): Likewise.
	(check_arrival_expand_ecl): Mark DFA parameter as const.
	(check_arrival_expand_ecl_sub): Likewise.
	(check_arrival_expand_ecl): Mark eclosure as const.
2005-09-07 15:26:18 +00:00
Ulrich Drepper 1878e9af92 * posix/regexec.c (find_recover_state): Remove unnecessary
initialization.
2005-09-07 07:16:24 +00:00
Ulrich Drepper e946ea2f14 * timezone/africa: Update from tzdata2005m.
* timezone/asia: Likewise.
	* timezone/australasia: Likewise.
	* timezone/backward: Likewise.
	* timezone/europe: Likewise.
	* timezone/northamerica: Likewise.
	* timezone/southamerica: Likewise.
	* timezone/zone.tab: Likewise.
	* timezone/zdump.c: Update from tzcode2005m.
2005-09-07 07:03:41 +00:00
Ulrich Drepper c42b4152ab * posix/regexec.c (merge_state_with_log): Define dfa as const pointer.
(transit_state_sb): Likewise.
	(transit_state_mb): Likewise.
	(sift_states_iter_mb): Likewise.
	(check_arrival_add_next_nodes): Likewise.
	(check_node_accept_bytes): Change first parameter to pointer-to-const.
	[_LIBC] (re_search_2_stub): Use mempcpy.
2005-09-07 05:41:42 +00:00