kopensolaris-gnu/glibc.git
15 years agoFix values for _POSIX_CHILD_MAX and _POSIX_OPEN_MAX. Add
drepper [Fri, 23 Jul 2004 06:43:58 +0000 (06:43 +0000)]
Fix values for _POSIX_CHILD_MAX and _POSIX_OPEN_MAX.  Add
_POSIX_HOST_NAME_MAX, _POSIX_SYMLINK_MAX, _POSIX_SYMLOOP_MAX, and
_POSIX_RE_DUP_MAX.

15 years agoUpdate.
drepper [Fri, 23 Jul 2004 06:27:05 +0000 (06:27 +0000)]
Update.

15 years ago(getgrent_next_nss): Don't allocate memory for large temporary
drepper [Fri, 23 Jul 2004 06:26:21 +0000 (06:26 +0000)]
(getgrent_next_nss): Don't allocate memory for large temporary
variables with alloca.

15 years agoUpdate.
drepper [Fri, 23 Jul 2004 06:09:22 +0000 (06:09 +0000)]
Update.

15 years ago(nscd_getgr_r): Avoid read call with NULL pointer and zero length.
drepper [Fri, 23 Jul 2004 06:08:46 +0000 (06:08 +0000)]
(nscd_getgr_r): Avoid read call with NULL pointer and zero length.

15 years agoUpdate.
drepper [Thu, 22 Jul 2004 01:48:25 +0000 (01:48 +0000)]
Update.

15 years ago(prune_cache): Print correct list when debugging.
drepper [Thu, 22 Jul 2004 01:47:28 +0000 (01:47 +0000)]
(prune_cache): Print correct list when debugging.

15 years ago.
roland [Wed, 21 Jul 2004 23:14:57 +0000 (23:14 +0000)]
.

15 years ago2004-07-19 Roland McGrath <roland@redhat.com>
roland [Wed, 21 Jul 2004 23:14:46 +0000 (23:14 +0000)]
2004-07-19  Roland McGrath  <roland@redhat.com>

* tst-cancel4.c (tf_waitid): Use WEXITED flag bit if available.

15 years ago2004-07-21 Roland McGrath <roland@redhat.com>
roland [Wed, 21 Jul 2004 23:14:37 +0000 (23:14 +0000)]
2004-07-21  Roland McGrath  <roland@redhat.com>

* Makefile ($(objpfx)multidir.mk): Use $(make-target-directory).

15 years ago2004-07-21 Roland McGrath <roland@redhat.com>
roland [Wed, 21 Jul 2004 23:14:27 +0000 (23:14 +0000)]
2004-07-21  Roland McGrath  <roland@redhat.com>

* Makefile ($(objpfx)multidir.mk): Use $(make-target-directory).

15 years agoUpdate.
drepper [Wed, 21 Jul 2004 18:30:11 +0000 (18:30 +0000)]
Update.

15 years agoAdd rules to build and run tst-leaks2.
drepper [Wed, 21 Jul 2004 18:29:12 +0000 (18:29 +0000)]
Add rules to build and run tst-leaks2.

15 years agoCheck for memory leak in resolver init code.
drepper [Wed, 21 Jul 2004 18:28:14 +0000 (18:28 +0000)]
Check for memory leak in resolver init code.

15 years ago(res_init): If RES_INIT is set and _res.nscount > 0, call __res_nclose
drepper [Wed, 21 Jul 2004 18:26:43 +0000 (18:26 +0000)]
(res_init): If RES_INIT is set and _res.nscount > 0, call __res_nclose
and free nsaddrs.

15 years agoUpdate.
drepper [Wed, 21 Jul 2004 16:35:30 +0000 (16:35 +0000)]
Update.

15 years agoDon't define macros for C++.
drepper [Wed, 21 Jul 2004 16:34:39 +0000 (16:34 +0000)]
Don't define macros for C++.

15 years agoChange inet_aton type from in_addr_t to int.
drepper [Wed, 21 Jul 2004 16:28:39 +0000 (16:28 +0000)]
Change inet_aton type from in_addr_t to int.

15 years ago.
aj [Wed, 21 Jul 2004 06:13:26 +0000 (06:13 +0000)]
.

15 years agoAdd semtimedop.
aj [Wed, 21 Jul 2004 06:13:15 +0000 (06:13 +0000)]
Add semtimedop.

15 years ago.
roland [Tue, 20 Jul 2004 22:14:59 +0000 (22:14 +0000)]
.

15 years ago2004-07-20 Roland McGrath <roland@redhat.com>
roland [Tue, 20 Jul 2004 22:14:51 +0000 (22:14 +0000)]
2004-07-20  Roland McGrath  <roland@redhat.com>

* configure.in (add_ons): Substitute this.  Move $add_ons handling
after AC_CANONICAL_HOST and default setting of $machine et al.
Don't set $subdirs from $add_ons.
Instead, source add-on/configure fragments early on.
(base_machine): If it's already set, don't set it based on $machine.
(libc_config_ok): New variable, set to no.  If an add-on fragment sets
it to yes, skip the  tuple sanity check as if --enable-hacker-mode.
(sysnames): Try appending add-on names after machine as well.
* configure: Regenerated.
* config.make.in (add-ons): Set from @add_ons@ instead of @subdirs@.
* Makeconfig ($(common-objpfx)config.status): Also depend on configure
files in $(add_ons) dirs.

15 years ago2004-07-20 Roland McGrath <roland@redhat.com>
roland [Tue, 20 Jul 2004 22:14:46 +0000 (22:14 +0000)]
2004-07-20  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/bits/in.h (struct ip_mreq): Remove
definition, now in netinet/in.h proper.

15 years ago.
roland [Tue, 20 Jul 2004 22:13:16 +0000 (22:13 +0000)]
.

15 years ago2004-07-02 Roland McGrath <roland@redhat.com>
roland [Tue, 20 Jul 2004 22:12:49 +0000 (22:12 +0000)]
2004-07-02  Roland McGrath  <roland@redhat.com>

* configure: Don't exit.

15 years ago2004-07-02 Roland McGrath <roland@redhat.com>
roland [Tue, 20 Jul 2004 22:12:35 +0000 (22:12 +0000)]
2004-07-02  Roland McGrath  <roland@redhat.com>

* configure: Don't exit.

15 years ago.
drepper [Tue, 20 Jul 2004 19:04:26 +0000 (19:04 +0000)]
.

15 years agoFix entries.
aj [Tue, 20 Jul 2004 18:43:28 +0000 (18:43 +0000)]
Fix entries.

15 years agoUPdate.
aj [Tue, 20 Jul 2004 16:39:49 +0000 (16:39 +0000)]
UPdate.

15 years ago($(objpfx)syscall-%.h): Sort by syscalls. Make sure we get headers such
aj [Tue, 20 Jul 2004 16:37:41 +0000 (16:37 +0000)]
($(objpfx)syscall-%.h): Sort by syscalls.  Make sure we get headers such
as sgidefs.h from the build tree before just-installed ones.

15 years ago Use standard names for ABI macros, include sgidefs.h where appropriate.
aj [Tue, 20 Jul 2004 16:35:28 +0000 (16:35 +0000)]
 Use standard names for ABI macros, include sgidefs.h where appropriate.

15 years agoUpdate.
aj [Tue, 20 Jul 2004 16:26:45 +0000 (16:26 +0000)]
Update.

15 years ago(__dl_runtime_resolve): Update to use _dl_lookup_symbol_x.
aj [Tue, 20 Jul 2004 09:24:49 +0000 (09:24 +0000)]
(__dl_runtime_resolve): Update to use _dl_lookup_symbol_x.
(elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error.

15 years agoUpdate.
drepper [Tue, 20 Jul 2004 07:53:39 +0000 (07:53 +0000)]
Update.

15 years agoDefine struct group_req and struct group_source_req.
drepper [Tue, 20 Jul 2004 07:52:09 +0000 (07:52 +0000)]
Define struct group_req and struct group_source_req.

15 years agoMore comments.
drepper [Tue, 20 Jul 2004 07:46:59 +0000 (07:46 +0000)]
More comments.

15 years agoUpdate.
drepper [Tue, 20 Jul 2004 07:41:51 +0000 (07:41 +0000)]
Update.

15 years agoDefine MCAST_INCLUDE and MCAST_EXCLUDE.
drepper [Tue, 20 Jul 2004 07:41:06 +0000 (07:41 +0000)]
Define MCAST_INCLUDE and MCAST_EXCLUDE.

15 years agoUpdate.
drepper [Tue, 20 Jul 2004 07:39:10 +0000 (07:39 +0000)]
Update.

15 years agoDefine struct ip_mreq and struct ip_mreq_source.
drepper [Tue, 20 Jul 2004 07:38:22 +0000 (07:38 +0000)]
Define struct ip_mreq and struct ip_mreq_source.

15 years agoDefine IP_UNBLOCK_SOURCE, IP_BLOCK_SOURCE, IP_ADD_SOURCE_MEMBERSHIP,
drepper [Tue, 20 Jul 2004 07:37:39 +0000 (07:37 +0000)]
Define IP_UNBLOCK_SOURCE, IP_BLOCK_SOURCE, IP_ADD_SOURCE_MEMBERSHIP,
IP_DROP_SOURCE_MEMBERSHIP, IP_MSFILTER, MCAST_JOIN_GROUP,
MCAST_BLOCK_SOURCE, MCAST_UNBLOCK_SOURCE, MCAST_LEAVE_GROUP,
MCAST_JOIN_SOURCE_GROUP, MCAST_LEAVE_SOURCE_GROUP, and MCAST_MSFILTER.

15 years agoUpdate.
drepper [Tue, 20 Jul 2004 07:17:55 +0000 (07:17 +0000)]
Update.

15 years agoAdd new alias WINDOWS-874 for IBM874.
drepper [Tue, 20 Jul 2004 07:16:45 +0000 (07:16 +0000)]
Add new alias WINDOWS-874 for IBM874.

15 years agoUpdate.
drepper [Tue, 20 Jul 2004 07:15:48 +0000 (07:15 +0000)]
Update.

15 years agoAdd alias for IBM874.
drepper [Tue, 20 Jul 2004 07:15:08 +0000 (07:15 +0000)]
Add alias for IBM874.

15 years agoUpdate.
drepper [Tue, 20 Jul 2004 07:06:48 +0000 (07:06 +0000)]
Update.

15 years ago(max_value, min_value): New variables.
drepper [Tue, 20 Jul 2004 07:06:32 +0000 (07:06 +0000)]
(max_value, min_value): New variables.
(initialize): Initialize them.
(pow_test): Add a couple of new tests.

15 years ago(__ieee754_powl): Don't generate invalid exception if |y| >= 1L<<63.
drepper [Tue, 20 Jul 2004 07:05:57 +0000 (07:05 +0000)]
(__ieee754_powl): Don't generate invalid exception if |y| >= 1L<<63.
If y*log2(x) overflows to +-inf, return still +inf/+0 instead of NaN.

15 years ago(__ieee754_pow): Don't generate invalid exception if |y| >= 1L<<63.
drepper [Tue, 20 Jul 2004 07:05:00 +0000 (07:05 +0000)]
(__ieee754_pow): Don't generate invalid exception if |y| >= 1L<<63.

15 years ago(__ieee754_powf): Don't generate invalid exception if |y| >= 1U<<31.
drepper [Tue, 20 Jul 2004 07:04:32 +0000 (07:04 +0000)]
(__ieee754_powf): Don't generate invalid exception if |y| >= 1U<<31.

15 years ago(CFLAGS-pt-initfini.s): Remove redundant override that missed -g0.
aj [Mon, 19 Jul 2004 19:13:58 +0000 (19:13 +0000)]
(CFLAGS-pt-initfini.s): Remove redundant override that missed -g0.

15 years agoUpdate.
drepper [Sun, 18 Jul 2004 18:24:30 +0000 (18:24 +0000)]
Update.

15 years ago(cache_addpw): Optimize case of unsuccessful lookup a bit.
drepper [Sun, 18 Jul 2004 18:23:44 +0000 (18:23 +0000)]
(cache_addpw): Optimize case of unsuccessful lookup a bit.

15 years ago(cache_addgr): Optimize case of unsuccessful lookup a bit.
drepper [Sun, 18 Jul 2004 18:23:07 +0000 (18:23 +0000)]
(cache_addgr): Optimize case of unsuccessful lookup a bit.

15 years ago(cache_addhst): Optimize case of unsuccessful lookup a bit.
drepper [Sun, 18 Jul 2004 18:22:33 +0000 (18:22 +0000)]
(cache_addhst): Optimize case of unsuccessful lookup a bit.

15 years agoUpdate.
drepper [Sun, 18 Jul 2004 16:42:54 +0000 (16:42 +0000)]
Update.

15 years agoRemove symbol _fp_hw.
drepper [Sun, 18 Jul 2004 16:32:55 +0000 (16:32 +0000)]
Remove symbol _fp_hw.

15 years agoUpdate.
drepper [Sun, 18 Jul 2004 16:29:30 +0000 (16:29 +0000)]
Update.

15 years agoCast first argument of __sync_bool_compare_and_swap_si correct to void*.
drepper [Sun, 18 Jul 2004 16:28:59 +0000 (16:28 +0000)]
Cast first argument of __sync_bool_compare_and_swap_si correct to void*.

15 years agoUpdate.
drepper [Sat, 17 Jul 2004 17:45:03 +0000 (17:45 +0000)]
Update.

15 years ago(print_known_names): Make machine-readable output even less cluttered.
drepper [Sat, 17 Jul 2004 17:44:27 +0000 (17:44 +0000)]
(print_known_names): Make machine-readable output even less cluttered.

15 years agoUpdate.
drepper [Fri, 16 Jul 2004 23:09:27 +0000 (23:09 +0000)]
Update.

15 years ago(tests): Add bug269-setjmp.
drepper [Fri, 16 Jul 2004 23:08:37 +0000 (23:08 +0000)]
(tests): Add  bug269-setjmp.

15 years agoTest for setjmp problem on ppc64 (bz 269).
drepper [Fri, 16 Jul 2004 23:08:11 +0000 (23:08 +0000)]
Test for setjmp problem on ppc64 (bz 269).

15 years ago[SHARED && !IS_IN_rtld]: Copy TOC save area from previous frame as R2
drepper [Fri, 16 Jul 2004 23:07:03 +0000 (23:07 +0000)]
[SHARED && !IS_IN_rtld]: Copy TOC save area from previous frame as R2
(TOC) in jmpbuf.

15 years ago[SHARED && !IS_IN_rtld]: Store R2 in TOC save area.
drepper [Fri, 16 Jul 2004 23:06:27 +0000 (23:06 +0000)]
[SHARED && !IS_IN_rtld]: Store R2 in TOC save area.

15 years ago[SHARED && !IS_IN_rtld]: Store R2 from jmpbuf in callers TOC save area.
drepper [Fri, 16 Jul 2004 23:06:01 +0000 (23:06 +0000)]
[SHARED && !IS_IN_rtld]: Store R2 from jmpbuf in callers TOC save area.

15 years agoUpdate.
drepper [Fri, 16 Jul 2004 19:06:46 +0000 (19:06 +0000)]
Update.

15 years agoInclude bits/libc-lock.h.
drepper [Fri, 16 Jul 2004 19:05:49 +0000 (19:05 +0000)]
Include bits/libc-lock.h.
(__libc_setlocale_lock): Extern decl.
(__newlocale): Use it.

15 years agoUpdate.
drepper [Fri, 16 Jul 2004 18:11:48 +0000 (18:11 +0000)]
Update.

15 years ago(__fcntl_nocancel): Define to
drepper [Fri, 16 Jul 2004 18:11:11 +0000 (18:11 +0000)]
(__fcntl_nocancel): Define to
__libc_fcntl if NO_CANCELLATION and __ASSUME_FCNTL64 == 0.
Don't define at all if NO_CANCELLATION and __ASSUME_FCNTL64 > 0.
(__libc_fcntl): Don't define if __fcntl_nocancel is a macro.

15 years ago(__fcntl_nocancel):
drepper [Fri, 16 Jul 2004 18:10:26 +0000 (18:10 +0000)]
(__fcntl_nocancel):
Remove static inline __attribute ((always_inline)).  Don't define
if NO_CANCELLATION.
(__libc_fcntl): Use INLINE_SYSCALL directly instead of
__fcntl_nocancel.

15 years ago(__fcntl_nocancel): Remove
drepper [Fri, 16 Jul 2004 18:09:46 +0000 (18:09 +0000)]
(__fcntl_nocancel): Remove
static inline __attribute ((always_inline)).  Don't define if
NO_CANCELLATION.
(__libc_fcntl): Use INLINE_SYSCALL directly instead of
__fcntl_nocancel.

15 years agoUpdate.
drepper [Fri, 16 Jul 2004 17:56:45 +0000 (17:56 +0000)]
Update.

15 years agoAdd rules to build and run tst-pie1.
drepper [Fri, 16 Jul 2004 17:52:33 +0000 (17:52 +0000)]
Add rules to build and run tst-pie1.

15 years agoTest for main not in PIE.
drepper [Fri, 16 Jul 2004 17:51:55 +0000 (17:51 +0000)]
Test for main not in PIE.

15 years ago(_start): Use @GOT instead of @GOTOFF for main.
drepper [Fri, 16 Jul 2004 17:50:29 +0000 (17:50 +0000)]
(_start): Use @GOT instead of @GOTOFF for main.

15 years agoUpdate.
drepper [Wed, 14 Jul 2004 17:11:14 +0000 (17:11 +0000)]
Update.

15 years ago(l64a): Note that the static buffer is 7 bytes
drepper [Wed, 14 Jul 2004 17:10:28 +0000 (17:10 +0000)]
(l64a): Note that the static buffer is 7 bytes
long.  Rewrite example code so that it takes account l64a output
shorter than 6 characters.

15 years agoUpdate.
drepper [Wed, 14 Jul 2004 16:43:59 +0000 (16:43 +0000)]
Update.

15 years ago(__local_multiple_threads): Define for librt.
drepper [Wed, 14 Jul 2004 16:42:34 +0000 (16:42 +0000)]
(__local_multiple_threads): Define for librt.
(SINGLE_THREAD_P): Likewise.

15 years agoUpdate.
drepper [Wed, 14 Jul 2004 16:41:44 +0000 (16:41 +0000)]
Update.

15 years agoDon't reset _dl_starting_up here.
drepper [Wed, 14 Jul 2004 16:27:04 +0000 (16:27 +0000)]
Don't reset _dl_starting_up here.
(elf_machine_rela_relative): Remove unused valiable.

15 years agoUpdate.
drepper [Wed, 14 Jul 2004 16:25:57 +0000 (16:25 +0000)]
Update.

15 years ago(__pthread_cond_timedwait): Check for invalid nanosecond in timeout value.
drepper [Wed, 14 Jul 2004 16:24:56 +0000 (16:24 +0000)]
(__pthread_cond_timedwait): Check for invalid nanosecond in timeout value.

15 years agoLooks like [BZ #209] is fixed again.
roland [Tue, 13 Jul 2004 01:26:57 +0000 (01:26 +0000)]
Looks like [BZ #209] is fixed again.

15 years ago2004-07-12 Roland McGrath <roland@frob.com>
roland [Tue, 13 Jul 2004 01:25:08 +0000 (01:25 +0000)]
2004-07-12  Roland McGrath  <roland@frob.com>

* ChangeLog: Spurious commit [BZ #209] for testing loginfo script.

15 years ago.
roland [Tue, 13 Jul 2004 00:23:34 +0000 (00:23 +0000)]
.

15 years ago2004-07-12 Paul Eggert <eggert@cs.ucla.edu>
roland [Tue, 13 Jul 2004 00:23:00 +0000 (00:23 +0000)]
2004-07-12  Paul Eggert  <eggert@cs.ucla.edu>

[BZ #263]
* sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Don't store
outside the buffer if the read returns 0.  __strtod_l can't set
endp to NULL, so remove a test for that case.

15 years ago.
roland [Mon, 12 Jul 2004 21:45:28 +0000 (21:45 +0000)]
.

15 years ago2004-07-12 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Jul 2004 21:44:33 +0000 (21:44 +0000)]
2004-07-12  Roland McGrath  <roland@redhat.com>

* manual/signal.texi (Interrupted Primitives): Make clear that
TEMP_FAILURE_RETRY evaluates its expression as long int and compares
it to -1 to define "failure".

15 years agoUpdate.
drepper [Sat, 10 Jul 2004 20:00:44 +0000 (20:00 +0000)]
Update.

15 years ago(elf_machine_rel): Mark with always_inline attribute.
drepper [Sat, 10 Jul 2004 20:00:06 +0000 (20:00 +0000)]
(elf_machine_rel): Mark with always_inline attribute.
(elf_machine_rel_relative): Likewise.

15 years agoDefine PROCINFO_CALLS only if not already defined.
drepper [Sat, 10 Jul 2004 19:59:09 +0000 (19:59 +0000)]
Define PROCINFO_CALLS only if not already defined.

15 years agoAdd alias for internal symbol.
drepper [Sat, 10 Jul 2004 19:58:12 +0000 (19:58 +0000)]
Add alias for internal symbol.

15 years agoAdd libc_hidden_def.
drepper [Sat, 10 Jul 2004 19:54:26 +0000 (19:54 +0000)]
Add libc_hidden_def.

15 years agoAdd libc_hidden_def.
drepper [Sat, 10 Jul 2004 19:53:36 +0000 (19:53 +0000)]
Add libc_hidden_def.

15 years agoOnly define PROCINFO_CLASS if it is not already defined.
drepper [Sat, 10 Jul 2004 19:52:40 +0000 (19:52 +0000)]
Only define PROCINFO_CLASS if it is not already defined.

15 years ago(internal_setnetgrent): Make it hidden
drepper [Sat, 10 Jul 2004 19:51:11 +0000 (19:51 +0000)]
(internal_setnetgrent): Make it hidden
instead of internal-linkage, such that we can alias to it.
(internal_endnetgrent, internal_getnetgrent_r): Likewise.

15 years agoAdd libc_hidden_proto for __strtok_r and __strsep_g.
drepper [Sat, 10 Jul 2004 19:50:27 +0000 (19:50 +0000)]
Add libc_hidden_proto for __strtok_r and __strsep_g.