external/glibc.git
20 years ago2004-07-12 Roland McGrath <roland@redhat.com>
Roland McGrath [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".

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

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

* elf/ldconfig.c: Define PROCINFO_CLASS as static before including
ldsodefs.h.
* sysdeps/generic/ldsodefs.h: Only define PROCINFO_CLASS if it is not
already defined.
* sysdeps/i386/dl-procinfo.c: Define PROCINFO_CALLS only if not
already defined.

* elf/rtld.c (print_statistics): Mark with noinline attribute.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Mark with always_inline
attribute.
(elf_machine_rel_relative): Likewise.

* include/string.h: Add libc_hidden_proto for __strtok_r and
__strsep_g.
* sysdeps/generic/strsep.c: Add libc_hidden_def.
* sysdeps/generic/strtok_r.c: Likewise.
* sysdeps/i386/strtok_r.S: Add alias for internal symbol.
* sysdeps/i386/i686/strtok_r.S: Likewise.
* sysdeps/x86_64/strtok_r.S: Likewise.

2004-07-09  Alexandre Oliva  <aoliva@redhat.com>

* inet/getnetgrent_r.c (internal_setnetgrent): Make it hidden
instead of internal-linkage, such that we can alias to it.
(internal_endnetgrent, internal_getnetgrent_r): Likewise.

20 years agoUpdate.
Ulrich Drepper [Fri, 9 Jul 2004 17:20:48 +0000 (17:20 +0000)]
Update.

2004-07-09  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Move attribute
to the front for gcc 3.5+.
* sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
* include/fcntl.h: Don't declare __fcntl_nocancel here if
NO_CANCELLATION is defined.

20 years agoUpdate.
Ulrich Drepper [Thu, 8 Jul 2004 23:55:54 +0000 (23:55 +0000)]
Update.

2004-07-07  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/pthread/getcpuclockid.c (pthread_getcpuclockid): Allow
using other thread's clock.
* ptclock_gettime.c (__pthread_clock_gettime): Likewise.
* ptclock_settime.c (__pthread_clock_settime): Likewise.
* internals.h (__pthread_clock_gettime, __pthread_clock_settime):
Remove prototypes.
Reported by Bernd Schmidt <bernds@redhat.com>.
* Makefile (librt-tests): Add tst-clock1.
* tst-clock1.c: New test.

* sysdeps/x86_64/Versions: New file.
* sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/posix_opt.h: New file.

20 years agoUpdate.
Ulrich Drepper [Thu, 8 Jul 2004 21:23:23 +0000 (21:23 +0000)]
Update.

2004-04-16  Andreas Schwab  <schwab@suse.de>

* sysdeps/ia64/tls.h (INIT_SYSINFO): Cast dl_sysinfo to void*.

20 years agoUpdate.
Ulrich Drepper [Thu, 8 Jul 2004 00:54:21 +0000 (00:54 +0000)]
Update.

2004-07-07  Jakub Jelinek  <jakub@redhat.com>

* elf/dl-fini.c (_dl_fini): Add nloaded variable, load
GL(dl_nloaded) into it while still in critical section.

20 years ago(_dl_fini): Add nloaded variable, load GL(dl_nloaded) into it while still in critical...
Ulrich Drepper [Thu, 8 Jul 2004 00:52:17 +0000 (00:52 +0000)]
(_dl_fini): Add nloaded variable, load GL(dl_nloaded) into it while still in critical section.

20 years ago* nss/getent.c (print_group, print_passwd): Use %lu format for
Roland McGrath [Wed, 7 Jul 2004 09:49:02 +0000 (09:49 +0000)]
* nss/getent.c (print_group, print_passwd): Use %lu format for

`unsigned long int' values.

* sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Fix syntax
error typos in goto statements.

20 years ago* Makefile (dist-separate): New variable.
Roland McGrath [Wed, 7 Jul 2004 09:38:26 +0000 (09:38 +0000)]
* Makefile (dist-separate): New variable.

(glibc-%.tar rule): Make separate tar files for add-ons listed there.
Depend on their configure files.
(dist-do-separate-dirs): New canned sequence to do that.
(dist-separate-libidn, dist-separate-linuxthreads): New variables.
(dist): Depend on add-on tar files based on $(dist-separate).
(dist-version): New variable, default to $(version).
(tag-for-dist, dist): Use that in place of $(version) in deps.

20 years ago2004-07-07 Roland McGrath <roland@frob.com>
Roland McGrath [Wed, 7 Jul 2004 09:37:20 +0000 (09:37 +0000)]
2004-07-07  Roland McGrath  <roland@frob.com>

* Makefile (dist-separate): New variable.
(glibc-%.tar rule): Make separate tar files for add-ons listed there.
Depend on their configure files.
(dist-do-separate-dirs): New canned sequence to do that.
(dist-separate-libidn, dist-separate-linuxthreads): New variables.
(dist): Depend on add-on tar files based on $(dist-separate).
(dist-version): New variable, default to $(version).
(tag-for-dist, dist): Use that in place of $(version) in deps.

20 years agoUpdate.
Ulrich Drepper [Wed, 7 Jul 2004 07:41:02 +0000 (07:41 +0000)]
Update.

2004-07-07  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-fini.c (_dl_fini): Move the unlock of the ld.so lock
before the loop running the destructors.

20 years agoTest for deadlock situation when running destructors for DSOs.
Ulrich Drepper [Wed, 7 Jul 2004 07:36:37 +0000 (07:36 +0000)]
Test for deadlock situation when running destructors for DSOs.

20 years ago* elf/dl-load.c (_dl_map_object_from_fd): Use the end address of
Roland McGrath [Tue, 6 Jul 2004 22:59:49 +0000 (22:59 +0000)]
* elf/dl-load.c (_dl_map_object_from_fd): Use the end address of

the first segment for mprotect, not l_text_end.

20 years ago2004-05-18 Andreas Schwab <schwab@suse.de>
Roland McGrath [Tue, 6 Jul 2004 22:59:31 +0000 (22:59 +0000)]
2004-05-18  Andreas Schwab  <schwab@suse.de>

* elf/dl-load.c (_dl_map_object_from_fd): Use the end address of
the first segment for mprotect, not l_text_end.

20 years agoFix typo.
Ulrich Drepper [Tue, 6 Jul 2004 07:31:15 +0000 (07:31 +0000)]
Fix typo.

* sysdeps/powerpc/powerpc64/dl-machine.h: Don't reset _dl_starting_up

20 years agoUpdate.
Ulrich Drepper [Tue, 6 Jul 2004 06:49:44 +0000 (06:49 +0000)]
Update.

* elf/dl-profile.c (_dl_start_profile): Compact error handling.
Remove hashfraction variable.  Make kcount and kcountsize local
variables.

20 years agoUpdate.
Ulrich Drepper [Tue, 6 Jul 2004 04:26:42 +0000 (04:26 +0000)]
Update.

2004-07-05  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-init.c: Don't define and use _dl_starting_up if
HAVE_INLINED_SYSCALLS is defined and the variable is not used.
* elf/dl-support.c: Likewise.
* elf/rtld.c: Likewise.
* elf/dl-misc.c (_dl_debug_vdprintf): Use writev syscall directly
if HAVE_INLINED_SYSCALLS is defined.
* sysdeps/powerpc/powerpc64/dl-machine.h: Don't rest _dl_starting_up
here.
* sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
* sysdeps/unix/sysv/linux/configure.in: Define HAVE_INLINED_SYSCALLS.
* config.h.in: Add entry for HAVE_INLINED_SYSCALLS.

* sysdeps/posix/profil.c: If compiled for ld.so, omit code which
is needed to stop profiling.
* elf/dl-open.c (dl_open_worker): If a newly opened object is to be
profile make sure it cannot be unloaded.

* sysdeps/unix/sysv/linux/dl-origin.c: Inline readlink syscall.

* sysdeps/unix/sysv/linux/fcntl.c: If compiled without cancellation
support, make sure the helper function is inlined.
* sysdeps/unix/sysv/linux/pread.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.

20 years agoUpdate.
Ulrich Drepper [Mon, 5 Jul 2004 17:36:34 +0000 (17:36 +0000)]
Update.

* include/string.h (ffs): Add libc_hidden_builtin_proto.
* sysdeps/rs6000/ffs.c (ffs): Add libc_hidden_builtin_def.
* sysdeps/alpha/alphaev67/ffs.S (ffs): Likewise.
* sysdeps/alpha/ffs.S (ffs): Likewise.
* sysdeps/s390/ffs.c (ffs): Likewise.
* sysdeps/powerpc/ffs.c (ffs): Likewise.
* sysdeps/i386/ffs.c (ffs): Likewise.
* sysdeps/i386/i686/ffs.c (ffs): Likewise.
* sysdeps/m68k/ffs.c (ffs): Likewise.
* sysdeps/generic/ffs.c (ffs): Likewise.
* sysdeps/m88k/ffs.c (ffs): Likewise.
* sysdeps/am29k/ffs.c (ffs): Likewise.
* sysdeps/i960/ffs.c (ffs): Likewise.
* sysdeps/x86_64/ffs.c (ffs): Likewise.

* Makerules (check-abi): Use diff -p -U 0 instead of diff -pu0.

20 years agoUpdate.
Ulrich Drepper [Mon, 5 Jul 2004 17:09:54 +0000 (17:09 +0000)]
Update.

2004-07-05  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/powerpc/novmx-longjmp.c (__libc_longjmp,
__libc_siglongjmp): Remove symbol_version.
* sysdeps/powerpc/longjmp.c (__libc_longjmp, __libc_siglongjmp):
Export @@GLIBC_PRIVATE, not @@GLIBC_2.3.4.
* sysdeps/powerpc/sigjmp.c (__sigjmp_save): Use strong_alias
unconditionally.
* sysdeps/powerpc/novmx-sigjmp.c (__sigjmp_save): Remove.
* sysdeps/powerpc/powerpc32/__longjmp.S (__longjmp): Use
strong_alias instead of default_symbol_version, remove
symbol_version.
* sysdeps/powerpc/powerpc64/__longjmp.S (__longjmp): Likewise.
* sysdeps/powerpc/powerpc32/bsd-setjmp.S (__novmx__setjmp): Change
into strong_alias to __novmxsetjmp.
(__vmx__setjmp): Similarly with __vmxsetjmp.
(__setjmp): Make it strong_alias to __vmx__setjmp, remove
default_symbol_version and symbol_version.
* sysdeps/powerpc/powerpc64/bsd-setjmp.S (__novmx__setjmp): Change
into strong_alias to __novmxsetjmp.
(__vmx__setjmp): Similarly with __vmxsetjmp.
(__setjmp): Make it strong_alias to __vmx__setjmp, remove
default_symbol_version and symbol_version.

* nscd/nscd_getgr_r.c: Include stdio-common/_itoa.h.

20 years agoUpdate.
Ulrich Drepper [Mon, 5 Jul 2004 07:35:11 +0000 (07:35 +0000)]
Update.

2004-07-05  Ulrich Drepper  <drepper@redhat.com>

* elf/rtld.c (dl_main): Mark dyn_temp with attribute_relro.

20 years agoUpdate.
Ulrich Drepper [Sun, 4 Jul 2004 23:12:44 +0000 (23:12 +0000)]
Update.

2004-07-04  Matthew Reppert  <arashi@kai.vm.bytemark.co.uk>

* sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Use libc_hidden_ver
instead of libc_hidden_def.

20 years ago(glob64): Use libc_hidden_ver instead of libc_hidden_def.
Ulrich Drepper [Sun, 4 Jul 2004 23:08:04 +0000 (23:08 +0000)]
(glob64): Use libc_hidden_ver instead of libc_hidden_def.

20 years ago* aclocal.m4: Add provide for AC_CONFIG_AUX_DIR_DEFAULT.
Roland McGrath [Fri, 2 Jul 2004 06:45:17 +0000 (06:45 +0000)]
* aclocal.m4: Add provide for AC_CONFIG_AUX_DIR_DEFAULT.

* Makeconfig ($(common-objpfx)shlib-versions.v.i): Move top-level
$(..)shlib-versions file to last in deps list.  This lets add-ons give
more-specific matches that override defaults in the top-level file.

* sysdeps/unix/sysv/linux/configure.in: If arch_minimum_kernel was
already set, don't set it or libc_cv_gcc_unwind_find_fde.
* sysdeps/unix/sysv/linux/configure: Regenerated.

20 years ago2004-07-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 2 Jul 2004 06:45:08 +0000 (06:45 +0000)]
2004-07-01  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/configure.in: If arch_minimum_kernel was
already set, don't set it or libc_cv_gcc_unwind_find_fde.
* sysdeps/unix/sysv/linux/configure: Regenerated.

20 years agoUpdate.
Ulrich Drepper [Thu, 1 Jul 2004 17:50:47 +0000 (17:50 +0000)]
Update.

2004-07-01  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/s390/fpu/bits/mathinline.h [__LIBC_INTERNAL_MATH_INLINES]
(__ieee754_sqrt): Define as __MATH_INLINE using sqdbr instruction.
(__ieee754_sqrtf): Define as __MATH_INLINE using sqebr instruction.
* sysdeps/s390/fpu/e_sqrt.c: New file.
* sysdeps/s390/fpu/e_sqrtf.c: New file.
* sysdeps/s390/Implies: New file.
* sysdeps/s390/s390-32/Implies: Remove ieee754, move
ieee754/dbl-64 and ieee754/flt-32 to s390/Implies.
* sysdeps/s390/s390-64/Implies: Likewise.

2004-06-30  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Include tls.h.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.

* sysdeps/unix/sysv/linux/s390/s390-32/clone.S (thread_start):
DO_CALL (exit, 1) instead of branching to _exit.
* sysdeps/unix/sysv/linux/s390/s390-64/clone.S (thread_start):
Likewise.

* sysdeps/s390/fpu/bits/mathinline.h: New file.

* include/glob.h (glob64): Add libc_hidden_proto.
* sysdeps/generic/glob64.c (glob64): Add libc_hidden_def.
* sysdeps/gnu/glob64.c (glob64): Likewise.
* sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Likewise.

20 years agoUpdate.
Ulrich Drepper [Thu, 1 Jul 2004 01:43:38 +0000 (01:43 +0000)]
Update.

2004-06-11  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/fpu/libm-test-ulps: Update for GCC 3.4.
* sysdeps/s390/fpu/libm-test-ulps: Likewise.

20 years agoUpdate.
Ulrich Drepper [Wed, 30 Jun 2004 23:43:49 +0000 (23:43 +0000)]
Update.

2004-06-11  Dwayne Grant McConnell  <dgm69@us.ibm.com>

* sysdeps/powerpc/fpu/s_lround.c: Removed.
* sysdeps/powerpc/fpu/s_lroundf.c: Removed.
* sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_ceil.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_floorf.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_floor.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_lrint.c: Removed.
* sysdeps/powerpc/powerpc32/fpu/s_lrint.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_lround.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_rintf.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_rint.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_roundf.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_round.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_truncf.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_trunc.S: New file.

20 years agoUpdate.
Ulrich Drepper [Wed, 30 Jun 2004 07:59:08 +0000 (07:59 +0000)]
Update.

* sysdeps/unix/sysv/linux/Dist: Add netlinkaccess.h.

20 years agoUpdate.
Ulrich Drepper [Wed, 30 Jun 2004 07:43:11 +0000 (07:43 +0000)]
Update.

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

* include/net/if.h: Handle if_nameindex and if_freenameindex with
libc_proto_hidden.
* sysdeps/unix/sysv/linux/netlinkaccess.h: New file.
* sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions.
* sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Implement using
netlink if possible.  Fall back on ioctl method if necessary.

* include/unistd.h: Declare __truncate.
* sysdeps/generic/truncate.c: Also define __truncate.
* sysdeps/mach/hurd/truncate.c: Likewise.
* sysdeps/unix/common/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/truncate64.c: Use __truncate, not truncate.

20 years agoUse get16/put16 for user given buffer in ucs2/ucs2reverse when unaligned memory acces...
Ulrich Drepper [Wed, 30 Jun 2004 07:33:05 +0000 (07:33 +0000)]
Use get16/put16 for user given buffer in ucs2/ucs2reverse when unaligned memory access is attempted.

20 years ago* Banner: NPTL no longer has its own version number.
Roland McGrath [Tue, 29 Jun 2004 23:03:30 +0000 (23:03 +0000)]
* Banner: NPTL no longer has its own version number.

* Makefile (nptl-version): Variable removed.
* sysdeps/pthread/Makefile (CFLAGS-confstr.c): Set LIBPTHREAD_VERSION
using $(version), the glibc version number.

20 years ago2004-06-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 29 Jun 2004 23:03:20 +0000 (23:03 +0000)]
2004-06-29  Roland McGrath  <roland@redhat.com>

* Banner: NPTL no longer has its own version number.
* Makefile (nptl-version): Variable removed.
* sysdeps/pthread/Makefile (CFLAGS-confstr.c): Set LIBPTHREAD_VERSION
using $(version), the glibc version number.

20 years agoUpdate.
Ulrich Drepper [Tue, 29 Jun 2004 17:28:24 +0000 (17:28 +0000)]
Update.

2004-06-29  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
info.extra.  Patch by Marcus Meissner.

20 years agoUpdate.
Ulrich Drepper [Tue, 29 Jun 2004 15:54:37 +0000 (15:54 +0000)]
Update.

2004-06-29  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
Fix branch offset for a PLT entry.

20 years agoUpdate.
Ulrich Drepper [Tue, 29 Jun 2004 06:28:18 +0000 (06:28 +0000)]
Update.

2004-06-20  Jim Meyering  <jim@meyering.net>

* malloc/obstack.h (obstack_base): Cast to `void *', to align with
documentation.

20 years ago[BZ #232]
Ulrich Drepper [Tue, 29 Jun 2004 06:20:25 +0000 (06:20 +0000)]
[BZ #232]

Update.
Workaround for [BZ #232].

20 years agoUpdate.
Ulrich Drepper [Tue, 29 Jun 2004 04:43:45 +0000 (04:43 +0000)]
Update.

* inet/bug-if1.c (do_test): Simply use 0 as invalid index.

20 years agoUpdate.
Ulrich Drepper [Tue, 29 Jun 2004 02:50:26 +0000 (02:50 +0000)]
Update.

2004-06-28  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Use extend_alloca.

2004-06-28  GOTO Masanori  <gotom@debian.or.jp>

* iconv/gconv_simple.c: Use get16/put16 for user given buffer
in ucs2/ucs2reverse when unaligned memory access is attempted.
* iconv/tst-iconv5.c: New file.
* iconv/Makefile (tests): Add tst-iconv5.

20 years ago(if_nameindex): Use extend_alloca.
Ulrich Drepper [Tue, 29 Jun 2004 02:48:21 +0000 (02:48 +0000)]
(if_nameindex): Use extend_alloca.

20 years ago* inet/bug-if1.c: Include <string.h>.
Roland McGrath [Tue, 29 Jun 2004 00:33:10 +0000 (00:33 +0000)]
* inet/bug-if1.c: Include <string.h>.

2004-06-19  Roland McGrath  <roland@redhat.com>

* sysdeps/posix/waitid.c (do_waitid) [DO_WAITID]: Define function
under this macro name instead.
[NO_DO_WAITID]: Don't define it at all.
(do_waitid) [WNOWAIT, WEXITED]: If these POSIX.1 waitid flag bits are
defined, then return ENOTSUP for combinations of selection bits other
than WEXITED and WEXITED|WSTOPPED, which this version cannot support.

* posix/tst-waitid.c: New file.
* posix/Makefile (tests): Add it.

2004-06-28  Jakub Jelinek  <jakub@redhat.com>

20 years ago2004-06-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 29 Jun 2004 00:32:17 +0000 (00:32 +0000)]
2004-06-19  Roland McGrath  <roland@redhat.com>

* posix/tst-waitid.c: New file.
* posix/Makefile (tests): Add it.

20 years ago[BZ #230, BZ #231]
Ulrich Drepper [Mon, 28 Jun 2004 21:05:24 +0000 (21:05 +0000)]
[BZ #230, BZ #231]

Update.
2004-06-28  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/alpha/sysdep.h (inline_syscall6): Fix a typo.

[BZ #231]
* sysdeps/unix/alpha/sysdep.S (__syscall_error): Avoid !samegp
relocation in librt.so.

[BZ #230]
* sysdeps/alpha/dl-machine.h (_dl_start_user): Use ldah/ldl to load
_dl_skip_args.  Patch by Jakub Bogusz <qboosh@pld-linux.org>.

20 years agoUpdate.
Ulrich Drepper [Mon, 28 Jun 2004 19:38:25 +0000 (19:38 +0000)]
Update.

2004-06-28  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/pthread/pthread_rwlock_timedwrlock.c
(pthread_rwlock_timedwrlock): Return EINVAL if tv_nsec is negative,
instead of tv_sec.
* sysdeps/pthread/pthread_rwlock_timedrdlock.c
(pthread_rwlock_timedrdlock): Likewise.

20 years agoUpdate.
Ulrich Drepper [Mon, 28 Jun 2004 05:07:08 +0000 (05:07 +0000)]
Update.

* elf/ldconfig.c (add_dir): Take chroot into account.
Based on changes by HJ Lu and Hideki Iwamoto.

20 years agoUpdate.
Ulrich Drepper [Mon, 28 Jun 2004 04:42:05 +0000 (04:42 +0000)]
Update.

* nscd/connections.c (invalidate_cache): If the host cache has to
be invalidated, re-read resolv.conf.

20 years agoUpdate.
Ulrich Drepper [Mon, 28 Jun 2004 01:30:07 +0000 (01:30 +0000)]
Update.

2004-06-27  Ulrich Drepper  <drepper@redhat.com>

* resolv/resolv.h (RES_NOIP6DOTINT): Define.
* resolv/res_init.c (res_setoptions): Handle no-ip6-dotint option.
* resolv/gethnamaddr.c (gethostbyaddr): Don't lookup with .ip6.int
if RES_NOIP6DOTINT flag is set.
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.

20 years agoUpdate.
Ulrich Drepper [Sun, 27 Jun 2004 20:48:27 +0000 (20:48 +0000)]
Update.

2004-06-25  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/powerpc/fcntl.c: Move to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: ... here.
* sysdeps/unix/sysv/linux/powerpc/lockf64.c: Move to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: ... here.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: New file.

* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_GETLK, F_SETLK,
F_SETLKW): Fix values for -m32 -D_FILE_OFFSET_BITS=64.

20 years agoUpdate.
Ulrich Drepper [Sun, 27 Jun 2004 19:32:01 +0000 (19:32 +0000)]
Update.

2004-06-27  Ulrich Drepper  <drepper@redhat.com>

* Makefile: Add rules to build tst-rwlock14.
* tst-rwlock14.c: New file.

2004-06-24  Boris Hu  <boris.hu@intel.com>

* sysdeps/pthread/pthread_rwlock_timedrdlock.c: Add timeout validation
check.
* sysdeps/pthread/pthread_rwlock_timedwrlock.c: Likewise.

20 years ago[BZ #231]
Ulrich Drepper [Tue, 22 Jun 2004 05:57:50 +0000 (05:57 +0000)]
[BZ #231]

Update.
2004-06-21  Jakub Jelinek  <jakub@redhat.com>

[BZ #231]
* sysdeps/unix/alpha/Makefile: New file.
* sysdeps/unix/alpha/rt-sysdep.S: New file.
Reported by Jakub Bogusz <qboosh@pld-linux.org>.

20 years agoAdditional makefile for Unix on Alpha.
Ulrich Drepper [Tue, 22 Jun 2004 05:54:44 +0000 (05:54 +0000)]
Additional makefile for Unix on Alpha.

20 years ago* Makerules (compile-mkdep-flags): Add -MT $@.
Roland McGrath [Sun, 20 Jun 2004 01:43:43 +0000 (01:43 +0000)]
* Makerules (compile-mkdep-flags): Add -MT $@.

* Makefile (dist, tag-for-dist): New targets.
(files-for-dist, tag-of-stem): New variables.
(glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule.
Make tar files using cvs export.
(%.bz2, %.gz, tag-%): New pattern rules.
(distribute): Variable removed.
(+subdir_targets): Remove distinfo targets.
(echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed.
(rpm/%): Pattern rule removed.
* rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed.
* Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist):
Targets removed.
* Makerules (dist, subdir_distinfo): Targets removed.
($(objpfx)distinfo): Depend on $(distribute).
* Make-dist: File removed.

20 years ago2004-06-18 Roland McGrath <roland@frob.com>
Roland McGrath [Sun, 20 Jun 2004 01:42:52 +0000 (01:42 +0000)]
2004-06-18  Roland McGrath  <roland@frob.com>

* Makerules (compile-mkdep-flags): Add -MT $@.
* Makefile (dist, tag-for-dist): New targets.
(files-for-dist, tag-of-stem): New variables.
(glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule.
Make tar files using cvs export.
(%.bz2, %.gz, tag-%): New pattern rules.
(distribute): Variable removed.
(+subdir_targets): Remove distinfo targets.
(echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed.
(rpm/%): Pattern rule removed.
* rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed.
* Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist):
Targets removed.
* Makerules (dist, subdir_distinfo): Targets removed.
($(objpfx)distinfo): Depend on $(distribute).
* Make-dist: File removed.

20 years agoUpdate.
Andreas Jaeger [Sat, 19 Jun 2004 18:12:27 +0000 (18:12 +0000)]
Update.

2004-06-19  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Fix
assembler in last patch.

20 years agoFix assembler in last patch.
Andreas Jaeger [Sat, 19 Jun 2004 18:12:20 +0000 (18:12 +0000)]
Fix assembler in last patch.

20 years agoUpdate.
Ulrich Drepper [Sat, 19 Jun 2004 00:01:42 +0000 (00:01 +0000)]
Update.

* sysdeps/posix/getaddrinfo.c (gaih_inet): For AI_CANONNAME,
determine the canonical name only for the first returned entry.

20 years agoUpdate.
Ulrich Drepper [Fri, 18 Jun 2004 16:31:13 +0000 (16:31 +0000)]
Update.

2004-06-18  Ulrich Drepper  <drepper@redhat.com>

* inet/bug-if1.c: New file.
* inet/Makefile (tests): Add bug-if1.

20 years ago[BZ #198, BZ #218]
Ulrich Drepper [Fri, 18 Jun 2004 16:06:38 +0000 (16:06 +0000)]
[BZ #198, BZ #218]

Update.
2004-06-17  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/unix/sysv/linux/sched_setaffinity.c
(__sched_setaffinity_new): Set errno to EINVAL and return -1 if
cpuset is wrongly set.

2004-06-15  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
for POWER4 machines.

2004-06-14  Jakub Jelinek  <jakub@redhat.com>

[BZ #218]
* sunrpc/pmap_prot2.c (xdr_pmaplist): When freeing, remember pml_next
in a local variable, point rp to that local variable afterwards.

2004-06-11  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Handle special
cases properly.

2004-06-17  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
error value for unknown interface. [BZ #198]

20 years agoRemove cruft, finally [BZ #209] is done.
Roland McGrath [Fri, 18 Jun 2004 07:32:17 +0000 (07:32 +0000)]
Remove cruft, finally [BZ #209] is done.

20 years ago[BZ #209]
Roland McGrath [Fri, 18 Jun 2004 07:31:22 +0000 (07:31 +0000)]
[BZ #209]

2004-06-18  Roland McGrath  <roland@frob.com>
[BZ #209]
* ChangeLog: Another attempt to test the loginfo script.
[BZ #209]
* ChangeLog: Another attempt to test the loginfo script.

20 years agoRemove cruft, still testing [BZ #209].
Roland McGrath [Fri, 18 Jun 2004 07:29:26 +0000 (07:29 +0000)]
Remove cruft, still testing [BZ #209].

20 years ago[BZ #209]
Roland McGrath [Fri, 18 Jun 2004 07:10:16 +0000 (07:10 +0000)]
[BZ #209]

2004-06-18  Roland McGrath  <roland@frob.com>
[BZ #209]
* ChangeLog: Another attempt to test the loginfo script.
2004-06-18  Roland McGrath  <roland@frob.com>

[BZ #209]
* ChangeLog: Another attempt to test the loginfo script.

* NEWS: Fix a typo.  Update bug-reporting instructions.

20 years ago[BZ #209]
Roland McGrath [Fri, 18 Jun 2004 07:04:28 +0000 (07:04 +0000)]
[BZ #209]

2004-06-18  Roland McGrath  <roland@frob.com>
* NEWS: Fix a typo.  Update bug-reporting instructions.
Include in this log entry gratuitous reference to [BZ #209].

20 years agoUpdate.
Ulrich Drepper [Fri, 18 Jun 2004 04:29:42 +0000 (04:29 +0000)]
Update.

2004-06-17  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/pthread_cond_timedwait.c
(__pthread_cond_timedwait): Also check for negativ nanoseconds.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S
(__pthread_cond_timedwait): Check for invalid nanosecond in
timeout value.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
* tst-cond19.c: New file.
* Makefile: Add rules to build and run tst-cond19.

20 years agoUpdate.
Ulrich Drepper [Fri, 18 Jun 2004 02:40:54 +0000 (02:40 +0000)]
Update.

2004-06-15  Steven Munroe  <sjmunroe@us.ibm.com>

* tst-context1.c (GUARD_PATTERN): Defined.
(tst_context_t): Define struct containing ucontext_t & guard words.
(ctx): Declare as an array of tst_context_t.
(fct): Verify uc_link & guard words are still valid.
(tf): Initialize guard words in ctx.  Adjust ctx refs for new struct.

20 years agoUpdate.
Ulrich Drepper [Thu, 17 Jun 2004 23:58:15 +0000 (23:58 +0000)]
Update.

2004-06-13  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h (pthread_cond_t):
Add __data.__futex field, reshuffle __data.__clock.
* sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S
(__pthread_cond_signal): Increment __futex at the same time as
__wakeup_seq or __total_seq.  Pass address of __futex instead of
address of low 32-bits of __wakeup_seq to futex syscall.
* sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S
(__pthread_cond_wait): Likewise.  Pass __futex value from before
releasing internal lock to FUTEX_WAIT.
* sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S
(__pthread_cond_timedwait): Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S
(FUTEX_CMP_REQUEUE): Define.
(__pthread_cond_broadcast): Set __futex to 2 * __total_seq.
Use FUTEX_CMP_REQUEUE operation instead of FUTEX_REQUEUE.
Pass __futex value from before the unlock and __futex address instead
of address of low 32-bits of __wakeup_seq to futex syscall.
Fallback to FUTEX_WAKE all on any errors.

20 years ago(if_indextoname): Correct error value for unknown interface.
Ulrich Drepper [Thu, 17 Jun 2004 23:06:41 +0000 (23:06 +0000)]
(if_indextoname): Correct error value for unknown interface.

20 years ago* sysdeps/i386/bits/string.h (memcpy): Add () around arguments.
Roland McGrath [Tue, 15 Jun 2004 20:12:01 +0000 (20:12 +0000)]
* sysdeps/i386/bits/string.h (memcpy): Add () around arguments.

(memchr, __memrchr, strlen, strcmp, strncmp, __strchr_g, __strchr_c,
__strchrnul_g, __strchrnul_c, strspn, strcspn, strpbrk): Add memory
the asm uses as its input, either of size __n where __n is known or
0xfffffff.
(strstr): Add "memory" clobber.

20 years ago[BZ #217, BZ #219]
Roland McGrath [Tue, 15 Jun 2004 20:10:24 +0000 (20:10 +0000)]
[BZ #217, BZ #219]

2004-06-14  Jakub Jelinek  <jakub@redhat.com>
[BZ #219]
* nss/nsswitch.c (free_mem): Don't try to close a library handle
if the handle is invalid.  Patch by David Kimdon <kimdon@esrf.fr>.

2004-06-11  Dmitry V. Levin  <ldv@altlinux.org>

[BZ #217]
* debug/xtrace.sh: Fix typo in error diagnostics.

20 years ago* stdio-common/psignal.c (psignal): Don't use BUF when asprintf
Roland McGrath [Tue, 15 Jun 2004 20:04:37 +0000 (20:04 +0000)]
* stdio-common/psignal.c (psignal): Don't use BUF when asprintf

failed.

20 years ago* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto
Roland McGrath [Tue, 15 Jun 2004 20:02:33 +0000 (20:02 +0000)]
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto

that clobbers r19.  Fix pasto that overflowed sigcontext.v_reserve.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Fix pasto
that clobbers r19.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Fix pasto
that clobbers r19.  Fix pasto that overflowed sigcontext.v_reserve.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S:
Fix setting of sigcontext.v_regs.  Fix pasto that clobbers r19.
Fix pasto that overflowed sigcontext.v_reserve.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S:
Fix pasto that clobbers r19.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Fix setting
of sigcontext.v_regs.  Fix pasto that clobbers r19.  Fix pasto that
overflowed sigcontext.v_reserve.

20 years ago[BZ #150]
Roland McGrath [Tue, 15 Jun 2004 19:55:30 +0000 (19:55 +0000)]
[BZ #150]

20 years ago* sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."
Roland McGrath [Tue, 15 Jun 2004 19:55:07 +0000 (19:55 +0000)]
* sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."

instead of ".gnu.linkonce.ro." as the prefix for linkonce
read-only section name.

20 years ago2004-05-04 H.J. Lu <hongjiu.lu@intel.com>
Roland McGrath [Tue, 15 Jun 2004 19:54:57 +0000 (19:54 +0000)]
2004-05-04  H.J. Lu  <hongjiu.lu@intel.com>

* sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."
instead of ".gnu.linkonce.ro." as the prefix for linkonce
read-only section name.

20 years ago * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp". (_ITOFT...
Richard Henderson [Mon, 14 Jun 2004 18:04:25 +0000 (18:04 +0000)]
    * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".         (_ITOFT, _FTOIT, _ITOFT2): Likewise.

2004-06-14  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".
(_ITOFT, _FTOIT, _ITOFT2): Likewise.

20 years ago* sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.
Roland McGrath [Fri, 11 Jun 2004 20:12:55 +0000 (20:12 +0000)]
* sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.

(unwind_backtrace, unwind_getip): Define #ifndef SHARED.
(__backtrace): Don't call init #ifndef SHARED.
* sysdeps/s390/s390-64/backtrace.c (init): Guard with #ifdef SHARED.
(unwind_backtrace, unwind_getip): Define #ifndef SHARED.
(__backtrace): Don't call init #ifndef SHARED.
* sysdeps/ia64/backtrace.c (init): Guard with #ifdef SHARED.
(unwind_backtrace, unwind_getip): Define #ifndef SHARED.
(__backtrace): Don't call init #ifndef SHARED.

20 years ago* sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.
Roland McGrath [Fri, 11 Jun 2004 10:15:39 +0000 (10:15 +0000)]
* sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.

From Krzysztof Halasa <khc@pm.waw.pl>.

20 years ago* elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14.
Roland McGrath [Fri, 11 Jun 2004 09:56:02 +0000 (09:56 +0000)]
* elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14.

20 years ago[BZ #199]
Roland McGrath [Thu, 10 Jun 2004 02:16:08 +0000 (02:16 +0000)]
[BZ #199]

2004-06-08  Jakub Jelinek  <jakub@redhat.com>
[BZ #199]
* crypt/md5-crypt.c (__md5_crypt): Only update buflen if realloc
succeeds.  Reported by Miles Ohlrich <miles@cray.com>.

* elf/chroot_canon.c (chroot_canon): Avoid segfault if first malloc
fails.  Avoid memory leak if realloc fails.

20 years ago* sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is
Roland McGrath [Wed, 9 Jun 2004 18:33:36 +0000 (18:33 +0000)]
* sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is

NULL, "" or contains '=' character in it.  Reported by
Michael T Kerrisk <mtk-lists@gmx.net>.
* stdlib/tst-environ.c: Include errno.h.
(main): Add tests for these arguments to setenv/unsetenv.

20 years agoThis is not really associated with [bug #209], but is a test.
Roland McGrath [Wed, 9 Jun 2004 00:36:30 +0000 (00:36 +0000)]
This is not really associated with [bug #209], but is a test.

2004-06-07  Roland McGrath  <roland@frob.com>

* NEWS: Update bug reporting instructions.  Fix some typos.

20 years ago[BZ #209]
Roland McGrath [Mon, 7 Jun 2004 21:53:43 +0000 (21:53 +0000)]
[BZ #209]

2004-06-07  Roland McGrath  <roland@frob.com>
* NEWS: Update bug reporting instructions.  Fix some typos.
This is not really associated with [BZ #209], but is a test.

20 years agoUpdate.
Ulrich Drepper [Mon, 7 Jun 2004 17:58:44 +0000 (17:58 +0000)]
Update.

2004-06-07  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/lowlevellock.h (lll_futex_requeue):
Pass val argument as 6th system call argument in %r7.

20 years ago(lll_futex_requeue): Pass val argument as 6th system call argument in %r7.
Ulrich Drepper [Mon, 7 Jun 2004 17:58:24 +0000 (17:58 +0000)]
(lll_futex_requeue): Pass val argument as 6th system call argument in %r7.

20 years agoAdd email address.
Andreas Jaeger [Mon, 7 Jun 2004 06:50:06 +0000 (06:50 +0000)]
Add email address.

Washizawa <washi@jp.ibm.com>.

20 years agoUpdate.
Ulrich Drepper [Sun, 6 Jun 2004 06:06:02 +0000 (06:06 +0000)]
Update.

2004-06-05  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/_itoa.h: Don't expand _itoa inline for libc.
* stdio-common/_itoa.c: Add _itoa implementation.

* nscd/nscd_gethst_r.c (__nscd_open_socket): Change implementation
to also send request.  Add parameter to allow this.
Change callers.
* nscd/nscd_getgr_r.c: Change __nscd_open_socket caller.
* nscd/nscd_getpw_r.c: Likewise.
* nscd/nscd-client.h: Change __nscd_open_socket prototype.

20 years agoDon't expand _itoa inline for libc.
Ulrich Drepper [Sun, 6 Jun 2004 06:01:50 +0000 (06:01 +0000)]
Don't expand _itoa inline for libc.

20 years agoUpdate.
Andreas Jaeger [Sat, 5 Jun 2004 07:54:49 +0000 (07:54 +0000)]
Update.

2004-06-05  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
Handle more than 6 args correctly.  Based on a patch by Masahide
Washizawa.

20 years ago(__makecontext): Handle more than 6 args correctly. Based on a patch by Masahide...
Andreas Jaeger [Sat, 5 Jun 2004 07:54:40 +0000 (07:54 +0000)]
(__makecontext): Handle more than 6 args correctly.  Based on a patch by Masahide Washizawa.

20 years agoUpdate.
Ulrich Drepper [Fri, 4 Jun 2004 18:29:42 +0000 (18:29 +0000)]
Update.

2004-06-04  Ulrich Drepper  <drepper@redhat.com>

* nscd/nscd_gethst_r.c (nscd_gethst_r): Use __nss_not_use_nscd_hosts
in all places, not __nss_not_use_nscd_group.
Reported by Philippe Gregoire.

20 years agoUpdate.
Ulrich Drepper [Thu, 3 Jun 2004 16:04:11 +0000 (16:04 +0000)]
Update.

2004-06-03  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/i486/bits/atomic.h: Optimize a bit.

20 years agoUpdate.
Ulrich Drepper [Tue, 1 Jun 2004 22:18:24 +0000 (22:18 +0000)]
Update.

2004-05-07  Dmitry V. Levin  <ldv@altlinux.org>

* argp/argp-help.c (__argp_error, __argp_failure): Check result
of __asprintf call and don't use string if it failed.
* stdio-common/psignal.c (psignal): Likewise.
* locale/programs/localedef.c (more_help): Likewise.
* resolv/res_hconf.c (arg_service_list, arg_trimdomain_list,
arg_bool, parse_line): Check result of __asprintf calls and
don't use string if they failed.
* sunrpc/svc_simple.c (registerrpc, universal): Likewise.
* elf/ldconfig.c (parse_conf_include): Check result of __asprintf
call and exit if it failed.

20 years ago(__argp_error, __argp_failure): Check result of __asprintf call and don't use string...
Ulrich Drepper [Tue, 1 Jun 2004 22:15:24 +0000 (22:15 +0000)]
(__argp_error, __argp_failure): Check result of __asprintf call and don't use string if it failed.

20 years ago* td_thr_validate.c: When we find no threads and the inferior appears
Roland McGrath [Tue, 1 Jun 2004 21:42:07 +0000 (21:42 +0000)]
* td_thr_validate.c: When we find no threads and the inferior appears

uninitialized, validate the main thread as a special case.

20 years ago2004-05-27 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 1 Jun 2004 21:42:02 +0000 (21:42 +0000)]
2004-05-27  Roland McGrath  <roland@redhat.com>

* td_thr_validate.c: When we find no threads and the inferior appears
uninitialized, validate the main thread as a special case.

20 years agoUpdate.
Ulrich Drepper [Tue, 1 Jun 2004 18:53:04 +0000 (18:53 +0000)]
Update.

2004-05-10  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/posix/sysconf.c (__sysconf) <cases _SC_REALTIME_SIGNALS,
_SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
_SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES,
_SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION,
_SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS,
_SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_THREAD_ATTR_STACKADDR,
_SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING,
_SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT,
_SC_THREAD_PROCESS_SHARED>: Return _POSIX_* value instead of 1.
* sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
<case _SC_MONOTONIC_CLOCK>: Return _POSIX_VERSION instead of 1.

2004-05-07  Jeroen Dekkers  <jeroen@dekkers.cx>

* sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add
-momit-leaf-frame-pointer.

* inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with
#ifdef AF_PACKET.

* sysdeps/mach/hurd/getcwd.c
(_hurd_canonicalize_directory_name_intern): Only realloc when
size is <= 0.

* sysdeps/mach/hurd/mmap.c (__mmap): Fail when addr or offset
isn't page aligned.

* sysdeps/mach/hurd/spawni.c (EXPAND_DTABLE): Set dtablesize to
new size.

* sysdeps/mach/hurd/Versions (GLIBC_PRIVATE): Add __libc_read,
__libc_write and __libc_lseek64.

20 years ago(__condvar_tw_cleanup): Fix access to saved broadcast_seq value.
Ulrich Drepper [Tue, 1 Jun 2004 18:14:07 +0000 (18:14 +0000)]
(__condvar_tw_cleanup): Fix access to saved broadcast_seq value.

20 years agoUpdate.
Andreas Jaeger [Mon, 31 May 2004 06:18:48 +0000 (06:18 +0000)]
Update.

2004-05-31  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/mips/Makefile (CFLAGS-pt-initfini.s):
Set to -fno-unit-at-a-time.
Patch by Dan Kegel <dank@kegel.com>.

20 years ago(CFLAGS-pt-initfini.s): Set to -fno-unit-at-a-time.
Andreas Jaeger [Mon, 31 May 2004 06:13:34 +0000 (06:13 +0000)]
(CFLAGS-pt-initfini.s): Set to -fno-unit-at-a-time.
Patch by Dan Kegel <dank@kegel.com>.

20 years ago* elf/Makefile (shared-only-routines): Add dl-caller.
Roland McGrath [Sat, 29 May 2004 22:29:40 +0000 (22:29 +0000)]
* elf/Makefile (shared-only-routines): Add dl-caller.

20 years ago2004-05-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 29 May 2004 22:29:35 +0000 (22:29 +0000)]
2004-05-29  Roland McGrath  <roland@redhat.com>

* elf/Makefile (shared-only-routines): Add dl-caller.