external/glibc.git
21 years ago* iconvdata/cp932.c (BODY): STANDARD_ERR_HANDLER is now called
Andreas Jaeger [Sun, 20 Jul 2003 12:11:01 +0000 (12:11 +0000)]
* iconvdata/cp932.c (BODY): STANDARD_ERR_HANDLER is now called

STANDARD_TO_LOOP_ERR_HANDLER.
* iconvdata/euc-jp-ms.c (BODY): Likewise.
2003-07-20  Andreas Jaeger  <aj@suse.de>

* iconvdata/cp932.c (BODY): STANDARD_ERR_HANDLER is now called
STANDARD_TO_LOOP_ERR_HANDLER.
* iconvdata/euc-jp-ms.c (BODY): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 20 Jul 2003 08:56:05 +0000 (08:56 +0000)]
Update.

2003-07-20  Ulrich Drepper  <drepper@redhat.com>

* Makefile (libpthread-routines): Add pthread_attr_getaffinity and
pthread_attr_setaffinity.
* Versions [libpthread] (GLIBC_2.3.3): Likewise.
* sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: New file.
* sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: New file.
* pthread_attr_destroy.c: Free cpuset element if allocated.
* pthread_create.c: Pass iattr as additional parameter to
create_thread.
* sysdeps/pthread/createthread.c: If attribute is provided and
a new thread is created with affinity set or scheduling parameters,
start thread with CLONE_STOPPED.
* sysdeps/pthread/pthread.h: Declare pthread_attr_getaffinity and
pthread_attr_setaffinity.
* sysdeps/unix/sysv/linux/internaltypes.h (struct pthread_attr): Add
cpuset element.

21 years agoUpdate.
Ulrich Drepper [Sat, 19 Jul 2003 08:42:04 +0000 (08:42 +0000)]
Update.

2003-07-19  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/syscalls.list: Remove affinity syscalls.

21 years agoRemove affinity syscalls.
Ulrich Drepper [Sat, 19 Jul 2003 08:40:07 +0000 (08:40 +0000)]
Remove affinity syscalls.

21 years agoUpdate.
Andreas Jaeger [Wed, 16 Jul 2003 07:39:17 +0000 (07:39 +0000)]
Update.

2003-07-16  Daniel Jacobowitz  <drow@mvista.com>
    Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/mips/bits/shm.h (SHMLBA): Define to
256K, remove unneeded declaration of __getpagesize.

21 years ago2003-07-16 Daniel Jacobowitz <drow@mvista.com>
Andreas Jaeger [Wed, 16 Jul 2003 07:39:07 +0000 (07:39 +0000)]
2003-07-16  Daniel Jacobowitz  <drow@mvista.com>

    Andreas Jaeger  <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/bits/shm.h (SHMLBA): Define to
256K, remove unneeded declaration of __getpagesize.

21 years agoUpdate.
Ulrich Drepper [Wed, 16 Jul 2003 00:10:33 +0000 (00:10 +0000)]
Update.

2003-07-16  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/futimes.c: Include <string.h>.

21 years agoUpdate.
Ulrich Drepper [Tue, 15 Jul 2003 08:59:35 +0000 (08:59 +0000)]
Update.

2003-07-15  Ulrich Drepper  <drepper@redhat.com>

* io/test-utime.c (main): Make test yet more robust.

21 years agoUpdate.
Ulrich Drepper [Tue, 15 Jul 2003 07:52:52 +0000 (07:52 +0000)]
Update.

More cancellation handling fixups.
* sysdeps/unix/sysv/linux/not-cancel.h: Add waitpid_not_cancel.
* sysdeps/generic/not-cancel.h: Likewise.
* catgets/open_catalog.c: Use not-cancelable syscalls.
* time/Makefile (CFLAGS-getdate.c): Add -fexceptions.
* sysdeps/unix/sysv/linux/llseek.c: Must not be cancelable.
* sysdeps/unix/syscalls.list: Don't mark lseek as cancelable.
* dlfcn/dlfcn.h: Mark dlopen with __THROW again.
* io/fcntl.h: Don't mark posix_fallocate with __THROW.
* libio/fileops.c: Use not-cancelable syscalls for fclose.
* libio/iopopen.c: Use no-cancelable syscalls.
* libio/stdio.h: Mark popen and pclose with __THROW again.
* misc/Makefile (CFLAGS-syslog.c): Add -fexceptions.
* misc/syslog.c: Fix locking and cancellation cleanup handling.
* posix/unistd.h: Mark ttyname and ttyname_r again with __THROW.
* stdio-common/Makefile (CFLAGS-tmpfile.c, CFLAGS-tmpfile64.c,
CFLAGS-tempname.c): Add -fexceptions.
* stdlib/Makefile (CFLAGS-mkstemp.c): Add -fexceptions.
* string/string.h: Mark strerror and strerror_r with _THROW again.
* sysdeps/generic/unwind.inc: New file.  Copied from gcc.
* sysdeps/generic/unwind-dw2.c: Update from gcc version.  Remove
#ifs since we now need all the code compiled.
* sysdeps/posix/spawni.c: Use close_not_cancel instead of close.
* sysdeps/unix/closedir.c: Use not-cancelable syscalls.
* sysdeps/unix/opendir.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 15 Jul 2003 04:34:40 +0000 (04:34 +0000)]
Update.

2003-07-14  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/configure.in: Require CFI directives also for
ppc and s390.

21 years agoUpdate.
Ulrich Drepper [Tue, 15 Jul 2003 03:32:03 +0000 (03:32 +0000)]
Update.

2003-07-14  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/Makefile (modules): Add CP932 and EUC-JP-MS.
Add rule for EUC-JP-MS dependency.
* iconvdata/cp932.c: New file.
* iconvdata/eucjp-ms.c: New file.
* iconvdata/gconv-modules: Add entries for CP932 and EUC-JP-MS.
Patch by MORIYAMA Masayuki <msyk@mtg.biglobe.ne.jp>.

2003-07-15  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket): Add
cfi directives.

21 years agoUpdate.
Ulrich Drepper [Mon, 14 Jul 2003 23:05:23 +0000 (23:05 +0000)]
Update.

2003-07-14  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Fix typo
in test for compilation in libc.

21 years agoUpdate.
Ulrich Drepper [Mon, 14 Jul 2003 21:38:42 +0000 (21:38 +0000)]
Update.

2003-07-14  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_FIXED_CLONE_SYSCALL): New macro.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Use it.

* sysdeps/unix/sysv/linux/utimes.c: Include sysdep.h.

21 years agoUpdate.
Ulrich Drepper [Mon, 14 Jul 2003 21:16:43 +0000 (21:16 +0000)]
Update.

2003-07-14  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_TGKILL for Alpha appropriately.

21 years agoUpdate.
Ulrich Drepper [Sat, 12 Jul 2003 19:34:23 +0000 (19:34 +0000)]
Update.

* sysdeps/unix/sysv/linux/alpha/bits/statfs.h (_STATFS_F_FRSIZE):
Likewise.
* sysdeps/unix/sysv/linux/s390/bits/statfs.h (_STATFS_F_FRSIZE):
Likewise.

21 years agoUpdate.
Ulrich Drepper [Sat, 12 Jul 2003 19:03:17 +0000 (19:03 +0000)]
Update.

* sysdeps/unix/sysv/linux/bits/statfs.h (_STATFS_F_FRSIZE): Define.

21 years agoUpdate.
Ulrich Drepper [Sat, 12 Jul 2003 18:48:39 +0000 (18:48 +0000)]
Update.

* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_UTIMES for x86 and kernels > 2.5.75.

* sysdeps/unix/sysv/linux/futimes.c (__futimes): Handle case with
second parameter == NULL.
* sysdeps/unix/sysv/linux/utimes.c: New file.

2003-07-12  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/futimes.c: Include kernel-features.h.
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Fix
a typo.

2003-07-12  Ulrich Drepper  <drepper@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Sat, 12 Jul 2003 09:03:03 +0000 (09:03 +0000)]
Update.

* time/sys/time.h: Namespace cleanup.

21 years agoUpdate.
Ulrich Drepper [Sat, 12 Jul 2003 08:23:50 +0000 (08:23 +0000)]
Update.

2003-07-12  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_UTIMES for the architectures which always had the syscall.
* sysdeps/unix/sysv/linux/futimes.c: New file.

21 years agoUpdate.
Ulrich Drepper [Sat, 12 Jul 2003 01:29:23 +0000 (01:29 +0000)]
Update.

2003-07-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sysv/linux/sh/socket.S: Save and restore the PR
register across CENABLE and CDISABLE.

21 years agoUpdate.
Ulrich Drepper [Fri, 11 Jul 2003 22:50:16 +0000 (22:50 +0000)]
Update.

* sysdeps/unix/sysv/linux/sigwait.c: Include string.h.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
* sysdeps/unix/sysv/linux/sleep.c (__sleep): Cast value to unsigned
int before assigning to max to avoid warnings.

2003-07-11  Jakub Jelinek  <jakub@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Fri, 11 Jul 2003 22:46:53 +0000 (22:46 +0000)]
Update.

2003-07-11  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (__socket): Add
cfi directives.
* sysdeps/unix/sysv/linux/s390/s390-32/socket.S (__socket): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Likewise.

21 years agoUpdate.
Ulrich Drepper [Thu, 10 Jul 2003 17:07:16 +0000 (17:07 +0000)]
Update.

2003-07-10  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/powerpc/powerpc64/elf/start.S: Set section flags of
.data.rel.ro.local to "aw".

21 years agoUpdate.
Ulrich Drepper [Thu, 10 Jul 2003 09:22:54 +0000 (09:22 +0000)]
Update.

* sysdeps/m68k/Makefile: Remove CLFAGS-.oS addition.

21 years agoUpdate.
Ulrich Drepper [Thu, 10 Jul 2003 09:10:43 +0000 (09:10 +0000)]
Update.

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

* Makeconfig (CFLAGS-.oS): Use PIC-ccflag instead of pic-ccflag.
(PIC-ccflag): Define.

21 years agoUpdate.
Ulrich Drepper [Tue, 8 Jul 2003 21:08:13 +0000 (21:08 +0000)]
Update.

2003-07-08  Jakub Jelinek  <jakub@redhat.com>

* pthreadP.h (__pthread_unwind_next, __pthread_register_cancel,
__pthread_unregister_cancel): Add prototypes and hidden_proto.
* unwind.c (__pthread_unwind_next): Add hidden_def.
* cleanup.c (__pthread_register_cancel, __pthread_unregister_cancel):
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/sem_wait.S (__new_sem_wait):
Use HIDDEN_JUMPTARGET to jump to __pthread_unwind.
* sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S (sem_timedwait):
Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_wait.S (sem_wait): Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S (sem_timedwait):
Likewise.
* sysdeps/unix/sysv/linux/i386/pthread_once.S (__pthread_once): Use
HIDDEN_JUMPTARGET to call __pthread_register_cancel,
__pthread_unregister_cancel and __pthread_unwind_next.

21 years agoUpdate.
Ulrich Drepper [Tue, 8 Jul 2003 03:49:44 +0000 (03:49 +0000)]
Update.

2003-07-04  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/s390/s390-32/elf/start.S: Emit position independent code
if PIC.
* sysdeps/s390/s390-64/elf/start.S: Likewise.

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

* sysdeps/powerpc/powerpc64/elf/start.S: Put L(start_address)
into .data.rel.ro.local section if PIC to avoid DT_TEXTREL.

21 years agoUpdate.
Ulrich Drepper [Tue, 8 Jul 2003 03:42:49 +0000 (03:42 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/kernel-features.h: Version
__ASSUME_CORRECT_SI_PID and __ASSUME_TGKILL if possible.

* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for
compilation with HAVE_AUX_SECURE defined.

21 years agoUpdate.
Ulrich Drepper [Tue, 8 Jul 2003 03:40:49 +0000 (03:40 +0000)]
Update.

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

* descr.h (struct pthread): Add pid field.
* allocatestack.c (allocate_stack): Initialize pid field in descriptor.
(__reclaim_stacks): Likewise.
* init.c (sigcancel_handler): If __ASSUME_CORRECT_SI_PID is defined
also check for PID of the signal source.
(__pthread_initialize_minimal_internal): Also initialize pid field
of initial thread's descriptor.
* pthread_cancel.c: Use tgkill instead of tkill if possible.
* sysdeps/unix/sysv/linux/fork.c: Likewise.
* sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
* sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
* sysdeps/unix/sysv/linux/raise.c: Likewise.

21 years ago(_dl_sysdep_start): Adjust for compilation with HAVE_AUX_SECURE defined.
Ulrich Drepper [Tue, 8 Jul 2003 02:23:37 +0000 (02:23 +0000)]
(_dl_sysdep_start): Adjust for compilation with HAVE_AUX_SECURE defined.

21 years ago * sysdeps/alpha/elf/initfini.c: Avoid .ent/.end. * sysdeps/alpha...
Richard Henderson [Sat, 5 Jul 2003 22:56:39 +0000 (22:56 +0000)]
    * sysdeps/alpha/elf/initfini.c: Avoid .ent/.end.         * sysdeps/alpha/elf/pt-initfini.c: Avoid .ent/.end.

2003-07-05  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/elf/initfini.c: Avoid .ent/.end.

21 years agoUpdate.
Ulrich Drepper [Sat, 5 Jul 2003 07:26:41 +0000 (07:26 +0000)]
Update.

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

* sysdeps/pthread/bits/libc-lock.h (__libc_cleanup_push): Renamed.
Fix use of parameter.
(__libc_cleanup_pop): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sat, 5 Jul 2003 06:25:25 +0000 (06:25 +0000)]
Update.

2003-07-04  Ulrich Drepper  <drepper@redhat.com>

* init.c (sigcancel_handler): Change parameters to match handler
for SA_SIGACTION.  Check signal number and code to recognize
invalid invocations.

21 years ago(sigcancel_handler): Change parameters to match handler for SA_SIGACTION. Check signa...
Ulrich Drepper [Sat, 5 Jul 2003 06:18:19 +0000 (06:18 +0000)]
(sigcancel_handler): Change parameters to match handler for SA_SIGACTION. Check signal number and code to recognize invalid invocations.

21 years ago* sysdeps/ia64/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr):
Roland McGrath [Thu, 3 Jul 2003 23:55:28 +0000 (23:55 +0000)]
* sysdeps/ia64/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr):

Apply sizeof (struct pthread) bias to r13 value.

21 years ago2003-07-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 3 Jul 2003 23:55:19 +0000 (23:55 +0000)]
2003-07-03  Roland McGrath  <roland@redhat.com>

* sysdeps/ia64/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr):
Apply sizeof (struct pthread) bias to r13 value.

21 years agoCFI is only really required (so far) for x86 and hammer.
Ulrich Drepper [Thu, 3 Jul 2003 22:34:29 +0000 (22:34 +0000)]
CFI is only really required (so far) for x86 and hammer.

21 years agoUpdate.
Ulrich Drepper [Thu, 3 Jul 2003 21:08:05 +0000 (21:08 +0000)]
Update.

2003-07-03  Ulrich Drepper  <drepper@redhat.com>

* configure.in: Also check for .cfi_rel_offset pseudo-op.

21 years agoUpdate.
Ulrich Drepper [Thu, 3 Jul 2003 17:33:22 +0000 (17:33 +0000)]
Update.

2003-07-03  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency): Fix a
typo.

21 years agoUpdate.
Ulrich Drepper [Thu, 3 Jul 2003 08:51:46 +0000 (08:51 +0000)]
Update.

2003-07-03  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_CLKTCK):
Define.
* sysdeps/unix/sysv/linux/prof-freq.h: New file.

21 years agoUpdate.
Ulrich Drepper [Thu, 3 Jul 2003 07:37:59 +0000 (07:37 +0000)]
Update.

2003-07-03  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/librt-cancellation.c (__pthread_unwind): Remove
definition.
* pthreadP.h (__pthread_unwind): Add hidden_proto if used in
libpthread compilation.
* unwind.c (__pthread_unwind): Add hidden_def.
* Versions (libpthread) [GLIBC_PRIVATE]: Add __pthread_unwind.

21 years agoUpdate.
Ulrich Drepper [Wed, 2 Jul 2003 19:09:34 +0000 (19:09 +0000)]
Update.

2003-07-02  Ulrich Drepper  <drepper@redhat.com>

* locales/lo_LA: Update collation info for U0EAF and U0EC6.
Update era_t_fmt, era_d_t_fmt, country_name, and lang_name fields.
Patch by Anousak Souphavanh <anousak@muanglao.com>.

21 years agoUpdate.
Ulrich Drepper [Wed, 2 Jul 2003 17:29:35 +0000 (17:29 +0000)]
Update.

2003-07-02  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Protect new_sysinfo
decl and use with #ifdef NEED_DL_SYSINFO.

21 years agoUpdate.
Ulrich Drepper [Wed, 2 Jul 2003 08:49:09 +0000 (08:49 +0000)]
Update.

* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't set
GL(dl_sysinfo) unles GL(dl_sysinfo_dso) is also set.
* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_VSYSCALL only for 2.5.69 and up since this is when the
vsyscall DSO was added.

21 years agoUpdate.
Ulrich Drepper [Wed, 2 Jul 2003 07:53:07 +0000 (07:53 +0000)]
Update.

2003-07-02  Ulrich Drepper  <drepper@redhat.com>

* posix/bits/posix1_lim.h (_POSIX_NGROUPS_MAX): Define to 8 or 0
depending on selected standard.
(NGROUPS_MAX): Define to 8 if not defined.

21 years ago(_POSIX_NGROUPS_MAX): Define to 8 or 0 depending on selected standard. (NGROUPS_MAX...
Ulrich Drepper [Wed, 2 Jul 2003 07:17:15 +0000 (07:17 +0000)]
(_POSIX_NGROUPS_MAX): Define to 8 or 0 depending on selected standard. (NGROUPS_MAX): Define to 8 if not defined.

21 years ago* sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: New file.
Andreas Jaeger [Wed, 2 Jul 2003 07:12:11 +0000 (07:12 +0000)]
* sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: New file.

2003-07-02  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: New file.

21 years agoUpdate.
Ulrich Drepper [Wed, 2 Jul 2003 05:13:15 +0000 (05:13 +0000)]
Update.

2003-07-01  Ulrich Drepper  <drepper@redhat.com>

* libc-cancellation.c (__libc_cleanup_routine): Define.
* sysdeps/pthread/bits/libc-lock.h (__pthread_cleanup_push): Define.
(__pthread_cleanup_pop): Define.

21 years agoUpdate.
Ulrich Drepper [Tue, 1 Jul 2003 20:23:15 +0000 (20:23 +0000)]
Update.

2003-07-01  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/elf/pt-initfini.c: New file.
* sysdeps/alpha/pthread_spin_lock.S: New file.
* sysdeps/alpha/pthread_spin_trylock.S: New file.
* sysdeps/alpha/pthreaddef.h: New file.
* sysdeps/alpha/td_ta_map_lwp2thr.c: New file.
* sysdeps/alpha/tls.h: New file.
* sysdeps/unix/sysv/linux/alpha/Makefile: New file.
* sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: New file.
* sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: New file.
* sysdeps/unix/sysv/linux/alpha/createthread.c: New file.
* sysdeps/unix/sysv/linux/alpha/fork.c: New file.
* sysdeps/unix/sysv/linux/alpha/lowlevellock.h: New file.
* sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
* sysdeps/unix/sysv/linux/alpha/pthread_once.c: New file.
* sysdeps/unix/sysv/linux/alpha/sem_post.c: New file.
* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: New file.

21 years agoUpdate.
Ulrich Drepper [Tue, 1 Jul 2003 17:02:15 +0000 (17:02 +0000)]
Update.

2003-07-01  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Add correct
cleanup support and unwind info.

21 years agoUpdate.
Ulrich Drepper [Tue, 1 Jul 2003 08:31:38 +0000 (08:31 +0000)]
Update.

2003-05-04  H.J. Lu  <hongjiu.lu@intel.com>

* malloc/arena.c (arena_get2): Add atomic_write_barrier.
* malloc/thread-m.h: Include <atomic.h>.
(atomic_full_barrier): Provide default.
(atomic_read_barrier): Likewise.
(atomic_write_barrier): Likewise.
* sysdeps/ia64/bits/atomic.h (atomic_full_barrier): New #define.

21 years agoUpdate.
Ulrich Drepper [Tue, 1 Jul 2003 03:33:06 +0000 (03:33 +0000)]
Update.

* sysdeps/unix/sysv/linux/unwindbuf.sym: New file.
* sysdeps/unix/sysv/linux/Makefile: Add rule to build unwindbuf.h.

21 years agoUpdate.
Ulrich Drepper [Tue, 1 Jul 2003 03:29:50 +0000 (03:29 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/pthread_once.S (__pthread_once):
Use correct cleanup handler registration.  Add unwind info.
* tst-once3.c: Add cleanup handler and check it is called.
* tst-once4.c: Likewise.
* tst-oncex3.c: New file.
* tst-oncex4.c: New file.
* Makefile: Add rules to build and run tst-oncex3 and tst-oncex4.

21 years agoUpdate.
Ulrich Drepper [Tue, 1 Jul 2003 01:54:14 +0000 (01:54 +0000)]
Update.

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

* sysdeps/generic/sysdep.h: Define cfi_rel_offset and CFI_REL_OFFSET.

* nis/nss_compat/compat-grp.c: Remove unused nis_first variable.
(getgrent_next_file): Don't store group name to early in blacklist.

21 years agoDefine cfi_rel_offset and CFI_REL_OFFSET.
Ulrich Drepper [Tue, 1 Jul 2003 01:52:08 +0000 (01:52 +0000)]
Define cfi_rel_offset and CFI_REL_OFFSET.

21 years ago * sysdeps/unix/sysv/linux/alpha/clone.S: Load child_tid properly.
Richard Henderson [Mon, 30 Jun 2003 23:21:49 +0000 (23:21 +0000)]
    * sysdeps/unix/sysv/linux/alpha/clone.S: Load child_tid properly.

21 years ago * sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_bool_*_int): ...
Richard Henderson [Mon, 30 Jun 2003 23:21:38 +0000 (23:21 +0000)]
    * sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_bool_*_int):         Invert the sense of the return value.         (__arch_exchange_16_int): Fix paste-o.         (__arch_exchange_{32,64}_int): Fix think-o.

* sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_bool_*_int):
Invert the sense of the return value.
(__arch_exchange_16_int): Fix paste-o.
(__arch_exchange_{32,64}_int): Fix think-o.

* sysdeps/unix/sysv/linux/alpha/clone.S: Load child_tid properly.

2003-06-30  Richard Henderson  <rth@redhat.com>

21 years ago * include/sys/resource.h (__getrusage): Mark hidden. * include/sys...
Richard Henderson [Mon, 30 Jun 2003 23:15:13 +0000 (23:15 +0000)]
    * include/sys/resource.h (__getrusage): Mark hidden.         * include/sys/time.h (__settimeofday, __setitimer, __utimes): Likewise.         * include/sys/wait.h (__wait4): Likewise.

2003-06-30  Richard Henderson  <rth@redhat.com>

* include/sys/resource.h (__getrusage): Mark hidden.
* include/sys/time.h (__settimeofday, __setitimer, __utimes): Likewise.
* include/sys/wait.h (__wait4): Likewise.

21 years agoUpdate.
Andreas Jaeger [Mon, 30 Jun 2003 09:33:26 +0000 (09:33 +0000)]
Update.

2003-06-17  Guido Guenther  <agx@sigxcpu.org>

* sysdeps/unix/sysv/linux/mips/xstatconv.c: Handle STAT_IS_KERNEL_STAT
case.
(xstat_conv): Rename to __xstat_conv and remove static inline.
(xstat64_conv): Likewise.

21 years ago2003-06-17 Guido Guenther <agx@sigxcpu.org>
Andreas Jaeger [Mon, 30 Jun 2003 09:33:13 +0000 (09:33 +0000)]
2003-06-17  Guido Guenther  <agx@sigxcpu.org>

* sysdeps/unix/sysv/linux/mips/xstatconv.c: Handle STAT_IS_KERNEL_STAT
case.
(xstat_conv): Rename to __xstat_conv and remove static inline.
(xstat64_conv): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 29 Jun 2003 23:01:49 +0000 (23:01 +0000)]
Update.

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

* sysdeps/pthread/configure.in: Check for C cleanup handling in gcc.

21 years agoUpdate.
Ulrich Drepper [Sun, 29 Jun 2003 18:01:53 +0000 (18:01 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/sleep.c (__sleep): Handle parameter
values which cannot be handled in one nanosleep call.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Jun 2003 08:26:43 +0000 (08:26 +0000)]
Update.

2003-06-25  Alfred M. Szmidt  <ams@kemisten.nu>

* sysdeps/generic/bits/in.h (IPV6_HOPOPTS, IPV6_DSTOPTS): New macros.
(IPV6_RXHOPOPTS, IPV6_RXDSTOPTS): Use them.

* sysdeps/generic/ifreq.h (__if_nextreq) [_HAVE_SA_LEN]: Typo fix.

21 years agoSync with kernel header, fix typo.
Ulrich Drepper [Sat, 28 Jun 2003 08:19:47 +0000 (08:19 +0000)]
Sync with kernel header, fix typo.

2003-06-04  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/unix/sysv/linux/net/if_arp.h: Sync with kernel header,
fix typo.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Jun 2003 08:11:28 +0000 (08:11 +0000)]
Update.

2003-06-26  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/unix/sysv/linux/xstatconv.h [!STAT_IS_KERNEL_STAT]:
Conditionalize function definitions that use struct kernel_stat.
* sysdeps/unix/sysv/linux/fxstat.c: Remove __syscall_fstat extern.
* sysdeps/unix/sysv/linux/lxstat.c: Remove __syscall_lstat extern.
* sysdeps/unix/sysv/linux/xstat.c: Remove __syscall_stat extern.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Jun 2003 08:04:34 +0000 (08:04 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop): Add real
implementation.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Jun 2003 07:57:21 +0000 (07:57 +0000)]
Update.

2003-06-07  Thorsten Kukuk  <kukuk@suse.de>

* nis/nss_compat/compat-grp.c: Remove unused nis_first variable
(getgrent_next_file) Don't store group name to early in blacklist.

* nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Save strlen result
and use memcpy instead of strcpy.

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

* nis/nss_compat/compat-grp.c: Optimize several little things.  Use
stream unlocked.
* nis/nss_compat/compat-initgroups.c: Likewise.
* nis/nss_compat/compat-pwd.c: Likewise.
* nis/nss_compat/compat-spwd.c: Likewise.

2003-06-27  Thorsten Kukuk  <kukuk@suse.de>

* nis/nss_compat/compat-initgroups.c: Don't use our own NIS/NIS+
functions, dlopen corresponding NSS module instead.

21 years agoOptimize several little things. Use stream unlocked.
Ulrich Drepper [Sat, 28 Jun 2003 07:49:05 +0000 (07:49 +0000)]
Optimize several little things.  Use stream unlocked.

21 years ago* sysdeps/mach/hurd/alpha/init-first.c: Remove call to __libc_init.
Roland McGrath [Fri, 27 Jun 2003 20:58:33 +0000 (20:58 +0000)]
* sysdeps/mach/hurd/alpha/init-first.c: Remove call to __libc_init.

* sysdeps/mach/hurd/i386/init-first.c: Likewise.
* sysdeps/mach/hurd/mips/init-first.c: Likewise.
* sysdeps/mach/hurd/powerpc/init-first.c: Likewise.

21 years ago2003-06-27 Jeroen Dekkers <jeroen@dekkers.cx>
Roland McGrath [Fri, 27 Jun 2003 20:58:22 +0000 (20:58 +0000)]
2003-06-27  Jeroen Dekkers  <jeroen@dekkers.cx>

* sysdeps/mach/hurd/alpha/init-first.c: Remove call to __libc_init.
* sysdeps/mach/hurd/i386/init-first.c: Likewise.
* sysdeps/mach/hurd/mips/init-first.c: Likewise.
* sysdeps/mach/hurd/powerpc/init-first.c: Likewise.

21 years agoBump to 0.50.
Ulrich Drepper [Fri, 27 Jun 2003 19:48:13 +0000 (19:48 +0000)]
Bump to 0.50.

21 years agoUpdate.
Ulrich Drepper [Fri, 27 Jun 2003 17:53:52 +0000 (17:53 +0000)]
Update.

* tst-cancel4.c (tf_msgrcv): Use IPC_PRIVATE in msgget call.
(tf_msgsnd): Likewise.

21 years agoUpdate.
Ulrich Drepper [Fri, 27 Jun 2003 08:17:46 +0000 (08:17 +0000)]
Update.

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

* rt/Makefile (CFLAGS-librt-cancellation.c): Define.

21 years agoUpdate.
Ulrich Drepper [Fri, 27 Jun 2003 07:02:58 +0000 (07:02 +0000)]
Update.

2003-06-26  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/librt-cancellation.c: Move __pthread_unwind
definition to the front.

* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Rename
the cleanup functions to make the names unique.  Fix dwarf opcode
un unwind table.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Rename cleanup
functions to make the names unique.  Fix CFA offset for two blocks.

21 years agoMove __pthread_unwind definition to the front.
Ulrich Drepper [Fri, 27 Jun 2003 06:59:36 +0000 (06:59 +0000)]
Move __pthread_unwind definition to the front.

21 years ago* sysdeps/mach/configure.in: Barf rather than define NO_CREATION_TIME.
Roland McGrath [Fri, 27 Jun 2003 06:21:51 +0000 (06:21 +0000)]
* sysdeps/mach/configure.in: Barf rather than define NO_CREATION_TIME.

* sysdeps/mach/configure: Regenerated.
* sysdeps/mach/hurd/times.c (times_init): Function removed.
(__times): Assume `creation_time' field is available.
* sysdeps/mach/hurd/Makefile [$(subdir) = csu] (sysdep_routines):
Don't append set-init.
* sysdeps/mach/hurd/set-init.c: File removed.

21 years ago[__LINUX_KERNEL_VERSION >= 132426] (__ASSUME_AT_SECURE): Define it.
Roland McGrath [Thu, 26 Jun 2003 19:55:06 +0000 (19:55 +0000)]
[__LINUX_KERNEL_VERSION >= 132426] (__ASSUME_AT_SECURE): Define it.

21 years ago* elf/elf.h (AT_SECURE): New macro.
Roland McGrath [Thu, 26 Jun 2003 19:54:47 +0000 (19:54 +0000)]
* elf/elf.h (AT_SECURE): New macro.

* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Grok it,
set __libc_enable_secure.
(_dl_show_auxv): Add AT_SECURE to name table.
* elf/dl-support.c (_dl_aux_init): Grok AT_SECURE, set
__libc_enable_secure and __libc_enable_secure_decided.
* sysdeps/unix/sysv/linux/ldsodefs.h
[__ASSUME_AT_SECURE] (HAVE_AUX_SECURE): Define it.
* sysdeps/unix/sysv/linux/kernel-features.h
[__LINUX_KERNEL_VERSION >= 132425] (__ASSUME_AT_SECURE): Define it.

21 years ago2003-06-26 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 26 Jun 2003 19:54:29 +0000 (19:54 +0000)]
2003-06-26  Roland McGrath  <roland@redhat.com>

* elf/elf.h (AT_SECURE): New macro.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Grok it,
set __libc_enable_secure.
(_dl_show_auxv): Add AT_SECURE to name table.
* elf/dl-support.c (_dl_aux_init): Grok AT_SECURE, set
__libc_enable_secure and __libc_enable_secure_decided.
* sysdeps/unix/sysv/linux/ldsodefs.h
[__ASSUME_AT_SECURE] (HAVE_AUX_SECURE): Define it.
* sysdeps/unix/sysv/linux/kernel-features.h
[__LINUX_KERNEL_VERSION >= 132425] (__ASSUME_AT_SECURE): Define it.

21 years agoUpdate.
Ulrich Drepper [Thu, 26 Jun 2003 17:02:23 +0000 (17:02 +0000)]
Update.

2003-06-26  Ulrich Drepper  <drepper@redhat.com>

* io/test-utime.c: If _STATBUF_ST_NSEC is defined, adjust lower
boundary test to take rounding of nanoseconds into account.

* sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_NSEC.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.

21 years agoDefine _STATBUF_ST_NSEC.
Ulrich Drepper [Thu, 26 Jun 2003 17:00:37 +0000 (17:00 +0000)]
Define _STATBUF_ST_NSEC.

21 years ago*** empty log message ***
Andreas Schwab [Thu, 26 Jun 2003 16:18:24 +0000 (16:18 +0000)]
*** empty log message ***

2003-06-26  Andreas Schwab  <schwab@suse.de>

* sysdeps/m68k/fpu/bits/mathinline.h: Don't inline frexp.
* sysdeps/m68k/fpu/s_frexp.c: Put implementation here.
* sysdeps/m68k/fpu/s_frexpl.c: Fix to handle unnormalized numbers.

21 years ago* sysdeps/m68k/fpu/bits/mathinline.h: Don't inline frexp.
Andreas Schwab [Thu, 26 Jun 2003 16:18:13 +0000 (16:18 +0000)]
* sysdeps/m68k/fpu/bits/mathinline.h: Don't inline frexp.

* sysdeps/m68k/fpu/s_frexp.c: Put implementation here.
* sysdeps/m68k/fpu/s_frexpl.c: Fix to handle unnormalized numbers.

21 years agoUpdate.
Ulrich Drepper [Thu, 26 Jun 2003 08:00:21 +0000 (08:00 +0000)]
Update.

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

* nis/Makefile: Remove NIS/NIS+ files from nss_compat module.
* nis/nss_compat/compat-grp.c: Don't use our own NIS/NIS+ functions,
dlopen corresponding NSS module instead.
* nis/nss_compat/compat-pwd.c: Likewise.
* nis/nss_compat/compat-spwd.c: Likewise.
* nis/nss_compat/compat-initgroups.c: Disabled for now.
* nss/Versions: Export __nss_lookup_function.

2003-06-19  Daniel Jacobowitz  <drow@mvista.com>

* sysdeps/unix/sysv/linux/kernel-features.h: Update kernel features
for the SH architecture.

2003-06-25  Thorsten Kukuk  <kukuk@suse.de>

* csu/Makefile: Use CPPFLAGS to find correct linux/version.h.

21 years agoUpdate.
Ulrich Drepper [Thu, 26 Jun 2003 01:14:06 +0000 (01:14 +0000)]
Update.

2003-06-25  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/pthread.h (class __pthread_cleanup_class): Add
missing closing braces.
Patch by Christophe Saout <christophe@saout.de>.

21 years ago(class __pthread_cleanup_class): Add missing closing braces.
Ulrich Drepper [Thu, 26 Jun 2003 01:13:19 +0000 (01:13 +0000)]
(class __pthread_cleanup_class): Add missing closing braces.

21 years agoUpdate.
Andreas Jaeger [Wed, 25 Jun 2003 14:21:44 +0000 (14:21 +0000)]
Update.

* stdlib/tst-strtod.c (main): Declare constant long double as
suggested by Jakub Jelinek and Andreas Schwab.

21 years ago* posix/tst-nanosleep.c: Include <time.h> for nanosleep
Andreas Jaeger [Wed, 25 Jun 2003 11:14:37 +0000 (11:14 +0000)]
* posix/tst-nanosleep.c: Include <time.h> for nanosleep

declaration.
* stdio-common/tst-fphex.c: Fix format string.
* posix/tst-nanosleep.c: Include <time.h> for nanosleep
declaration.

* stdio-common/tst-fphex.c: Fix format string.

21 years ago* posix/transbug.c: Include <string.h> for memset and strlen
Andreas Jaeger [Wed, 25 Jun 2003 11:04:58 +0000 (11:04 +0000)]
* posix/transbug.c: Include <string.h> for memset and strlen

declarations.
* stdio-common/tst-sprintf.c: Include <stdlib.h> for free declaration.

* stdlib/tst-strtod.c (main): Pass long double value.

* test-skeleton.c: Include <time.h> for nanosleep declaration.
2003-06-25  Andreas Jaeger  <aj@suse.de>

* posix/transbug.c: Include <string.h> for memset and strlen
declarations.

* stdio-common/tst-sprintf.c: Include <stdlib.h> for free declaration.

* stdlib/tst-strtod.c (main): Pass long double value.

* test-skeleton.c: Include <time.h> for nanosleep declaration.

21 years agoUpdate.
Ulrich Drepper [Wed, 25 Jun 2003 08:47:01 +0000 (08:47 +0000)]
Update.

2003-06-25  Ulrich Drepper  <drepper@redhat.com>

* include/time.h: Don't define CLOCK_IDFIELD_SIZE if _ISOMAC is
defined.

21 years agoUpdate.
Ulrich Drepper [Wed, 25 Jun 2003 08:32:03 +0000 (08:32 +0000)]
Update.

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

* elf/Versions (libc): Add _dl_open_hook@GLIBC_PRIVATE.
* elf/dl-libc.c (struct dl_open_hook): New.
(_dl_open_hook): New variable.
(do_dlsym_private): New function.
(__libc_dlopen_mode) [!SHARED]: Lookup _dl_open_hook@GLIBC_PRIVATE
and initialize it if found.
(__libc_dlopen_mode) [SHARED]: If _dl_open_hook is non-NULL,
call dlopen_mode hook.
(__libc_dlsym) [SHARED]: If _dl_open_hook is non-NULL,
call dlsym hook.
(__libc_dlclose) [SHARED]: If _dl_open_hook is non-NULL,
call dlclose hook.

21 years agoUpdate.
Ulrich Drepper [Wed, 25 Jun 2003 08:19:44 +0000 (08:19 +0000)]
Update.

2003-06-25  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/cris/sysdep.h (INLINE_SYSCALL): Cast
result to long int so that extensions to long long int work.
Patch by Uwe Reimann <libc-alpha@pulsar.homelinux.net>.

2003-06-19  Jakub Jelinek  <jakub@redhat.com>

* elf/ldconfig.c (main): Use add_system_dir instead of add_dir.
* sysdeps/generic/dl-cache.h (add_system_dir): Define.
* sysdeps/unix/sysv/linux/x86_64/dl-cache.h: Include sparc
dl-cache.h.
* sysdeps/unix/sysv/linux/s390/dl-cache.h: New file.
* sysdeps/unix/sysv/linux/mips/dl-cache.h: New file.
* sysdeps/unix/sysv/linux/powerpc/dl-cache.h: New file.
* sysdeps/unix/sysv/linux/sparc/dl-cache.h: New file.

21 years agoUpdate.
Ulrich Drepper [Wed, 25 Jun 2003 07:46:45 +0000 (07:46 +0000)]
Update.

2003-06-19  Jakub Jelinek  <jakub@redhat.com>

* test-skeleton.c (timeout_handler): If waitpid returned 0,
retry once after a second.  If killed == 0, assume
WTERMSIG (status) == SIGKILL.

21 years agoUpdate.
Ulrich Drepper [Wed, 25 Jun 2003 05:32:19 +0000 (05:32 +0000)]
Update.

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

21 years agoPOSIX options for Linux/x86-64 with nptl.
Ulrich Drepper [Wed, 25 Jun 2003 05:26:47 +0000 (05:26 +0000)]
POSIX options for Linux/x86-64 with nptl.

21 years ago* sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Support cancellation
Roland McGrath [Wed, 25 Jun 2003 03:22:03 +0000 (03:22 +0000)]
* sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Support cancellation

in librt.

* sysdeps/unix/sysv/linux/alpha/Makefile (libpthread-routines):

21 years ago* sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Catch uninitialized
Roland McGrath [Wed, 25 Jun 2003 01:56:15 +0000 (01:56 +0000)]
* sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Catch uninitialized

elements in the table instead of printing an empty name string.

2003-06-05  Roland McGrath  <roland@redhat.com>

* elf/elf.h (PT_GNU_STACK): New macro.

21 years ago2003-06-05 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 25 Jun 2003 01:51:07 +0000 (01:51 +0000)]
2003-06-05  Roland McGrath  <roland@redhat.com>

* elf/elf.h (PT_GNU_STACK): New macro.

21 years agoUpdate.
Ulrich Drepper [Wed, 25 Jun 2003 00:00:50 +0000 (00:00 +0000)]
Update.

* include/time.h: Define CLOCK_IDFIELD_SIZE.
* sysdeps/posix/clock_getres.c: Recognize thread CPU clock IDs.
* sysdeps/unix/clock_gettime.c: Likewise.
* sysdeps/unix/clock_settime.c: Likewise.
* sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Adjust for new
clock id for thread CPU clocks.

21 years agoUpdate.
Ulrich Drepper [Tue, 24 Jun 2003 18:59:03 +0000 (18:59 +0000)]
Update.

2003-06-24  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/fstatfs64.c (__fstatfs64): Add support
for the fstatfs64 syscall.
* sysdeps/unix/sysv/linux/statfs64.c (__statfs64): Add support for
the statfs64 syscall.

* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_STATFS64 appropriately.

* sysdeps/unix/sysv/linux/internal_statvfs.c: Use f_frsize field
from statfs structure if it has been filled in.

* sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_frsize
field.
(struct statfs64): Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/statfs.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.

instead of __libc_cleanup_region_*.