Commit Graph

12954 Commits

Author SHA1 Message Date
Roland McGrath
18c45bb426 * sysdeps/gnu/errlist.c: Regenerated. 2004-11-06 00:29:01 +00:00
Roland McGrath
30e32d23eb * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Define
_dl_sysinfo_dso under [NEED_DL_SYSINFO_DSO] as well.
	* elf/rtld.c (dl_main): Set up GLRO(dl_sysinfo_dso) under
	[NEED_DL_SYSINFO_DSO] as well.
	* sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Always include
	AT_SYSINFO and AT_SYSINFO_EHDR in name table.
	(_dl_sysdep_start) [NEED_DL_SYSINFO_DSO]: Match AT_SYSINFO_EHDR.
	* elf/dl-support.c (_dl_sysinfo_dso): Define also under
	[NEED_DL_SYSINFO_DSO].
	(_dl_aux_init) [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO]:
	Match AT_SYSINFO_EHDR and set GL(dl_sysinfo_dso).

2004-11-05  Roland McGrath  <roland@redhat.com>
2004-11-06 00:24:55 +00:00
Roland McGrath
c3047bca73 * manual/errno.texi (Error Codes): Revert last change for now. 2004-11-05 23:02:22 +00:00
Roland McGrath
861ff56cb1 * Makeconfig (link-libc, rpath-dirs): Remove AIX cruft definitions.
(LDFLAGS-rpath-ORIGIN, LDFLAGS-soname-fname): Likewise.
	(LDFLAGS-rdynamic, LDFLAGS-Bsymbolic): Likewise.
	($(common-objpfx)gnu/lib-names.stmp): Likewise.
2004-11-04 23:43:59 +00:00
Roland McGrath
ad146de70e * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h [__WORDSIZE == 32]
(elf_fpxregset_t): New type.
	(struct elf_prpsinfo): If __WORDSIZE == 32, change pr_[ug]id type
	to unsigned short int.
	* sysdeps/unix/sysv/linux/x86_64/sys/user.h
	(struct user_fpregs_struct): Fix comment.
	* sysdeps/i386/fpu/bits/mathdef.h (float_t, double_t): If
	__FLOAT_EVAL_METHOD__ is defined and 0, typedef to float resp. double.
	* sysdeps/x86_64/fpu/bits/mathdef.h: Include bits/wordsize.h.
	(float_t, double_t): If -m32 and not -mfpmath=sse, typedef to
	long double.
	* sysdeps/x86_64/fpu/bits/fenv.h: Include bits/wordsize.h.
	(fenv_t): Remove __mxcsr field for -m32.
2004-11-04 23:37:44 +00:00
Roland McGrath
0090226a52 * libio/ftello.c (ftello): Don't subtract save_end - save_base
if pos is _IO_pos_BAD.
	* libio/ftello64.c (ftello64): Likewise.
	* libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
	* libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
	* libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
	* libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
	* libio/ioftell.c (_IO_ftell): Likewise.
	Cast to long int instead of off_t when checking for overflow.
2004-11-04 23:22:09 +00:00
Roland McGrath
3447be7bb3 2004-11-04 Jakub Jelinek <jakub@redhat.com>
* libio/ftello.c (ftello): Don't subtract save_end - save_base
	if pos is _IO_pos_BAD.
	* libio/ftello64.c (ftello64): Likewise.
	* libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
	* libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
	* libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
	* libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
	* libio/ioftell.c (_IO_ftell): Likewise.
	Cast to long int instead of off_t when checking for overflow.
2004-11-04 23:22:02 +00:00
Richard Henderson
a129c4fe72 * sysdeps/unix/sysv/linux/alpha/register-dump.h (regnames): Align. (linefeed): Remove. (register_dump): Rewrite to generate into a flat buffer instead of into iovecs.
2004-11-04  Richard Henderson  <rth@redhat.com>

	* sysdeps/unix/sysv/linux/alpha/register-dump.h (regnames): Align.
	(linefeed): Remove.
	(register_dump): Rewrite to generate into a flat buffer instead
	of into iovecs.
2004-11-04 18:39:10 +00:00
Roland McGrath
c4d7bd3907 * debug/tst-chk1.c (ret): New volatile variable.
(CHK_FAIL_END): Remove redundant ret setting.
	(do_test): Remote ret variable.
2004-11-03 20:31:21 +00:00
Roland McGrath
27bbfab0b7 * posix/regex_internal.h (__regfree) [!_LIBC]: Define to regfree. 2004-11-03 20:27:19 +00:00
Roland McGrath
6d98e59366 * sysdeps/generic/utime.c: Include <stddef.h>. 2004-11-03 02:53:06 +00:00
Roland McGrath
ab5f7c4506 * sysdeps/generic/sysconf.c: Include <grp.h> and <pwd.h>. 2004-11-03 01:55:28 +00:00
Roland McGrath
8ec1d37ce1 * sysdeps/generic/tempname.c (__path_search): Add missing argument
TRY_TMPDIR.
2004-11-03 01:51:52 +00:00
Roland McGrath
a237785d08 2004-11-03 Marcus Brinkmann <marcus@gnu.org>
* sysdeps/generic/tempname.c (__path_search): Add missing argument
	TRY_TMPDIR.
2004-11-03 01:51:44 +00:00
Richard Henderson
b1845d07a1 * sysdeps/unix/sysv/linux/alpha/setregid.c: New file. * sysdeps/unix/sysv/linux/alpha/setresgid.c: New file. * sysdeps/unix/sysv/linux/alpha/setresuid.c: New file. * sysdeps/unix/sysv/linux/alpha/setreuid.c: New file.
2004-10-31  Mariusz Mazur <mmazur@kernel.pl>

	* sysdeps/unix/sysv/linux/alpha/setregid.c: New file.
	* sysdeps/unix/sysv/linux/alpha/setresgid.c: New file.
	* sysdeps/unix/sysv/linux/alpha/setresuid.c: New file.
	* sysdeps/unix/sysv/linux/alpha/setreuid.c: New file.
2004-11-01 05:31:54 +00:00
Roland McGrath
e507cc5673 [BZ #473, BZ #487]
2004-10-27  Derek R. Price  <derek@ximbiot.com>
	[BZ #487] This change is imported from gnulib.
	* time/mktime.c (not_equal_tm) [DEBUG]: Remove redundant check.

2004-10-24  Paul Eggert  <eggert@cs.ucla.edu>

	[BZ #473]
	* time/tst-mktime.c (main): Don't assume that mktime fails
	when given time stamps before 1970.  It returns negative
	time_t values instead, for compatibility with BSD.

	* time/tst-mktime2.c: New file.
	* time/Makefile (tests): Add it.

	[BZ #473] Import from gnulib.  Revamp to avoid several problems near
	time_t extrema, and on hosts with 64-bit time_t and 32-bit int.
	This fixes Debian bug 177940.
	* time/mktime.c (TIME_T_MIDPOINT): New macro.
	(ydhms_diff): Renamed from ydhms_tm_diff, with a new signature,
	which avoids overflow problems on hosts with 64-bit time_t and
	32-bit int.  All callers changed.  Now an inline function.
	Verify at compile-time that long int is wide enough to avoid
	these overflow problems.
	(guess_time_tm): New function.
	(__mktime_internal): Use it.  Avoid overflow when computing yday on
	hosts with 64-bit long and 32-bit int.  Remove tests for 69;
	no longer needed.  Use if rather than #ifdef for LEAP_SECONDS_POSSIBLE
	so that the code is checked by more compilers.
	Do not rely on floating point to probe: stick to integer arithmetic,
	to avoid potential porting problems.
	Repair potential overflow correctly in the Southern Hemisphere.
	(localtime_offset): Add a FIXME for the case where time_t is unsigned.
2004-11-01 00:21:39 +00:00
Roland McGrath
27b1a5c235 Change contact address to bug-glibc-locales@gnu.org (a new alias for the libc-locales mailing list). [BZ #337]
to bug-glibc-locales@gnu.org (a new alias for the libc-locales mailing
	list).
2004-10-31 23:42:28 +00:00
Roland McGrath
85d4fdd848 [BZ #187, BZ #337, BZ #421]
Change contact address from bug-glibc@gnu.org to libc-locales@sources.redhat.com.
2004-10-31  Petter Reinholdtsen  <pere@hungry.com>

	[BZ #337]
	* SUPPORTED: Update bug reporting comment.
	* locales/af_ZA: Change contact address from bug-glibc@gnu.org
	to libc-locales@sources.redhat.com.
	* locales/an_ES: Likewise.
	* locales/ar_AE: Likewise.
	* locales/ar_BH: Likewise.
	* locales/ar_DZ: Likewise.
	* locales/ar_EG: Likewise.
	* locales/ar_IN: Likewise.
	* locales/ar_IQ: Likewise.
	* locales/ar_JO: Likewise.
	* locales/ar_KW: Likewise.
	* locales/ar_LB: Likewise.
	* locales/ar_LY: Likewise.
	* locales/ar_MA: Likewise.
	* locales/ar_OM: Likewise.
	* locales/ar_QA: Likewise.
	* locales/ar_SA: Likewise.
	* locales/ar_SD: Likewise.
	* locales/ar_SY: Likewise.
	* locales/ar_TN: Likewise.
	* locales/ar_YE: Likewise.
	* locales/be_BY: Likewise.
	* locales/bn_IN: Likewise.
	* locales/br_FR@euro: Likewise.
	* locales/ca_ES: Likewise.
	* locales/ca_ES@euro: Likewise.
	* locales/cs_CZ: Likewise.
	* locales/da_DK: Likewise.
	* locales/de_AT: Likewise.
	* locales/de_AT@euro: Likewise.
	* locales/de_BE: Likewise.
	* locales/de_BE@euro: Likewise.
	* locales/de_CH: Likewise.
	* locales/de_DE: Likewise.
	* locales/de_DE@euro: Likewise.
	* locales/de_LU: Likewise.
	* locales/de_LU@euro: Likewise.
	* locales/el_GR: Likewise.
	* locales/el_GR@euro: Likewise.
	* locales/en_AU: Likewise.
	* locales/en_BW: Likewise.
	* locales/en_CA: Likewise.
	* locales/en_DK: Likewise.
	* locales/en_GB: Likewise.
	* locales/en_HK: Likewise.
	* locales/en_IE: Likewise.
	* locales/en_IE@euro: Likewise.
	* locales/en_IN: Likewise.
	* locales/en_NZ: Likewise.
	* locales/en_PH: Likewise.
	* locales/en_SG: Likewise.
	* locales/en_US: Likewise.
	* locales/en_ZW: Likewise.
	* locales/es_AR: Likewise.
	* locales/es_BO: Likewise.
	* locales/es_CL: Likewise.
	* locales/es_CO: Likewise.
	* locales/es_CR: Likewise.
	* locales/es_DO: Likewise.
	* locales/es_EC: Likewise.
	* locales/es_ES: Likewise.
	* locales/es_ES@euro: Likewise.
	* locales/es_GT: Likewise.
	* locales/es_HN: Likewise.
	* locales/es_MX: Likewise.
	* locales/es_NI: Likewise.
	* locales/es_PA: Likewise.
	* locales/es_PE: Likewise.
	* locales/es_PR: Likewise.
	* locales/es_PY: Likewise.
	* locales/es_SV: Likewise.
	* locales/es_US: Likewise.
	* locales/es_UY: Likewise.
	* locales/es_VE: Likewise.
	* locales/et_EE: Likewise.
	* locales/eu_ES: Likewise.
	* locales/eu_ES@euro: Likewise.
	* locales/fi_FI: Likewise.
	* locales/fi_FI@euro: Likewise.
	* locales/fo_FO: Likewise.
	* locales/fr_BE: Likewise.
	* locales/fr_BE@euro: Likewise.
	* locales/fr_CA: Likewise.
	* locales/fr_CH: Likewise.
	* locales/fr_FR: Likewise.
	* locales/fr_FR@euro: Likewise.
	* locales/fr_LU: Likewise.
	* locales/fr_LU@euro: Likewise.
	* locales/ga_IE: Likewise.
	* locales/ga_IE@euro: Likewise.
	* locales/gl_ES: Likewise.
	* locales/gl_ES@euro: Likewise.
	* locales/gu_IN: Likewise.
	* locales/gv_GB: Likewise.
	* locales/he_IL: Likewise.
	* locales/hi_IN: Likewise.
	* locales/hr_HR: Likewise.
	* locales/hu_HU: Likewise.
	* locales/id_ID: Likewise.
	* locales/is_IS: Likewise.
	* locales/it_CH: Likewise.
	* locales/it_IT: Likewise.
	* locales/it_IT@euro: Likewise.
	* locales/iw_IL: Likewise.
	* locales/ja_JP: Likewise.
	* locales/kk_KZ: Likewise.
	* locales/kl_GL: Likewise.
	* locales/kn_IN: Likewise.
	* locales/ko_KR: Likewise.
	* locales/kw_GB: Likewise.
	* locales/lo_LA: Likewise.
	* locales/lt_LT: Likewise.
	* locales/lv_LV: Likewise.
	* locales/ml_IN: Likewise.
	* locales/mn_MN: Likewise.
	* locales/mr_IN: Likewise.
	* locales/ms_MY: Likewise.
	* locales/mt_MT: Likewise.
	* locales/nb_NO: Likewise.
	* locales/nl_BE: Likewise.
	* locales/nl_BE@euro: Likewise.
	* locales/nl_NL: Likewise.
	* locales/nl_NL@euro: Likewise.
	* locales/nn_NO: Likewise.
	* locales/pa_IN: Likewise.
	* locales/pl_PL: Likewise.
	* locales/pt_BR: Likewise.
	* locales/pt_PT: Likewise.
	* locales/pt_PT@euro: Likewise.
	* locales/ro_RO: Likewise.
	* locales/ru_RU: Likewise.
	* locales/ru_UA: Likewise.
	* locales/sk_SK: Likewise.
	* locales/sl_SI: Likewise.
	* locales/sq_AL: Likewise.
	* locales/sv_FI: Likewise.
	* locales/sv_FI@euro: Likewise.
	* locales/sv_SE: Likewise.
	* locales/ta_IN: Likewise.
	* locales/te_IN: Likewise.
	* locales/th_TH: Likewise.
	* locales/tr_TR: Likewise.
	* locales/uk_UA: Likewise.
	* locales/ur_PK: Likewise.
	* locales/vi_VN: Likewise.
	* locales/wa_BE@euro: Likewise.
	* locales/zh_CN: Likewise.
	* locales/zh_HK: Likewise.
	* locales/zh_SG: Likewise.
	* locales/zh_TW: Likewise.

	[BZ #187]
	* locales/tr_TR: Add 'yY' and 'nN' to yesexpr and noexpr, to avoid
	surprises when using untranslated program.
	* locales/tr_TR: Remove trailing '.*' from yesexpr and noexpr to
	make it more like the structure of the POSIX locale values.
	* locales/tr_TR: Correct numeric decimal point to use comma, and
	correct grouping.
	Based on patches from Deniz Akkus Kanca and Nilgn Belma Bugner.

	[BZ #421]
	* locales/tr_TR: Update with new currency symbol valid from
	2005-01-01.  Patch from Nilgn Belma Bugner.
	* locales/tr_TR: Convert UTF-8 comment to <U#> notation.
2004-10-31 20:49:54 +00:00
Roland McGrath
87af49e20d [BZ #337]
2004-10-31  Petter Reinholdtsen  <pere@hungry.com>
	[BZ #337]
	* locales/af_ZA: Change contact address from bug-glibc@gnu.org
	to libc-locales@sources.redhat.com.
	* locales/an_ES: Likewise.
	* locales/ar_AE: Likewise.
	* locales/ar_BH: Likewise.
	* locales/ar_DZ: Likewise.
	* locales/ar_EG: Likewise.
	* locales/ar_IN: Likewise.
	* locales/ar_IQ: Likewise.
	* locales/ar_JO: Likewise.
	* locales/ar_KW: Likewise.
	* locales/ar_LB: Likewise.
	* locales/ar_LY: Likewise.
	* locales/ar_MA: Likewise.
	* locales/ar_OM: Likewise.
	* locales/ar_QA: Likewise.
	* locales/ar_SA: Likewise.
	* locales/ar_SD: Likewise.
	* locales/ar_SY: Likewise.
	* locales/ar_TN: Likewise.
	* locales/ar_YE: Likewise.
	* locales/be_BY: Likewise.
	* locales/bn_IN: Likewise.
	* locales/br_FR@euro: Likewise.
	* locales/ca_ES: Likewise.
	* locales/ca_ES@euro: Likewise.
	* locales/cs_CZ: Likewise.
	* locales/da_DK: Likewise.
	* locales/de_AT: Likewise.
	* locales/de_AT@euro: Likewise.
	* locales/de_BE: Likewise.
	* locales/de_BE@euro: Likewise.
	* locales/de_CH: Likewise.
	* locales/de_DE: Likewise.
	* locales/de_DE@euro: Likewise.
	* locales/de_LU: Likewise.
	* locales/de_LU@euro: Likewise.
	* locales/el_GR: Likewise.
	* locales/el_GR@euro: Likewise.
	* locales/en_AU: Likewise.
	* locales/en_BW: Likewise.
	* locales/en_CA: Likewise.
	* locales/en_DK: Likewise.
	* locales/en_GB: Likewise.
	* locales/en_HK: Likewise.
	* locales/en_IE: Likewise.
	* locales/en_IE@euro: Likewise.
	* locales/en_IN: Likewise.
	* locales/en_NZ: Likewise.
	* locales/en_PH: Likewise.
	* locales/en_SG: Likewise.
	* locales/en_US: Likewise.
	* locales/en_ZW: Likewise.
	* locales/es_AR: Likewise.
	* locales/es_BO: Likewise.
	* locales/es_CL: Likewise.
	* locales/es_CO: Likewise.
	* locales/es_CR: Likewise.
	* locales/es_DO: Likewise.
	* locales/es_EC: Likewise.
	* locales/es_ES: Likewise.
	* locales/es_ES@euro: Likewise.
	* locales/es_GT: Likewise.
	* locales/es_HN: Likewise.
	* locales/es_MX: Likewise.
	* locales/es_NI: Likewise.
	* locales/es_PA: Likewise.
	* locales/es_PE: Likewise.
	* locales/es_PR: Likewise.
	* locales/es_PY: Likewise.
	* locales/es_SV: Likewise.
	* locales/es_US: Likewise.
	* locales/es_UY: Likewise.
	* locales/es_VE: Likewise.
	* locales/et_EE: Likewise.
	* locales/eu_ES: Likewise.
	* locales/eu_ES@euro: Likewise.
	* locales/fi_FI: Likewise.
	* locales/fi_FI@euro: Likewise.
	* locales/fo_FO: Likewise.
	* locales/fr_BE: Likewise.
	* locales/fr_BE@euro: Likewise.
	* locales/fr_CA: Likewise.
	* locales/fr_CH: Likewise.
	* locales/fr_FR: Likewise.
	* locales/fr_FR@euro: Likewise.
	* locales/fr_LU: Likewise.
	* locales/fr_LU@euro: Likewise.
	* locales/ga_IE: Likewise.
	* locales/ga_IE@euro: Likewise.
	* locales/gl_ES: Likewise.
	* locales/gl_ES@euro: Likewise.
	* locales/gu_IN: Likewise.
	* locales/gv_GB: Likewise.
	* locales/he_IL: Likewise.
	* locales/hi_IN: Likewise.
	* locales/hr_HR: Likewise.
	* locales/hu_HU: Likewise.
	* locales/id_ID: Likewise.
	* locales/is_IS: Likewise.
	* locales/it_CH: Likewise.
	* locales/it_IT: Likewise.
	* locales/it_IT@euro: Likewise.
	* locales/iw_IL: Likewise.
	* locales/ja_JP: Likewise.
	* locales/kk_KZ: Likewise.
	* locales/kl_GL: Likewise.
	* locales/kn_IN: Likewise.
	* locales/ko_KR: Likewise.
	* locales/kw_GB: Likewise.
	* locales/lo_LA: Likewise.
	* locales/lt_LT: Likewise.
	* locales/lv_LV: Likewise.
	* locales/ml_IN: Likewise.
	* locales/mn_MN: Likewise.
	* locales/mr_IN: Likewise.
	* locales/ms_MY: Likewise.
	* locales/mt_MT: Likewise.
	* locales/nb_NO: Likewise.
	* locales/nl_BE: Likewise.
	* locales/nl_BE@euro: Likewise.
	* locales/nl_NL: Likewise.
	* locales/nl_NL@euro: Likewise.
	* locales/nn_NO: Likewise.
	* locales/pa_IN: Likewise.
	* locales/pl_PL: Likewise.
	* locales/pt_BR: Likewise.
	* locales/pt_PT: Likewise.
	* locales/pt_PT@euro: Likewise.
	* locales/ro_RO: Likewise.
	* locales/ru_RU: Likewise.
	* locales/ru_UA: Likewise.
	* locales/sk_SK: Likewise.
	* locales/sl_SI: Likewise.
	* locales/sq_AL: Likewise.
	* locales/sv_FI: Likewise.
	* locales/sv_FI@euro: Likewise.
	* locales/sv_SE: Likewise.
	* locales/ta_IN: Likewise.
	* locales/te_IN: Likewise.
	* locales/th_TH: Likewise.
	* locales/tr_TR: Likewise.
	* locales/uk_UA: Likewise.
	* locales/ur_PK: Likewise.
	* locales/vi_VN: Likewise.
	* locales/wa_BE@euro: Likewise.
	* locales/zh_CN: Likewise.
	* locales/zh_HK: Likewise.
	* locales/zh_SG: Likewise.
	* locales/zh_TW: Likewise.
2004-10-31 20:48:21 +00:00
Andreas Schwab
4851601ff2 *** empty log message ***
* sysdeps/m68k/dl-machine.h (elf_machine_rela)
	(elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto
	instead of static.

2004-10-30  Andreas Schwab  <schwab@suse.de>
2004-10-30 21:45:34 +00:00
Andreas Schwab
488854275d (elf_machine_rela) (elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto instead of static. 2004-10-30 21:44:13 +00:00
Ulrich Drepper
73f6403bd4 Update.
2004-10-30  Andreas Schwab  <schwab@suse.de>

	* sysdeps/unix/sysv/linux/waitid.c: Include <stddef.h> for NULL.

2004-10-30  Ulrich Drepper  <drepper@redhat.com>

	* malloc/malloc.c (_int_free): Use unique comments for the error
	cases.
2004-10-30 18:04:21 +00:00
Ulrich Drepper
543fb0c8d4 Update.
2004-10-29  Kaz  Kojima  <kkojima@rr.iij4u.or.jp>

	* sysdeps/unix/sysv/linux/sh/sem_timedwait.S (sem_timedwait):
	Set ETIMEDOUT to errno when time is up.  Tweak to avoid
	assembler warning.
2004-10-29 21:53:26 +00:00
Ulrich Drepper
980c14c526 (sem_timedwait): Set ETIMEDOUT to errno when time is up. Tweak to avoid assembler warning. 2004-10-29 21:10:51 +00:00
Roland McGrath
bcbfaf1def * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_fork): Use i386_thread_state
instead of machine_thread_state.
2004-10-29 01:25:24 +00:00
Roland McGrath
45ee7f7680 * sysdeps/unix/sysv/linux/syscalls.list: Remove setaltroot. 2004-10-28 23:25:37 +00:00
Roland McGrath
ebbe05d829 2004-10-28 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/syscalls.list: Remove setaltroot.
2004-10-28 23:25:33 +00:00
Ulrich Drepper
79912cae1d Update.
2004-10-28  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-open.c (dl_open_worker): Remove reference to glibcbug script.
2004-10-28 23:11:43 +00:00
Ulrich Drepper
a1fbd85875 Update.
2004-10-28  Jakub Jelinek  <jakub@redhat.com>

	* pthread_create.c (__pthread_create_2_1): Avoid leaking stacks
	if sched_priority is not between minprio and maxprio.
2004-10-28 19:09:21 +00:00
Ulrich Drepper
7d4afb9b7f Update.
2004-10-27  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-load.c (_dl_map_object): Use cache_rpath to check for
	existing rpath in main executable, not explicit test.
2004-10-28 06:53:20 +00:00
Ulrich Drepper
32738a2270 Update.
2004-10-27  Jakub Jelinek  <jakub@redhat.com>

	* include/resolv.h (_res_opcodes): New extern.
	Add libresolv_hidden_proto.
	* resolv/res_debug.c (_res_opcodes): Remove.
	(__p_class_syms, __p_type_syms): Add libresolv_hidden_proto
	and libresolv_hidden_data_def.  Remove attribute_hidden.
	* resolv/res_mkquery (_res_opcodes): Remove.
	* resolv/res_data.c (_res_opcodes): Remove attribute_hidden.
	Add libresolv_hidden_data_def.

	* elf/dl-open.c (_dl_open): Don't allow explicitly opening a DSO
	into an empty namespace.
2004-10-27 21:33:40 +00:00
Ulrich Drepper
b1f6875087 Update.
2004-10-27  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-fini.c (_dl_fini): Fix search for map in maps array.
	Reverse order of namespaces.
	* elf/Makefile: Add rules to build and run tst-dlmopen3.
	* elf/tst-dlmopen3.c: New file.
	* elf/tst-dlmopen1mod.c: Add check whether constructor runs.
2004-10-27 20:27:40 +00:00
Ulrich Drepper
778cddad17 Update.
2004-10-27  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/glob.c (globfree): Clear gl_pathv after freeing it.
	* posix/Makefile: Add rules to build and run bug-glob2 test.
	* posix/bug-glob2.c: New test.
2004-10-27 18:23:53 +00:00
Ulrich Drepper
866a1efa76 Test of globfree after failed glob call. 2004-10-27 18:18:56 +00:00
Roland McGrath
3ba7b3831f * sysdeps/mach/hurd/i386/tls.h (HURD_TLS_DESC_DECL): New macro.
(_hurd_tls_init): Use it.
	(_hurd_tls_fork): New function.
	* sysdeps/mach/hurd/fork.c (__fork) [USE_TLS]: Call it.
2004-10-27 07:48:08 +00:00
Roland McGrath
269761cad3 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Initialize TCB->tcb. 2004-10-27 00:55:39 +00:00
Roland McGrath
e65a6679f0 * sysdeps/gnu/netinet/udp.h (struct udphdr): Use u_int16_t
type instead of uint16_t.  Formatting.
2004-10-26 18:11:31 +00:00
Roland McGrath
e8210ece6e * login/openpty.c (openpty): Add libutil_hidden_def. 2004-10-26 02:36:52 +00:00
Roland McGrath
4463a2eed7 either libc_hidden_def or libnss_files_hidden_def, not hidden_def.
This file is also compiled into libnss_hesiod by #include.
2004-10-26 02:30:36 +00:00
Roland McGrath
8f8bd267e9 * sysdeps/unix/bsd/hp: Directory and all files removed.
These are now in the ports repository.
	* sysdeps/unix/bsd/osf: Likewise.
	* sysdeps/unix/bsd/sequent: Likewise.
	* sysdeps/unix/bsd/sony: Likewise.
	* sysdeps/unix/bsd/ultrix4: Likewise.
	* sysdeps/unix/sysv/aix: Likewise.
	* sysdeps/unix/sysv/hpux: Likewise.
	* sysdeps/unix/sysv/irix4: Likewise.
	* sysdeps/unix/sysv/isc2.2: Likewise.
	* sysdeps/unix/sysv/minix: Likewise.
	* sysdeps/unix/sysv/sco3.2.4: Likewise.
	* sysdeps/unix/sysv/sco3.2: Likewise.
	* sysdeps/unix/sysv/sysv4: Likewise.
2004-10-26 02:15:42 +00:00
Roland McGrath
af5b614c7e * nss/nss_files/files-parse.c (nss_files_parse_hidden_def): Define to
libnss_files_hidden_def, not hidden_def.  This file is also compiled
	into libnss_hesiod by #include.
2004-10-26 01:55:51 +00:00
Roland McGrath
bae0f89e47 * configure.in (ASM_LINE_SEP): Move this setting to ...
* sysdeps/hppa/configure.in: ... here, new file.
	* sysdeps/hppa/configure: New generated file.
	* configure: Regenerated.
2004-10-26 01:35:59 +00:00
Roland McGrath
62facdf7c5 2004-10-25 Roland McGrath <roland@frob.com>
* configure.in (ASM_LINE_SEP): Move this setting to ...
	* sysdeps/hppa/configure.in: ... here, new file.
	* sysdeps/hppa/configure: New generated file.
	* configure: Regenerated.
2004-10-26 01:35:54 +00:00
Ulrich Drepper
7b53e1fb27 (first_shoot): Fix typo. 2004-10-26 01:14:11 +00:00
Ulrich Drepper
c2a4357a45 Update.
2004-10-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* sysdeps/sh/dl-machine.h: Include sysdep.h.
	(ELF_MACHINE_RUNTIME_TRAMPOLINE): Add CFI directives.
	(elf_machine_runtime_setup): Add always_inline attribute.
	(_dl_start_user): Pass the correct environ.
	(elf_machine_rela): Replace static inline by auto inline, add
	always_inline attribute.
	(elf_machine_rela_relative): Likewise.
	(elf_machine_lazy_rel): Likewise.
2004-10-25 19:07:36 +00:00
Ulrich Drepper
cd40e3a7cb Update.
* nis/nis_call.c: Pretty printing.  Minor cleanups.
2004-10-25 03:33:05 +00:00
Ulrich Drepper
faf4346213 Update.
* nis/nis_addmember.c (nis_addmember): Add assert to check buffer
	bounds.
2004-10-25 03:16:46 +00:00
Ulrich Drepper
78d8d2117b Update.
* resolv/nss_dns/dns-host.c: Avoid using PLTs.
2004-10-24 23:02:46 +00:00
Ulrich Drepper
b31b32b3aa Update.
* include/libc-symbols.h: Define hidden attribute macros for
	libnss_nisplus and libutil.
	* include/utmp.h: Add libutil_hidden_proto for login_tty.
	* login/login_tty.c: Add libutil_hidden_def.
	* nis/nisplus-parser.h: Add libnss_nisplus_hidden_proto for parsers.
	* nis/nss_nisplus/nisplus-parser.c: Add libnss_nisplus_hidden_def.
	* include/pty.h: New file.
	* include/rpcsvc/yp.h: New file.
	* include/rpcsvc/ypclnt.h: New file.
	* include/rpcsvc/ypupd.h: New file.
2004-10-24 21:29:41 +00:00
Ulrich Drepper
7440c23e03 Update.
* include/libc-symbols.h: Define hidden attribute macros for libnsl.
	* include/rpcsvc/nislib.h: Use libnsl_hidden_proto for various
	functions.
	* nis/nis_add.c: Add libnsl_hidden_def.  Minor optimizations.
	* nis/nis_call.c: Likewise.
	* nis/nis_clone_obj.c: Likewise.
	* nis/nis_defaults.c: Likewise.
	* nis/nis_domain_of_r.c: Likewise.
	* nis/nis_error.c: Likewise.
	* nis/nis_file.c: Likewise.
	* nis/nis_free.c: Likewise.
	* nis/nis_local_names.c: Likewise.
	* nis/nis_lookup.c: Likewise.
	* nis/nis_modify.c: Likewise.
	* nis/nis_print.c: Likewise.
	* nis/nis_remove.c: Likewise.
	* nis/nis_subr.c: Likewise.
	* nis/nis_table.c: Likewise.
	* nis/nis_util.c: Likewise.
	* nis/yp_xdr.c: Likewise.
	* nis/ypclnt.c: Likewise.
	* nis/ypupdate_xdr.c: Likewise.
2004-10-24 20:29:20 +00:00