kopensolaris-gnu/glibc.git
16 years agoDon't include malloc.h, some platforms
drepper [Thu, 2 Oct 2003 22:53:15 +0000 (22:53 +0000)]
Don't include malloc.h, some platforms
complain and it doesn't appear to be used.
[!_LIBC && HAVE_STRERROR_R && !HAVE_DECL_STRERROR_R]: Declare
strerror_r.
[!_LIBC && !HAVE_STRERROR_R && !HAVE_DECL_STRERROR]: Declare
strerror.
(hol_entry_long_iterate): Change __attribute to __attribute__.
(_help, __argp_error, __argp_failure) [!_LIBC && (HAVE_FLOCKFILE
&& HAVE_FUNLOCKFILE)]: Protect call to flockfile and funlockfile.
(__argp_basename) [!_LIBC]: New. Taken from LSH, by Niels Möller,
modifed after comments from Ulrich Drepper.
(__argp_short_program_name): Ditto.
(__argp_state_help, __argp_error, __argp_failure): Use it.
(__argp_failure): Use strerror when necessary.

16 years ago[!__attribute__]: Define to nothing.
drepper [Thu, 2 Oct 2003 22:52:50 +0000 (22:52 +0000)]
[!__attribute__]: Define to nothing.

16 years agoUpdate.
drepper [Thu, 2 Oct 2003 22:41:11 +0000 (22:41 +0000)]
Update.

16 years ago(tests): Add new test.
drepper [Thu, 2 Oct 2003 22:40:27 +0000 (22:40 +0000)]
(tests): Add new test.

16 years ago(tests): Add new tests.
drepper [Thu, 2 Oct 2003 22:40:16 +0000 (22:40 +0000)]
(tests): Add new tests.

16 years ago(RE_CARET_ANCHORS_HERE): Define.
drepper [Thu, 2 Oct 2003 22:39:58 +0000 (22:39 +0000)]
(RE_CARET_ANCHORS_HERE): Define.

16 years ago(peek_token): Add 2003-09-20 changes for anchor handling again.
drepper [Thu, 2 Oct 2003 22:39:46 +0000 (22:39 +0000)]
(peek_token): Add 2003-09-20 changes for anchor handling again.
(parse_reg_exp): Likewise.

(parse_sub_exp): Pass RE_CARET_ANCHORS_HERE for the first token in a
subexpression as well.

16 years agoUpdate.
drepper [Thu, 2 Oct 2003 21:47:07 +0000 (21:47 +0000)]
Update.

16 years ago(DOCARGS_1): Use correct offset.
drepper [Thu, 2 Oct 2003 21:46:35 +0000 (21:46 +0000)]
(DOCARGS_1): Use correct offset.

16 years agoUpdate.
drepper [Thu, 2 Oct 2003 21:46:24 +0000 (21:46 +0000)]
Update.

16 years ago(DOCARGS_1): Use correct offset.
drepper [Thu, 2 Oct 2003 21:46:02 +0000 (21:46 +0000)]
(DOCARGS_1): Use correct offset.

16 years agoUpdate.
drepper [Thu, 2 Oct 2003 18:58:31 +0000 (18:58 +0000)]
Update.

16 years ago(_dl_allocate_static_tls): Move definition of variables only used if
drepper [Thu, 2 Oct 2003 18:57:39 +0000 (18:57 +0000)]
(_dl_allocate_static_tls): Move definition of variables only used if
TLS_DTV_AT_TP is defined into the #if branch.

16 years agoUpdate.
drepper [Thu, 2 Oct 2003 18:56:20 +0000 (18:56 +0000)]
Update.

16 years agoCopy the tsd code from the old thread-m.h header too.
drepper [Thu, 2 Oct 2003 18:55:33 +0000 (18:55 +0000)]
Copy the tsd code from the old thread-m.h header too.

16 years agoUpdate.
drepper [Thu, 2 Oct 2003 18:49:17 +0000 (18:49 +0000)]
Update.

16 years ago(tests): Add tst-cancel8.
drepper [Thu, 2 Oct 2003 18:48:48 +0000 (18:48 +0000)]
(tests): Add tst-cancel8.

16 years agoCheck that cancelable interfaces don't change the cancellation type.
drepper [Thu, 2 Oct 2003 18:47:57 +0000 (18:47 +0000)]
Check that cancelable interfaces don't change the cancellation type.

16 years agoUpdate.
drepper [Thu, 2 Oct 2003 18:47:19 +0000 (18:47 +0000)]
Update.

16 years ago(tests): Add tst-cancel19.
drepper [Thu, 2 Oct 2003 18:47:00 +0000 (18:47 +0000)]
(tests): Add tst-cancel19.

16 years agoCheck that cancelable interfaces don't change the cancellation type.
drepper [Thu, 2 Oct 2003 18:46:46 +0000 (18:46 +0000)]
Check that cancelable interfaces don't change the cancellation type.

16 years agoUpdate.
drepper [Thu, 2 Oct 2003 17:32:59 +0000 (17:32 +0000)]
Update.

16 years agoFix saving and restoring of the old cancellation type.
drepper [Thu, 2 Oct 2003 16:48:44 +0000 (16:48 +0000)]
Fix saving and restoring of the old cancellation type.

16 years agoUpdate.
drepper [Thu, 2 Oct 2003 15:37:21 +0000 (15:37 +0000)]
Update.

16 years ago(MINSIGSTKSZ): Go back to 131027 since this is what the kernel enforces.
drepper [Thu, 2 Oct 2003 15:36:43 +0000 (15:36 +0000)]
(MINSIGSTKSZ): Go back to 131027 since this is what the kernel enforces.

16 years agoUpdate.
drepper [Thu, 2 Oct 2003 09:36:32 +0000 (09:36 +0000)]
Update.

16 years agoMove domain out of nrl_domainname scope and define it with libc_freeres_ptr.
drepper [Thu, 2 Oct 2003 09:35:19 +0000 (09:35 +0000)]
Move domain out of nrl_domainname scope and define it with libc_freeres_ptr.

16 years agoUpdate.
drepper [Thu, 2 Oct 2003 08:50:17 +0000 (08:50 +0000)]
Update.

16 years agoFix saving and restoring of the old cancellation type.
drepper [Thu, 2 Oct 2003 08:42:59 +0000 (08:42 +0000)]
Fix saving and restoring of the old cancellation type.

16 years agoUpdate.
drepper [Wed, 1 Oct 2003 07:21:38 +0000 (07:21 +0000)]
Update.

16 years ago(SUPPORTED-LOCALES): Add uz_UZ@cyrillic.UTF-8.
drepper [Wed, 1 Oct 2003 07:21:20 +0000 (07:21 +0000)]
(SUPPORTED-LOCALES): Add uz_UZ@cyrillic.UTF-8.

16 years agoUpdate.
drepper [Wed, 1 Oct 2003 07:19:56 +0000 (07:19 +0000)]
Update.

16 years agoCyrillic Uzbek locale in Uzbek.
drepper [Wed, 1 Oct 2003 07:18:56 +0000 (07:18 +0000)]
Cyrillic Uzbek locale in Uzbek.

16 years agoMostly replaced.
drepper [Wed, 1 Oct 2003 07:18:18 +0000 (07:18 +0000)]
Mostly replaced.

16 years ago.
roland [Wed, 1 Oct 2003 07:15:10 +0000 (07:15 +0000)]
.

16 years ago2003-10-01 Roland McGrath <roland@redhat.com>
roland [Wed, 1 Oct 2003 07:14:59 +0000 (07:14 +0000)]
2003-10-01  Roland McGrath  <roland@redhat.com>

* elf/rtld.c (dl_main): Add cast in last change.

16 years ago.
roland [Wed, 1 Oct 2003 07:00:03 +0000 (07:00 +0000)]
.

16 years ago2003-09-10 Chris Demetriou <cgd@broadcom.com>
roland [Wed, 1 Oct 2003 06:59:39 +0000 (06:59 +0000)]
2003-09-10  Chris Demetriou  <cgd@broadcom.com>

* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Remove
"#if 0" surrounding most of contents.
(SYSCALL_ERROR_LABEL): Define.
(__SYSCALL_CLOBBERS): Add $10.
(internal_syscall7): Remove.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.

16 years ago2003-09-10 Chris Demetriou <cgd@broadcom.com>
roland [Wed, 1 Oct 2003 06:59:32 +0000 (06:59 +0000)]
2003-09-10  Chris Demetriou  <cgd@broadcom.com>

* sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: New file.

16 years agoformatting fix
roland [Wed, 1 Oct 2003 06:51:59 +0000 (06:51 +0000)]
formatting fix

16 years agoUpdate
drepper [Wed, 1 Oct 2003 06:27:22 +0000 (06:27 +0000)]
Update

16 years agoRemove misleading comment.
drepper [Wed, 1 Oct 2003 06:26:41 +0000 (06:26 +0000)]
Remove misleading comment.

16 years agoUpdate.
drepper [Wed, 1 Oct 2003 06:25:58 +0000 (06:25 +0000)]
Update.

16 years agoUpdate.
drepper [Wed, 1 Oct 2003 06:25:09 +0000 (06:25 +0000)]
Update.

16 years ago[!__libc_maybe_call2] (mutex_init, mutex_lock, mutex_trylock, mutex_unlock):
drepper [Wed, 1 Oct 2003 06:24:29 +0000 (06:24 +0000)]
[!__libc_maybe_call2] (mutex_init, mutex_lock, mutex_trylock, mutex_unlock):
Remove.

16 years agoUpdate.
drepper [Tue, 30 Sep 2003 20:37:46 +0000 (20:37 +0000)]
Update.

16 years ago(dl_main): Set l_libname and l_name for the sysinfo DSO.
drepper [Tue, 30 Sep 2003 20:36:11 +0000 (20:36 +0000)]
(dl_main): Set l_libname and l_name for the sysinfo DSO.
Also set l_map_start.

16 years agoUpdate.
drepper [Tue, 30 Sep 2003 02:15:31 +0000 (02:15 +0000)]
Update.

16 years agoUpdate.
drepper [Tue, 30 Sep 2003 02:12:52 +0000 (02:12 +0000)]
Update.

16 years agoNPTL configuration for malloc.
drepper [Tue, 30 Sep 2003 02:12:07 +0000 (02:12 +0000)]
NPTL configuration for malloc.

16 years agoLinuxThreads configuration for malloc.
drepper [Tue, 30 Sep 2003 02:11:31 +0000 (02:11 +0000)]
LinuxThreads configuration for malloc.

16 years agoUpdate.
drepper [Tue, 30 Sep 2003 02:10:33 +0000 (02:10 +0000)]
Update.

16 years agoRemove CFLAGS-malloc.c parameter addition, it is in
drepper [Tue, 30 Sep 2003 02:09:22 +0000 (02:09 +0000)]
Remove CFLAGS-malloc.c parameter addition, it is in
sysdeps/generic/malloc-machine.h now.

16 years agoNot needed anymore.
drepper [Tue, 30 Sep 2003 02:09:03 +0000 (02:09 +0000)]
Not needed anymore.

16 years agoHurd configuration for malloc.
drepper [Tue, 30 Sep 2003 02:08:37 +0000 (02:08 +0000)]
Hurd configuration for malloc.

16 years agoGeneric configuration for malloc.
drepper [Tue, 30 Sep 2003 02:07:42 +0000 (02:07 +0000)]
Generic configuration for malloc.

16 years agoInclude <malloc-machine.h> earlier instead of "thread-m.h", so that default
drepper [Tue, 30 Sep 2003 02:06:48 +0000 (02:06 +0000)]
Include <malloc-machine.h> earlier instead of "thread-m.h", so that default
parameters can be overridden in a system-specific malloc-machine.h.
Remove extra ; from extern "C" closing brace.

16 years ago(_dl_allocate_static_tls): Move definition of variables only used if
drepper [Tue, 30 Sep 2003 00:35:13 +0000 (00:35 +0000)]
(_dl_allocate_static_tls): Move definition of variables only used if
TLS_TCB_AT_TP is defined into the #if branch.

16 years agoUpdate.
drepper [Mon, 29 Sep 2003 22:23:14 +0000 (22:23 +0000)]
Update.

16 years agoAdd __extension__ as well to cover using long long in C90.
drepper [Mon, 29 Sep 2003 22:22:17 +0000 (22:22 +0000)]
Add __extension__ as well to cover using long long in C90.

16 years agoUpdate.
drepper [Mon, 29 Sep 2003 21:57:16 +0000 (21:57 +0000)]
Update.

16 years ago(__libc_cleanup_pop): Redefine and use __libc_cleanup_region_end instead.
drepper [Mon, 29 Sep 2003 21:55:41 +0000 (21:55 +0000)]
(__libc_cleanup_pop): Redefine and use __libc_cleanup_region_end instead.

16 years agoUse __inline and fix prototypes.
drepper [Mon, 29 Sep 2003 21:54:15 +0000 (21:54 +0000)]
Use __inline and fix prototypes.

16 years agoUpdate.
drepper [Mon, 29 Sep 2003 21:41:34 +0000 (21:41 +0000)]
Update.

16 years agoUpdate.
drepper [Sat, 27 Sep 2003 17:02:41 +0000 (17:02 +0000)]
Update.

16 years ago(ustat): Set errno to EINVAL if the device ID is invalid and return -1.
drepper [Sat, 27 Sep 2003 17:00:22 +0000 (17:00 +0000)]
(ustat): Set errno to EINVAL if the device ID is invalid and return -1.

16 years ago(__xmknod): Set errno to EINVAL if the device ID is invalid and return -1.
drepper [Sat, 27 Sep 2003 17:00:01 +0000 (17:00 +0000)]
(__xmknod): Set errno to EINVAL if the device ID is invalid and return -1.

16 years agoUpdate.
drepper [Fri, 26 Sep 2003 08:45:18 +0000 (08:45 +0000)]
Update.

16 years agoPass fourth argument to rt_sigprocmask system call.
drepper [Fri, 26 Sep 2003 08:41:51 +0000 (08:41 +0000)]
Pass fourth argument to rt_sigprocmask system call.

16 years ago.
roland [Thu, 25 Sep 2003 23:04:29 +0000 (23:04 +0000)]
.

16 years ago2003-09-25 Roland McGrath <roland@redhat.com>
roland [Thu, 25 Sep 2003 23:04:12 +0000 (23:04 +0000)]
2003-09-25  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable):
Don't check for zero __libc_stack_end, it should be initialized.
[_STACK_GROWS_DOWN] [PROT_GROWSDOWN]: Try using PROT_GROWSDOWN flag
and fall back if it fails with EINVAL.
[_STACK_GROWS_UP] [PROT_GROWSUP]: Likewise for PROT_GROWSUP.

16 years agoUpdate.
drepper [Thu, 25 Sep 2003 22:01:15 +0000 (22:01 +0000)]
Update.

16 years agoAvoid using #include_next.
drepper [Thu, 25 Sep 2003 22:00:32 +0000 (22:00 +0000)]
Avoid using #include_next.

16 years agoInclude sysdeps/i386/dl-procinfo.c instead of
drepper [Thu, 25 Sep 2003 22:00:18 +0000 (22:00 +0000)]
Include sysdeps/i386/dl-procinfo.c instead of
sysdeps/unix/sysv/linux/i386/dl-procinfo.c.

16 years agoUpdate.
drepper [Thu, 25 Sep 2003 20:48:59 +0000 (20:48 +0000)]
Update.

16 years ago(peek_token): Remove recent changes for anchor handling again.
drepper [Thu, 25 Sep 2003 20:48:17 +0000 (20:48 +0000)]
(peek_token): Remove recent changes for anchor handling again.
(parse_reg_exp): Likewise.

16 years agoRemove RE_CARET_ANCHORS_HERE.
drepper [Thu, 25 Sep 2003 20:47:33 +0000 (20:47 +0000)]
Remove RE_CARET_ANCHORS_HERE.

16 years agoUpdate.
drepper [Thu, 25 Sep 2003 20:31:23 +0000 (20:31 +0000)]
Update.

16 years ago($(objpfx)version-info.h): Fix sed script to handle banners.
drepper [Thu, 25 Sep 2003 20:29:39 +0000 (20:29 +0000)]
($(objpfx)version-info.h): Fix sed script to handle banners.

16 years agoUpdate.
drepper [Thu, 25 Sep 2003 19:44:55 +0000 (19:44 +0000)]
Update.

16 years agoAdd check for NULL return value of nis_list.
drepper [Thu, 25 Sep 2003 19:44:20 +0000 (19:44 +0000)]
Add check for NULL return value of nis_list.

16 years ago(nis_list): Always strdup string used with ibreq->ibr_name. Add
drepper [Thu, 25 Sep 2003 19:42:30 +0000 (19:42 +0000)]
(nis_list): Always strdup string used with ibreq->ibr_name.  Add
several NULL pointer checks.

16 years agoUpdate.
drepper [Thu, 25 Sep 2003 16:53:29 +0000 (16:53 +0000)]
Update.

16 years agoDefine PROT_GROWSDOWN and PROT_GROWSUP.
drepper [Thu, 25 Sep 2003 16:43:08 +0000 (16:43 +0000)]
Define PROT_GROWSDOWN and PROT_GROWSUP.

16 years agoDefine PROT_GROWSDOWN and PROT_GROWSUP.
drepper [Thu, 25 Sep 2003 16:42:43 +0000 (16:42 +0000)]
Define PROT_GROWSDOWN and PROT_GROWSUP.

16 years agoUpdate.
drepper [Thu, 25 Sep 2003 16:40:57 +0000 (16:40 +0000)]
Update.

16 years agoDefine PROT_GROWSDOWN and PROT_GROWSUP.
drepper [Thu, 25 Sep 2003 16:39:37 +0000 (16:39 +0000)]
Define PROT_GROWSDOWN and PROT_GROWSUP.

16 years agoUpdate.
drepper [Thu, 25 Sep 2003 15:34:03 +0000 (15:34 +0000)]
Update.

16 years agoInclude locale.h.
drepper [Thu, 25 Sep 2003 15:32:44 +0000 (15:32 +0000)]
Include locale.h.
(vsyslog): Add date always in C locale %h %e %T format.

16 years agoCleanup whitespaces.
drepper [Thu, 25 Sep 2003 05:57:16 +0000 (05:57 +0000)]
Cleanup whitespaces.

16 years agoUpdate.
drepper [Thu, 25 Sep 2003 05:38:48 +0000 (05:38 +0000)]
Update.

16 years ago(make_hol, hol_append): Likewise.
drepper [Thu, 25 Sep 2003 05:34:48 +0000 (05:34 +0000)]
(make_hol, hol_append): Likewise.
(SIZE_MAX): New macro.

16 years ago(__argp_fmtstream_ensure): Check for size_t overflow when reallocating storage.
drepper [Thu, 25 Sep 2003 05:34:28 +0000 (05:34 +0000)]
(__argp_fmtstream_ensure): Check for size_t overflow when reallocating storage.

16 years ago.
roland [Thu, 25 Sep 2003 03:55:10 +0000 (03:55 +0000)]
.

16 years ago2003-08-01 Alfred M. Szmidt <ams@kemisten.nu>
roland [Thu, 25 Sep 2003 03:54:54 +0000 (03:54 +0000)]
2003-08-01  Alfred M. Szmidt  <ams@kemisten.nu>

* sysdeps/i386/dl-procinfo.h: New file, contents taken from ...
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: ... here.
#include_next dl-procinfo.h to get them.
(_DL_HWCAP_COUNT): Moved to sysdeps/i386/dl-procinfo.h.
(_DL_PLATFORMS_COUNT): Likewise.
(_DL_FIRST_PLATFORM): Likewise.
(_DL_HWCAP_PLATFORM): Likewise.
(HWCAP_I386_FPU, HWCAP_I386_VME, HWCAP_I386_DE, HWCAP_I386_PSE,
HWCAP_I386_TSC, HWCAP_I386_MSR, HWCAP_I386_PAE, HWCAP_I386_MCE,
HWCAP_I386_CX8, HWCAP_I386_APIC, HWCAP_I386_SEP, HWCAP_I386_MTRR,
HWCAP_I386_PGE, HWCAP_I386_MCA, HWCAP_I386_CMOV,
HWCAP_I386_FCMOV, HWCAP_I386_MMX, HWCAP_I386_OSFXSR,
HWCAP_I386_XMM, HWCAP_I386_XMM2, HWCAP_I386_AMD3D,
HWCAP_IMPORTANT): Likewise.
(_DL_PROCINFO_H_): Likewise.
(_dl_hwcap_string, _dl_platform_string, _dl_string_hwcap): Likewise.
(_dl_string_platform): Likewise.
* sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Moved to ...
* sysdeps/i386/dl-procinfo.c: ... here, new file.

16 years ago2003-08-07 Alfred M. Szmidt <ams@kemisten.nu>
roland [Thu, 25 Sep 2003 03:54:51 +0000 (03:54 +0000)]
2003-08-07  Alfred M. Szmidt  <ams@kemisten.nu>

* sysdeps/mach/hurd/bits/libc-lock.h
(__libc_cleanup_push, __libc_cleanup_pop): New macros.

16 years ago.
roland [Thu, 25 Sep 2003 03:50:54 +0000 (03:50 +0000)]
.

16 years ago2003-09-24 Roland McGrath <roland@redhat.com>
roland [Thu, 25 Sep 2003 03:50:45 +0000 (03:50 +0000)]
2003-09-24  Roland McGrath  <roland@redhat.com>

* allocatestack.c (__make_stacks_executable): Don't ignore return
value from _dl_make_stack_executable.

16 years agoUpdate.
drepper [Thu, 25 Sep 2003 03:31:59 +0000 (03:31 +0000)]
Update.

16 years ago(__make_stacks_executable): Also change permission of the currently
drepper [Thu, 25 Sep 2003 03:31:10 +0000 (03:31 +0000)]
(__make_stacks_executable): Also change permission of the currently
unused stacks.