kopensolaris-gnu/glibc.git
20 years agoUse __malloc_initialize_hook to install mcheck handler.
drepper [Mon, 27 Mar 2000 18:04:56 +0000 (18:04 +0000)]
Use __malloc_initialize_hook to install mcheck handler.

20 years ago(_IO_obstack_vprintf): Fix one more memory handling problem.
drepper [Mon, 27 Mar 2000 18:03:07 +0000 (18:03 +0000)]
(_IO_obstack_vprintf): Fix one more memory handling problem.

20 years ago.
roland [Mon, 27 Mar 2000 16:51:19 +0000 (16:51 +0000)]
.

20 years ago2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
roland [Mon, 27 Mar 2000 16:51:02 +0000 (16:51 +0000)]
2000-03-27  Roland McGrath  <roland@baalperazim.frob.com>

* stdio-common/tmpfile.c: Use <shlib-compat.h> macros.

20 years ago.
roland [Mon, 27 Mar 2000 15:08:19 +0000 (15:08 +0000)]
.

20 years ago2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
roland [Mon, 27 Mar 2000 15:07:53 +0000 (15:07 +0000)]
2000-03-27  Roland McGrath  <roland@baalperazim.frob.com>

* include/shlib-compat.h: Conditionalize <abi-versions.h> include
on [HAVE_ELF && DO_VERSIONING].

20 years ago(main): Make a bit more exciting.
drepper [Mon, 27 Mar 2000 08:42:51 +0000 (08:42 +0000)]
(main): Make a bit more exciting.

20 years agoUpdate.
drepper [Mon, 27 Mar 2000 08:30:50 +0000 (08:30 +0000)]
Update.

20 years agoTest for obprintf function.
drepper [Mon, 27 Mar 2000 08:30:17 +0000 (08:30 +0000)]
Test for obprintf function.

20 years agoUpdate.
drepper [Mon, 27 Mar 2000 07:36:16 +0000 (07:36 +0000)]
Update.

20 years ago(_IO_default_xsputn): Little optimization. Call _IO_OVERFLOW directly instead
drepper [Mon, 27 Mar 2000 07:35:58 +0000 (07:35 +0000)]
(_IO_default_xsputn): Little optimization.  Call _IO_OVERFLOW directly instead
through __overflow.

20 years agoUpdate.
drepper [Mon, 27 Mar 2000 06:37:56 +0000 (06:37 +0000)]
Update.

20 years ago(construct_output_path): If path contains a / compute the end of the
drepper [Mon, 27 Mar 2000 06:37:37 +0000 (06:37 +0000)]
(construct_output_path): If path contains a / compute the end of the
directory name correctly.

20 years agoRemove extra prototype.
drepper [Mon, 27 Mar 2000 05:58:12 +0000 (05:58 +0000)]
Remove extra prototype.

20 years ago(check_all): Turn off pedantic flag for the time of check to avoid recursion.
drepper [Mon, 27 Mar 2000 05:51:57 +0000 (05:51 +0000)]
(check_all): Turn off pedantic flag for the time of check to avoid recursion.

20 years agoUpdate.
drepper [Mon, 27 Mar 2000 05:36:34 +0000 (05:36 +0000)]
Update.

20 years ago[libc] (GLIBC_2.2): Add mcheck_pedantic.
drepper [Mon, 27 Mar 2000 05:36:12 +0000 (05:36 +0000)]
[libc] (GLIBC_2.2): Add mcheck_pedantic.

20 years agoDeclare mcheck_pedantic.
drepper [Mon, 27 Mar 2000 05:35:46 +0000 (05:35 +0000)]
Declare mcheck_pedantic.

20 years agoImplement pedantic checking of all allocated blocks whenever a
drepper [Mon, 27 Mar 2000 05:34:47 +0000 (05:34 +0000)]
Implement pedantic checking of all allocated blocks whenever a
function is called.  Initiated by calling mcheck_pedantic instead of
mcheck.

20 years agoUse mcheck_pedantic instead of mcheck for now.
drepper [Mon, 27 Mar 2000 05:33:45 +0000 (05:33 +0000)]
Use mcheck_pedantic instead of mcheck for now.

20 years ago[libpthread] (GLIBC_2.2): Add sem_timedwait.
drepper [Mon, 27 Mar 2000 05:33:05 +0000 (05:33 +0000)]
[libpthread] (GLIBC_2.2): Add sem_timedwait.

20 years agoUpdate.
drepper [Mon, 27 Mar 2000 05:32:56 +0000 (05:32 +0000)]
Update.

20 years ago(sem_timedwait): Declare.
drepper [Mon, 27 Mar 2000 05:32:17 +0000 (05:32 +0000)]
(sem_timedwait): Declare.

20 years ago(sem_timedwait): New function.
drepper [Mon, 27 Mar 2000 05:32:09 +0000 (05:32 +0000)]
(sem_timedwait): New function.

20 years ago.
drepper [Mon, 27 Mar 2000 05:31:53 +0000 (05:31 +0000)]
.

20 years agoUndef and document __USE_XOPEN2K.
drepper [Mon, 27 Mar 2000 05:30:59 +0000 (05:30 +0000)]
Undef and document __USE_XOPEN2K.

20 years ago.
roland [Mon, 27 Mar 2000 05:18:47 +0000 (05:18 +0000)]
.

20 years ago2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
roland [Mon, 27 Mar 2000 05:18:31 +0000 (05:18 +0000)]
2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>

* dlfcn/dlopen.c: Use <shlib-compat.h> macros.
* dlfcn/dlopenold.c: Likewise.
* nss/getXXbyYY_r.c: Likewise.
* nss/getXXent_r.c: Likewise.
* hurd/hurdinit.c: Likewise.
* hurd/compat-20.c: Likewise.
* libio/oldiofopen.c: Likewise.
* libio/oldiofclose.c: Likewise.
* libio/oldiofdopen.c: Likewise.
* libio/oldfileops.c: Likewise.
* libio/oldstdfiles.c: Likewise.
* libio/oldiofsetpos.c: Likewise.
* libio/oldiofgetpos.c: Likewise.
* libio/oldiofgetpos64.c: Likewise.
* libio/oldiofsetpos64.c: Likewise.
* libio/oldiopopen.c: Likewise.
* libio/oldpclose.c: Likewise.
* libio/oldtmpfile.c: Likewise.
* libio/freopen.c (freopen): Likewise.
* libio/iofclose.c (_IO_new_fclose): Likewise.

20 years ago.
roland [Mon, 27 Mar 2000 04:09:19 +0000 (04:09 +0000)]
.

20 years ago2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
roland [Mon, 27 Mar 2000 04:09:08 +0000 (04:09 +0000)]
2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/sys/reboot.h: Include <features.h>.
(reboot): Declare it.

20 years agoConditionalize stuff on _LIBC.
roland [Mon, 27 Mar 2000 04:00:06 +0000 (04:00 +0000)]
Conditionalize stuff on _LIBC.

20 years ago.
roland [Mon, 27 Mar 2000 03:57:46 +0000 (03:57 +0000)]
.

20 years ago2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
roland [Mon, 27 Mar 2000 03:57:06 +0000 (03:57 +0000)]
2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/pthread/Makefile: File removed.

20 years ago2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
roland [Mon, 27 Mar 2000 03:56:52 +0000 (03:56 +0000)]
2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>

* libio/Makefile (headers): Add bits/stdio-lock.h here.

20 years ago2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
roland [Mon, 27 Mar 2000 03:56:46 +0000 (03:56 +0000)]
2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/bits/stdio-lock.h: New file.

20 years ago.
roland [Mon, 27 Mar 2000 01:09:25 +0000 (01:09 +0000)]
.

20 years ago2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
roland [Mon, 27 Mar 2000 01:09:18 +0000 (01:09 +0000)]
2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>

* include/shlib-compat.h: Include <abi-versions.h> unconditionally.

20 years agoUpdate.
drepper [Sun, 26 Mar 2000 21:24:46 +0000 (21:24 +0000)]
Update.

20 years ago(intptr_t): Conditionalize on [__USE_MISC ||
drepper [Sun, 26 Mar 2000 21:24:35 +0000 (21:24 +0000)]
(intptr_t): Conditionalize on [__USE_MISC ||
__USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
We need this for the sbrk decl, which can be included without Unix98.

20 years agoUpdate.
drepper [Sun, 26 Mar 2000 20:35:45 +0000 (20:35 +0000)]
Update.

20 years agoFix more warnings.
drepper [Sun, 26 Mar 2000 20:34:28 +0000 (20:34 +0000)]
Fix more warnings.

20 years agoClarify use of __ASSUME_32BITUIDS.
drepper [Sun, 26 Mar 2000 20:30:58 +0000 (20:30 +0000)]
Clarify use of __ASSUME_32BITUIDS.

20 years ago(ELF_MACHINE_RUNTIME_TRAMPOLINE): Use a C comment, not an assembly comment.
drepper [Sun, 26 Mar 2000 20:29:55 +0000 (20:29 +0000)]
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Use a C comment, not an assembly comment.

20 years ago(tests): Avoid trigraphs.
drepper [Sun, 26 Mar 2000 20:28:45 +0000 (20:28 +0000)]
(tests): Avoid trigraphs.

20 years ago(print_partial_compiled_pattern): Cast all ptrdiff_t to long for printing.
drepper [Sun, 26 Mar 2000 20:27:43 +0000 (20:27 +0000)]
(print_partial_compiled_pattern): Cast all ptrdiff_t to long for printing.
(print_compiled_pattern): Use Z for printing size_t.

20 years ago(_nss_nis_getservbyport_r): Last argument to yperr2nss is an int, not size_t.
drepper [Sun, 26 Mar 2000 20:00:44 +0000 (20:00 +0000)]
(_nss_nis_getservbyport_r): Last argument to yperr2nss is an int, not size_t.

20 years agoUpdate.
drepper [Sun, 26 Mar 2000 19:56:39 +0000 (19:56 +0000)]
Update.

20 years agoRemove K&R prototypes.
drepper [Sun, 26 Mar 2000 19:56:04 +0000 (19:56 +0000)]
Remove K&R prototypes.

20 years ago.
roland [Sun, 26 Mar 2000 19:17:23 +0000 (19:17 +0000)]
.

20 years ago2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
roland [Sun, 26 Mar 2000 19:17:11 +0000 (19:17 +0000)]
2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>

* Versions.def (libmachuser, libhurduser): Remove these sections,
since these libraries do not presently use symbol versions.

20 years ago2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
roland [Sun, 26 Mar 2000 19:17:03 +0000 (19:17 +0000)]
2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
is RLIM_INFINITY, return -1 instead.

20 years ago2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
roland [Sun, 26 Mar 2000 19:16:56 +0000 (19:16 +0000)]
2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
an initial value of 1024 instead of RLIM_INFINITY.

20 years agoUpdate.
drepper [Sun, 26 Mar 2000 18:48:26 +0000 (18:48 +0000)]
Update.

20 years ago(postclean): Added soversions.i.
drepper [Sun, 26 Mar 2000 18:43:19 +0000 (18:43 +0000)]
(postclean): Added soversions.i.

20 years agoProcessor context definitions for Linux/Arm.
drepper [Sun, 26 Mar 2000 18:41:48 +0000 (18:41 +0000)]
Processor context definitions for Linux/Arm.

20 years agoDefine _FPU_MASK_IM, _FPU_MASK_ZM, _FPU_MASK_OM, _FPU_MASK_UM,
drepper [Sun, 26 Mar 2000 18:40:17 +0000 (18:40 +0000)]
Define _FPU_MASK_IM, _FPU_MASK_ZM, _FPU_MASK_OM, _FPU_MASK_UM,
_FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT, and _FPU_IEEE.  Change
_FPU_RESERVED.

20 years ago(getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
drepper [Sun, 26 Mar 2000 18:32:25 +0000 (18:32 +0000)]
(getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
Don't use __libc_sa_len, which only exists for Linux.  Just handle
AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
only flavors supported by this function anyway.

20 years agoInclude <net/if.h> for if_nametoindex.
drepper [Sun, 26 Mar 2000 18:31:43 +0000 (18:31 +0000)]
Include <net/if.h> for if_nametoindex.
(gaih_inet): Remove unused duplicate variable.

20 years agoCorrected problems with missing signs and
drepper [Sun, 26 Mar 2000 18:28:02 +0000 (18:28 +0000)]
Corrected problems with missing signs and
missing or extra spaces; allow for sign strings longer than
one character; add padding to ensure positive and negative
formats are aligned when a left precision is used.

20 years ago(__setstate_r): Allow RNGs of type 4.
drepper [Sun, 26 Mar 2000 18:15:03 +0000 (18:15 +0000)]
(__setstate_r): Allow RNGs of type 4.

20 years agoUpdate.
drepper [Sun, 26 Mar 2000 06:05:37 +0000 (06:05 +0000)]
Update.

20 years agoUpdate.
drepper [Sun, 26 Mar 2000 06:04:58 +0000 (06:04 +0000)]
Update.

20 years agoRemove references to crypt add-on.
drepper [Sun, 26 Mar 2000 06:03:42 +0000 (06:03 +0000)]
Remove references to crypt add-on.

20 years ago.
roland [Sat, 25 Mar 2000 20:20:44 +0000 (20:20 +0000)]
.

20 years ago2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
roland [Sat, 25 Mar 2000 20:20:22 +0000 (20:20 +0000)]
2000-03-25  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
section while taking the _hurd_rlimit_lock.
* sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.

20 years ago.
roland [Fri, 24 Mar 2000 21:41:15 +0000 (21:41 +0000)]
.

20 years ago2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
roland [Fri, 24 Mar 2000 21:41:04 +0000 (21:41 +0000)]
2000-03-24  Roland McGrath  <roland@baalperazim.frob.com>

* Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
using $(LN_S).

20 years ago.
roland [Fri, 24 Mar 2000 20:59:00 +0000 (20:59 +0000)]
.

20 years ago2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
roland [Fri, 24 Mar 2000 20:58:39 +0000 (20:58 +0000)]
2000-03-24  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/unix/sysv/linux/net/if.h: Moved to ...
* sysdeps/gnu/net/if.h: here.
(_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
* sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
* sysdeps/generic/net/if.h: New file.  Declares just the standard
functions and `struct if_nameindex' type.
* socket/Makefile (headers): Add net/if.h here.
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
* sysdeps/mach/hurd/Dist: Remove it here.
* sysdeps/unix/sysv/linux/Dist: And here.
* sysdeps/generic/if_index.c: Include <net/if.h>.

20 years ago2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
roland [Fri, 24 Mar 2000 20:58:32 +0000 (20:58 +0000)]
2000-03-24  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/if_index.c: New file.

20 years ago(Interface Naming): Fix typo: IFNAMSIZE -> IFNAMSIZ
roland [Fri, 24 Mar 2000 19:11:18 +0000 (19:11 +0000)]
(Interface Naming): Fix typo: IFNAMSIZE -> IFNAMSIZ

20 years agoUpdate.
aj [Fri, 24 Mar 2000 15:27:52 +0000 (15:27 +0000)]
Update.

20 years ago2000-03-24 Andreas Jaeger <aj@suse.de>
aj [Fri, 24 Mar 2000 15:27:37 +0000 (15:27 +0000)]
2000-03-24  Andreas Jaeger  <aj@suse.de>

* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
access relocated entries in l_info.
(elf_machine_got_rel): Likewise.
(elf_machine_runtime_setup): Likewise.
* sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
(elf_machine_runtime_setup): Likewise.
(__dl_runtime_resolve): Likewise.

20 years agoCorrect path for ldsodefs.h file.
drepper [Thu, 23 Mar 2000 22:46:19 +0000 (22:46 +0000)]
Correct path for ldsodefs.h file.

20 years agoMoved to sysdeps/generic.
drepper [Thu, 23 Mar 2000 22:45:29 +0000 (22:45 +0000)]
Moved to sysdeps/generic.

20 years agoUpdate.
drepper [Thu, 23 Mar 2000 22:16:37 +0000 (22:16 +0000)]
Update.

20 years ago(__fork): Call __pthread_reset_pthread_once.
drepper [Thu, 23 Mar 2000 22:16:31 +0000 (22:16 +0000)]
(__fork): Call __pthread_reset_pthread_once.

20 years ago(__pthread_reset_pthread_once): Add prototype.
drepper [Thu, 23 Mar 2000 22:16:21 +0000 (22:16 +0000)]
(__pthread_reset_pthread_once): Add prototype.

20 years ago(__pthread_reset_pthread_once): Reset once_masterlock.
drepper [Thu, 23 Mar 2000 22:16:06 +0000 (22:16 +0000)]
(__pthread_reset_pthread_once): Reset once_masterlock.

20 years agoUpdate.
drepper [Thu, 23 Mar 2000 21:34:58 +0000 (21:34 +0000)]
Update.

20 years ago(pthread_handle_create): Store ID of new thread before clone call.
drepper [Thu, 23 Mar 2000 21:34:49 +0000 (21:34 +0000)]
(pthread_handle_create): Store ID of new thread before clone call.

20 years agoFix compilation errors after last change.
drepper [Thu, 23 Mar 2000 21:27:49 +0000 (21:27 +0000)]
Fix compilation errors after last change.

20 years agoUpdate.
drepper [Thu, 23 Mar 2000 21:21:57 +0000 (21:21 +0000)]
Update.

20 years agoChange to follow latest RFC draft.
drepper [Thu, 23 Mar 2000 21:21:48 +0000 (21:21 +0000)]
Change to follow latest RFC draft.

20 years agoChange to follow latest RFC draft.
drepper [Thu, 23 Mar 2000 21:21:39 +0000 (21:21 +0000)]
Change to follow latest RFC draft.

20 years ago(struct sockaddr_in6): Add sin6_scope_id according to RFC 2553.
drepper [Thu, 23 Mar 2000 21:21:26 +0000 (21:21 +0000)]
(struct sockaddr_in6): Add sin6_scope_id according to RFC 2553.

20 years ago(SCOPE_DELIMITER): New definitions.
drepper [Thu, 23 Mar 2000 21:21:13 +0000 (21:21 +0000)]
(SCOPE_DELIMITER): New definitions.

20 years agoUpdate.
drepper [Thu, 23 Mar 2000 20:43:26 +0000 (20:43 +0000)]
Update.

20 years ago(internal_ucs4_loop, internal_ucs4le_loop): Remove no-op pointer increment.
drepper [Thu, 23 Mar 2000 20:43:22 +0000 (20:43 +0000)]
(internal_ucs4_loop, internal_ucs4le_loop): Remove no-op pointer increment.

20 years agoUpdate.
drepper [Thu, 23 Mar 2000 20:42:34 +0000 (20:42 +0000)]
Update.

20 years ago(cookieseek): Change prototype to follow change for libio.h from 2000-03-10.
drepper [Thu, 23 Mar 2000 20:42:27 +0000 (20:42 +0000)]
(cookieseek): Change prototype to follow change for libio.h from 2000-03-10.

20 years agoUpdate.
drepper [Thu, 23 Mar 2000 20:31:46 +0000 (20:31 +0000)]
Update.

20 years ago(DISTINGUISH_LIB_VERSIONS): Use D_PTR to access relocated entries in l_info.
drepper [Thu, 23 Mar 2000 20:31:33 +0000 (20:31 +0000)]
(DISTINGUISH_LIB_VERSIONS): Use D_PTR to access relocated entries in l_info.

20 years agoAdjust include paths for ldsodefs location change.
drepper [Thu, 23 Mar 2000 20:31:00 +0000 (20:31 +0000)]
Adjust include paths for ldsodefs location change.

20 years agoAdjust include paths for ldsodefs location change.
drepper [Thu, 23 Mar 2000 20:30:16 +0000 (20:30 +0000)]
Adjust include paths for ldsodefs location change.

20 years agoMIPS specific additions to the internal definitions for the dynamic loader.
drepper [Thu, 23 Mar 2000 20:30:03 +0000 (20:30 +0000)]
MIPS specific additions to the internal definitions for the dynamic loader.

20 years agoAdjust include paths for ldsodefs location change.
drepper [Thu, 23 Mar 2000 20:29:37 +0000 (20:29 +0000)]
Adjust include paths for ldsodefs location change.

20 years ago(elf_machine_runtime_setup): Use D_PTR to access relocated entries in l_info.
drepper [Thu, 23 Mar 2000 20:29:11 +0000 (20:29 +0000)]
(elf_machine_runtime_setup): Use D_PTR to access relocated entries in l_info.
(elf_machine_rel): Likewise.

20 years agoAdjust include paths for ldsodefs location change.
drepper [Thu, 23 Mar 2000 20:28:43 +0000 (20:28 +0000)]
Adjust include paths for ldsodefs location change.

20 years agoInternal definitions for the dynamic loader.
drepper [Thu, 23 Mar 2000 20:28:26 +0000 (20:28 +0000)]
Internal definitions for the dynamic loader.