platform/upstream/glibc.git
24 years agoUpdate.
Ulrich Drepper [Tue, 18 Apr 2000 17:56:29 +0000 (17:56 +0000)]
Update.

* sysdeps/unix/sysv/aix/getegid.c: Don't try to include <sys/id.h>.

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Apr 2000 17:42:52 +0000 (17:42 +0000)]
Update.

2000-04-18  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
* sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
* sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
* sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
* sysdeps/unix/sysv/aix/setregid.c: Likewise.
* sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
* sysdeps/unix/sysv/aix/setgid.c: Likewise.
* sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
* sysdeps/unix/sysv/aix/setegid.c: Likewise.
* sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
* sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
it here.
* sysdeps/unix/sysv/aix/msync.c: New file.
* sysdeps/unix/sysv/aix/msgsnd.c: New file.
* sysdeps/unix/sysv/aix/net/if.h: New file.
* sysdeps/unix/sysv/aix/pipe.c: New file.
* sysdeps/unix/sysv/aix/poll.c: New file.
* sysdeps/unix/sysv/aix/rename.c: New file.
* sysdeps/unix/sysv/aix/rmdir.c: New file.
* sysdeps/unix/sysv/aix/select.c: New file.
* sysdeps/unix/sysv/aix/semctl.c: New file.
* sysdeps/unix/sysv/aix/semget.c: New file.
* sysdeps/unix/sysv/aix/semop.c: New file.
* sysdeps/unix/sysv/aix/sendto.c: New file.
* sysdeps/unix/sysv/aix/setgroups.c: New file.
* sysdeps/unix/sysv/aix/setpgid.c: New file.
* sysdeps/unix/sysv/aix/setpgrp.c: New file.
* sysdeps/unix/sysv/aix/setpriority.c: New file.
* sysdeps/unix/sysv/aix/setrlimit.c: New file.
* sysdeps/unix/sysv/aix/setrlimit64.c: New file.
* sysdeps/unix/sysv/aix/setsid.c: New file.
* sysdeps/unix/sysv/aix/setsockopt.c: New file.
* sysdeps/unix/sysv/aix/shmat.c: New file.
* sysdeps/unix/sysv/aix/shmctl.c: New file.
* sysdeps/unix/sysv/aix/shmdt.c: New file.
* sysdeps/unix/sysv/aix/shmget.c: New file.
* sysdeps/unix/sysv/aix/sigaltstack.c: New file.
* sysdeps/unix/sysv/aix/sigstack.c: New file.
* sysdeps/unix/sysv/aix/socket.c: New file.
* sysdeps/unix/sysv/aix/socketpair.c: New file.
* sysdeps/unix/sysv/aix/speed.c: New file.
* sysdeps/unix/sysv/aix/symlink.c: New file.
* sysdeps/unix/sysv/aix/sync.c: New file.
* sysdeps/unix/sysv/aix/tcgetattr.c: New file.
* sysdeps/unix/sysv/aix/tcsetattr.c: New file.
* sysdeps/unix/sysv/aix/times.c: New file.
* sysdeps/unix/sysv/aix/ulimit.c: New file.
* sysdeps/unix/sysv/aix/umask.c: New file.
* sysdeps/unix/sysv/aix/unlink.c: New file.
* sysdeps/unix/sysv/aix/ustat.c: New file.
* sysdeps/unix/sysv/aix/utimes.c: New file.

24 years agoAIX times implementation.
Ulrich Drepper [Tue, 18 Apr 2000 17:36:12 +0000 (17:36 +0000)]
AIX times implementation.

24 years agoUpdate.
Andreas Jaeger [Tue, 18 Apr 2000 17:35:17 +0000 (17:35 +0000)]
Update.

* manual/startup.texi (Environment Access): Fix putenv prototype
according to recent changes.
Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
PR libc/1692.

24 years ago2000-04-18 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Tue, 18 Apr 2000 17:34:56 +0000 (17:34 +0000)]
2000-04-18  Andreas Jaeger  <aj@suse.de>

* manual/startup.texi (Environment Access): Fix putenv prototype
according to recent changes.
Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
PR libc/1692.

24 years agoAIX tcsetattr implementation.
Ulrich Drepper [Tue, 18 Apr 2000 17:33:41 +0000 (17:33 +0000)]
AIX tcsetattr implementation.

24 years agoAIX socketpair implementation.
Ulrich Drepper [Tue, 18 Apr 2000 17:21:56 +0000 (17:21 +0000)]
AIX socketpair implementation.

24 years ago2000-04-18 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Tue, 18 Apr 2000 17:21:41 +0000 (17:21 +0000)]
2000-04-18  Andreas Jaeger  <aj@suse.de>

* elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
needed.
2000-04-18  Andreas Jaeger  <aj@suse.de>

* elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
needed.

24 years agoAIX socket implementation.
Ulrich Drepper [Tue, 18 Apr 2000 17:20:43 +0000 (17:20 +0000)]
AIX socket implementation.

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Apr 2000 09:15:27 +0000 (09:15 +0000)]
Update.

* sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h (struct sigcontext):
Remove the typedef keyword.

2000-04-18  Jakub Jelinek  <jakub@redhat.com>

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Apr 2000 07:56:20 +0000 (07:56 +0000)]
Update.

2000-04-18  Ulrich Drepper  <drepper@redhat.com>

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

and setresuid from sysdep_routines.

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Apr 2000 06:48:18 +0000 (06:48 +0000)]
Update.

* manual/sysinfo.texi: Document that umount2 is not widely available.

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Apr 2000 06:35:08 +0000 (06:35 +0000)]
Update.

* sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
signal timing is not really implemented.

2000-04-17  Andreas Jaeger  <aj@suse.de>

* elf/rtld.c (process_dl_debug): Mention statistics in help message.

2000-04-17  Jakub Jelinek  <jakub@redhat.com>

* Makefile (install): Use slibdir and libdir instead of inst_slibdir
and inst_libdir.

2000-04-17  Ulrich Drepper  <drepper@redhat.com>

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Apr 2000 06:24:03 +0000 (06:24 +0000)]
Update.

* manual/intro.texi: Change reference from System Information to
System Management.
* manual/users.texi: Likewise.
* manual/conf.texi: Likewise.
* manual/sysinfo.texi: Document mount, umount, and umount2.
Patch by Bryan Henderson <bryanh@giraffe-data.com>.

2000-04-17  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
Create wnumstr as well as numstr to support wide character output
correctly.

2000-04-15  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
modification and move it...
* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
Add -melf64_sparc switch to $(LD) on sparc64-linux.
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
switch to $(LD) on sparc-linux.

2000-04-17  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
and setresuid frm sysdep_routines.

2000-04-17  Ulrich Drepper  <drepper@redhat.com>

* manual/resource.texi: ...here.  New file.  Document ulimit, vlimit,
and vtimes.

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Apr 2000 04:27:22 +0000 (04:27 +0000)]
Update.

* manual/Makefile (chapters): Add resource.

* manual/time.texi: Move section on resources to...
* manual/resource.texi: ...here.  New file.
* manual/setjmp.texi: Adjust back reference.
Patch by Bryan Henderson <bryanh@giraffe-data.com>.

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Apr 2000 00:50:44 +0000 (00:50 +0000)]
Update.

2000-04-17  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
definition.
* sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
* sysdeps/unix/sysv/aix/kill.c: Add copyright.
* sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
* sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
* sysdeps/unix/sysv/aix/execve.c: Add copyright.
* sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
* sysdeps/unix/sysv/aix/close.c: Add copyright.
* sysdeps/unix/sysv/aix/brk.c: Add copyright.
* sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
* sysdeps/unix/sysv/aix/access.c: Add copyright.
* sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
* sysdeps/unix/sysv/aix/Implies: New file.
* sysdeps/unix/sysv/aix/Versions: New file.
* sysdeps/unix/sysv/aix/bind.c: New file.
* sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
* sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
* sysdeps/unix/sysv/aix/bits/poll.h: New file.
* sysdeps/unix/sysv/aix/bits/termios.h: New file.
* sysdeps/unix/sysv/aix/chdir.c: New file.
* sysdeps/unix/sysv/aix/chmod.c: New file.
* sysdeps/unix/sysv/aix/chroot.c: New file.
* sysdeps/unix/sysv/aix/creat.c: New file.
* sysdeps/unix/sysv/aix/dl-close.c: New file.
* sysdeps/unix/sysv/aix/dl-open.c: New file.
* sysdeps/unix/sysv/aix/dl-sym.c: New file.
* sysdeps/unix/sysv/aix/fchdir.c: New file.
* sysdeps/unix/sysv/aix/fchmod.c: New file.
* sysdeps/unix/sysv/aix/getgroups.c: New file.
* sysdeps/unix/sysv/aix/gethostname.c: New file.
* sysdeps/unix/sysv/aix/getpriority.c: New file.
* sysdeps/unix/sysv/aix/getrlimit.c: New file.
* sysdeps/unix/sysv/aix/getrlimit64.c: New file.
* sysdeps/unix/sysv/aix/getrusage.c: New file.
* sysdeps/unix/sysv/aix/link.c: New file.
* sysdeps/unix/sysv/aix/madvise.c: New file.
* sysdeps/unix/sysv/aix/mkdir.c: New file.
* sysdeps/unix/sysv/aix/mknod.c: New file.
* sysdeps/unix/sysv/aix/mprotect.c: New file.
* sysdeps/unix/sysv/aix/msgctl.c: New file.
* sysdeps/unix/sysv/aix/msgget.c: New file.
* sysdeps/unix/sysv/aix/msgrcv.c: New file.

24 years agoAIX msgrcv implementation.
Ulrich Drepper [Tue, 18 Apr 2000 00:42:45 +0000 (00:42 +0000)]
AIX msgrcv implementation.

24 years agoUpdate.
Andreas Jaeger [Mon, 17 Apr 2000 23:56:25 +0000 (23:56 +0000)]
Update.

(elf_machine_relplt): Removed, it's not needed.
(_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.

24 years ago(elf_machine_relplt): Removed, it's not needed.
Andreas Jaeger [Mon, 17 Apr 2000 23:56:16 +0000 (23:56 +0000)]
(elf_machine_relplt): Removed, it's not needed.

(_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.

24 years agoAIX msgget implementation.
Ulrich Drepper [Mon, 17 Apr 2000 23:11:32 +0000 (23:11 +0000)]
AIX msgget implementation.

24 years agoAIX ioctl definitions.
Ulrich Drepper [Mon, 17 Apr 2000 21:28:18 +0000 (21:28 +0000)]
AIX ioctl definitions.

24 years agoUpdate.
Andreas Jaeger [Mon, 17 Apr 2000 21:24:03 +0000 (21:24 +0000)]
Update.

* sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
as suggested by Ulrich Drepper.
(__dl_runtime_resolve): Remove unused variable, initialize sym
directly.
(RTLD_START): Document OFFSET_GP_GOT.
(OFFSET_GP_GOT): New magic value.
(elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
(elf_machine_got_rel): Only declare strtab if needed.

24 years ago2000-04-17 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Mon, 17 Apr 2000 21:22:59 +0000 (21:22 +0000)]
2000-04-17  Andreas Jaeger  <aj@suse.de>

* sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
as suggested by Ulrich Drepper.
(__dl_runtime_resolve): Remove unused variable, initialize sym
directly.
(RTLD_START): Document OFFSET_GP_GOT.
(OFFSET_GP_GOT): New magic value.
(elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
(elf_machine_got_rel): Only declare strtab if needed.

24 years agoAdd EAFNOSUPPORT.
Ulrich Drepper [Mon, 17 Apr 2000 21:18:22 +0000 (21:18 +0000)]
Add EAFNOSUPPORT.

24 years agoImplies file for AIX.
Ulrich Drepper [Mon, 17 Apr 2000 21:07:29 +0000 (21:07 +0000)]
Implies file for AIX.

24 years agoUpdate.
Andreas Jaeger [Mon, 17 Apr 2000 20:59:41 +0000 (20:59 +0000)]
Update.

2000-04-17  Andreas Jaeger  <aj@suse.de>

* sysdeps/mips/add_n.S: Add newline at EOF.
* sysdeps/mips/rshift.S: Likewise.
* sysdeps/mips/mul_1.S: Likewise.
* sysdeps/mips/lshift.S: Likewise.
* sysdeps/mips/addmul_1.S: Likewise.

24 years ago2000-04-17 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Mon, 17 Apr 2000 20:59:00 +0000 (20:59 +0000)]
2000-04-17  Andreas Jaeger  <aj@suse.de>

* sysdeps/mips/add_n.S: Add newline at EOF.
* sysdeps/mips/rshift.S: Likewise.
* sysdeps/mips/mul_1.S: Likewise.
* sysdeps/mips/lshift.S: Likewise.
* sysdeps/mips/addmul_1.S: Likewise.

24 years agoUpdate.
Ulrich Drepper [Mon, 17 Apr 2000 18:10:46 +0000 (18:10 +0000)]
Update.

* sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.

24 years agoUpdate.
Ulrich Drepper [Mon, 17 Apr 2000 15:59:51 +0000 (15:59 +0000)]
Update.

* elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
* elf/dl-lookup.c: Likewise.
* elf/dl-init.c (_dl_init): Likewise.
* elf/dl-fini.c (_dl_fini): Likewise.
* elf/dl-deps.c (_dl_map_object_deps): Likewise.
* elf/dl-close.c (_dl_close): Likewise.
* elf/rtld.c (_dl_start_final): Likewise.

24 years agoUpdate.
Ulrich Drepper [Mon, 17 Apr 2000 15:41:59 +0000 (15:41 +0000)]
Update.

* elf/dl-reloc.c (_dl_relocat_object): Add more __builtin_expect.
* elf/dl-lookup.c: Add more __builtin_expect.
* elf/dl-init.c (_dl_init): Add more __builtin_expect.
* elf/dl-fini.c (_dl_fini): Add more __builtin_expect.
* elf/dl-deps.c (_dl_map_object_deps): Add more __builtin_expect.
* elf/dl-close.c (_dl_close): Add more __builtin_expect.
* elf/rtld.c (_dl_start_final): Add more __builtin_expect.

24 years agoUpdate.
Ulrich Drepper [Mon, 17 Apr 2000 07:09:10 +0000 (07:09 +0000)]
Update.

2000-04-17  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.

24 years agoUpdate.
Ulrich Drepper [Sun, 16 Apr 2000 08:18:10 +0000 (08:18 +0000)]
Update.

2000-04-16  Ulrich Drepper  <drepper@redhat.com>

* pthread.c: Correct long-time braino.  We never set SA_SIGINFO and
therefore don't need the _rt versions of the signal handlers.

* internals.h: Declare __pthread_yield.

24 years agoUpdate.
Ulrich Drepper [Sun, 16 Apr 2000 01:18:43 +0000 (01:18 +0000)]
Update.

* csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
only fall back on using Linux.

24 years agoUpdate.
Ulrich Drepper [Sat, 15 Apr 2000 22:26:34 +0000 (22:26 +0000)]
Update.

* elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
Before testing versions check that we actually loaded the object
and whether we are in trace mode.  If not loaded during tracing don't
test versions in this object.
(_dl_check_all_versions): Take new parameter and pass to
_dl_check_map_versions.
* sysdeps/generic/ldsodefs.h: Update prototypes for
_dl_check_all_versions and _dl_check_map_versions.
* elf/rtld.c (struct version_check_args): Add dotrace.
(version_check_doit): Pass args->dotrace to _dl_check_all_versions.
(dl_main): Pass info about trace mode to version_check_doit.
* elf/dl-open.c (dl_open_worker): Pass zero as new argument to
_dl_check_all_versions.

* manual/users.texi (XPG Functions): Document utmpxname, getutmp,
and getutmpx.
Patch by Bryan Henderson <bryanh@giraffe-data.com>.

24 years agoUpdate.
Ulrich Drepper [Sat, 15 Apr 2000 19:38:00 +0000 (19:38 +0000)]
Update.

2000-04-15  Ulrich Drepper  <drepper@redhat.com>

* manual/argp.texi: Document index parameter of argp_parse.
Fix typo.
Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.

24 years agoUpdate.
Ulrich Drepper [Sat, 15 Apr 2000 19:21:10 +0000 (19:21 +0000)]
Update.

2000-04-14  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
SHMFS_SUPER_MAGIC.  Remove definition of SHMFS_SUPER_MAGIC.

* sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.

24 years agoUpdate.
Ulrich Drepper [Sat, 15 Apr 2000 17:39:36 +0000 (17:39 +0000)]
Update.

* sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
compat_symbol call for old adjtime.

* sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init

24 years agoUpdate.
Ulrich Drepper [Sat, 15 Apr 2000 17:15:10 +0000 (17:15 +0000)]
Update.

* sysdeps/alpha/dl-machine.h (RTLD_START):Rewrite for new init
function interface.  Patch by Richard Henderson <rth@cygnus.com>.

24 years agoUpdate.
Ulrich Drepper [Sat, 15 Apr 2000 16:51:16 +0000 (16:51 +0000)]
Update.

2000-04-15  Ulrich Drepper  <drepper@redhat.com>

* posix/Makefile (headers): Add spawn.h.
(distribute): Add spawn_int.h.
(routines): Add spawn_faction_init, spawn_faction_destroy,
spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
* posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
posix_spawnattr_init, posix_spawnattr_destroy,
posix_spawnattr_getdefault, posix_spawnattr_setdefault,
posix_spawnattr_getflags, posix_spawnattr_setflags,
posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
and posix_spawnp.
* posix/spawn.c: New file.
* posix/spawn.h: New file.
* posix/spawn_faction_addclose.c: New file.
* posix/spawn_faction_adddup2.c: New file.
* posix/spawn_faction_addopen.c: New file.
* posix/spawn_faction_destroy.c: New file.
* posix/spawn_faction_init.c: New file.
* posix/spawn_int.h: New file.
* posix/spawnattr_destroy.c: New file.
* posix/spawnattr_getdefault.c: New file.
* posix/spawnattr_getflags.c: New file.
* posix/spawnattr_getpgroup.c: New file.
* posix/spawnattr_getschedparam.c: New file.
* posix/spawnattr_getschedpolicy.c: New file.
* posix/spawnattr_getsigmask.c: New file.
* posix/spawnattr_init.c: New file.
* posix/spawnattr_setdefault.c: New file.
* posix/spawnattr_setflags.c: New file.
* posix/spawnattr_setpgroup.c: New file.
* posix/spawnattr_setschedparam.c: New file.
* posix/spawnattr_setschedpolicy.c: New file.
* posix/spawnattr_setsigmask.c: New file.
* posix/spawni.c: New file.
* posix/spawnp.c: New file.

* sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.

24 years agoUpdate.
Ulrich Drepper [Sat, 15 Apr 2000 16:22:21 +0000 (16:22 +0000)]
Update.

2000-04-15  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/bits/posix_opt.h: Add _POSIX_SPAWN.
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.

24 years agoAdd _POSIX_SPAWN.
Ulrich Drepper [Sat, 15 Apr 2000 16:21:49 +0000 (16:21 +0000)]
Add _POSIX_SPAWN.

24 years agoUpdate.
Andreas Jaeger [Sat, 15 Apr 2000 04:34:14 +0000 (04:34 +0000)]
Update.

(elf_machine_got_rel): Cast sym correctly.

24 years agoUpdate.
Andreas Jaeger [Sat, 15 Apr 2000 03:57:39 +0000 (03:57 +0000)]
Update.

* sysdeps/mips/add_n.S: Use __PIC__, add end directive.

24 years agoUpdate.
Andreas Jaeger [Sat, 15 Apr 2000 03:54:55 +0000 (03:54 +0000)]
Update.

* sysdeps/mips/addmul_1.S: Likewise.
* sysdeps/mips/lshift.S: Likewise.
* sysdeps/mips/mul_1.S: Likewise.
* sysdeps/mips/rshift.S: Likewise.
* sysdeps/mips/sub_n.S: Likewise.
* sysdeps/mips/submul_1.S: Likewise.

24 years agoUpdate.
Andreas Jaeger [Sat, 15 Apr 2000 03:45:32 +0000 (03:45 +0000)]
Update.

* sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
symidx correctly.

* sysdeps/mips/add_n.S: Use __PIC__, add .end directive.

24 years agoUpdate.
Andreas Jaeger [Sat, 15 Apr 2000 01:35:09 +0000 (01:35 +0000)]
Update.

* stdlib/stdlib.h: Fix typo in comment.

24 years ago2000-04-14 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Fri, 14 Apr 2000 22:42:52 +0000 (22:42 +0000)]
2000-04-14  Andreas Jaeger  <aj@suse.de>

* shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
2.2 for libdl, ld and libm.
* shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
2.2 for libdl, ld and libm.

24 years ago2000-04-14 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Fri, 14 Apr 2000 22:42:41 +0000 (22:42 +0000)]
2000-04-14  Andreas Jaeger  <aj@suse.de>

* shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
2.2 for linuxthreads.

2000-04-14  Andreas Jaeger  <aj@suse.de>

* shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
2.2 for libdl, ld and libm.
* shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
2.2 for linuxthreads.

24 years agoAdd newline at EOF.
Andreas Jaeger [Fri, 14 Apr 2000 17:53:07 +0000 (17:53 +0000)]
Add newline at EOF.

24 years agoUpdate.
Ulrich Drepper [Fri, 14 Apr 2000 17:44:22 +0000 (17:44 +0000)]
Update.

2000-04-14  Ulrich Drepper  <drepper@redhat.com>

* malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
* malloc/malloc.c: Implement posix_memalign for glibc.
* include/stdlib.h: Add prototype for __posix_memalign.
* stdlib/stdlib.h: Add prototype for posix_memalign.

24 years agoImplement posix_memalign for glibc.
Ulrich Drepper [Fri, 14 Apr 2000 17:42:46 +0000 (17:42 +0000)]
Implement posix_memalign for glibc.

24 years agoUpdate.
Andreas Jaeger [Fri, 14 Apr 2000 17:37:10 +0000 (17:37 +0000)]
Update.

2000-04-14  Andreas Jaeger  <aj@suse.de>

* sysdeps/generic/madvise.c: Fix typos.

* sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.

* sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.

* sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
warnings.

24 years ago2000-04-14 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Fri, 14 Apr 2000 17:36:37 +0000 (17:36 +0000)]
2000-04-14  Andreas Jaeger  <aj@suse.de>

* weaks.c: Fix typo.

2000-04-14  Andreas Jaeger  <aj@suse.de>

* sysdeps/generic/madvise.c: Fix typos.

* sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.

* sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.

* sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
warnings.
2000-04-14  Andreas Jaeger  <aj@suse.de>

* weaks.c: Fix typo.

24 years agoupdate.
Ulrich Drepper [Fri, 14 Apr 2000 07:51:02 +0000 (07:51 +0000)]
update.

2000-04-14  Ulrich Drepper  <drepper@redhat.com>

* include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
* sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
Make old name weak alias.
* sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
* sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
Make old name weak alias.
* sysdeps/unix/sysv/linux/statfs64.c: Likewise.

* io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
posix_fallocate, and posix_fallocate64.
* io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
posix_fallocate, and posix_fallocate64.
* io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
posix_fallocate, and posix_fallocate64.
* sysdeps/generic/fadvise.c: New file.
* sysdeps/generic/fadvise64.c: New file.
* sysdeps/generic/fallocate.c: New file.
* sysdeps/generic/fallocate64.c: New file.
* sysdeps/posix/fallocate.c: New file.
* sysdeps/posix/fallocate64.c: New file.
* sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
* sysdeps/mach/hurd/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.

* sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.

24 years agoUpdate.
Ulrich Drepper [Fri, 14 Apr 2000 05:59:03 +0000 (05:59 +0000)]
Update.

2000-04-13  Ulrich Drepper  <drepper@redhat.com>

* misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
* misc/sys/mman.h (posix_madvise): Add prototype.
* sysdeps/generic/madvise.c (madvise): Renamed to __madvise.  Make
old name and posix_madvise weak aliases.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
* sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
* sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.

24 years ago[libc] (GLIBC_2.2): Add posix_madvice.
Ulrich Drepper [Fri, 14 Apr 2000 05:45:32 +0000 (05:45 +0000)]
[libc] (GLIBC_2.2): Add posix_madvice.

24 years agoUpdate.
Andreas Jaeger [Fri, 14 Apr 2000 00:35:47 +0000 (00:35 +0000)]
Update.

(elf_machine_got_rel): Handle symbol versioning.

24 years agoUpdate.
Andreas Jaeger [Fri, 14 Apr 2000 00:15:54 +0000 (00:15 +0000)]
Update.

(elf_machine_got_rel): Only add runtime display if needed.

24 years agoUpdate.
Andreas Jaeger [Thu, 13 Apr 2000 23:55:40 +0000 (23:55 +0000)]
Update.

* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
versioning.

2000-04-13  Andreas Jaeger  <aj@suse.de>

24 years agoUpdate.
Andreas Jaeger [Thu, 13 Apr 2000 20:13:42 +0000 (20:13 +0000)]
Update.

* sysdeps/unix/sysv/linux/mips/clone.S: Fix function.

* sysdeps/unix/sysv/linux/mips/pipe.S: New file.

24 years agoUpdate.
Andreas Jaeger [Thu, 13 Apr 2000 19:53:31 +0000 (19:53 +0000)]
Update.

* sysdeps/unix/sysv/linux/mips/pipe.S: New file.

24 years agoUpdate.
Andreas Jaeger [Thu, 13 Apr 2000 19:46:23 +0000 (19:46 +0000)]
Update.

2000-04-13  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
default.

* sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
with some applications.
Patches by Ralf Baechle <ralf@uni-koblenz.de>.

* sysdeps/mips/bsd-setjmp.S: Use __PIC__.
* sysdeps/mips/bsd-_setjmp.S: Likewise.
* sysdeps/mips/setjmp.S: Likewise.

24 years ago2000-04-13 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Thu, 13 Apr 2000 19:46:02 +0000 (19:46 +0000)]
2000-04-13  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
default.

* sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
with some applications.
Patches by Ralf Baechle <ralf@uni-koblenz.de>.

* sysdeps/mips/bsd-setjmp.S: Use __PIC__.
* sysdeps/mips/bsd-_setjmp.S: Likewise.
* sysdeps/mips/setjmp.S: Likewise.

24 years agoUpdate.
Ulrich Drepper [Thu, 13 Apr 2000 15:13:26 +0000 (15:13 +0000)]
Update.

2000-04-13  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/getcpuclockid.c
(pthread_getcpuclockid): Fix typo.

24 years agoUpdate.
Ulrich Drepper [Thu, 13 Apr 2000 07:30:27 +0000 (07:30 +0000)]
Update.

2000-04-13  Ulrich Drepper  <drepper@redhat.com>

* posix/globtest.sh: Work around inconsistency with expanding ~/
in shell (PR libc/1690).  Reported by patsmith@pobox.com.

24 years agoUpdate.
Ulrich Drepper [Thu, 13 Apr 2000 05:59:06 +0000 (05:59 +0000)]
Update.

* sysdeps/unix/sysv/linux/bits/posix_opt.h (_POSIX_SPIN_LOCKS):
Defined.
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.

24 years agoUpdate.
Ulrich Drepper [Thu, 13 Apr 2000 05:57:21 +0000 (05:57 +0000)]
Update.

* sysdeps/pthread/pthread.h: Add prototypes for pthread_spin_init,
pthread_spin_destroy, pthread_spin_lock, pthread_spin_trylock,
and pthread_spin_unlock.
* sysdeps/pthread/bits/pthreadtypes.h: Change struct _pthread_fastlock
into pthread_spinlock_t.  Change all uses.
* spinlock.c: Implement pthread_spin_lock.
Rename __pthread_unlock to __pthread_spin_unlock and define weak
alias for real name.
Define pthread_spin_trylock, pthread_spin_init, and
pthread_spin_destroy.
Change all uses of _pthread_fastlock to pthread_spinlock_t.
* spinlock.h: Rename __pthread_unlock to __pthread_spin_unlock.
Change all uses of _pthread_fastlock to pthread_spinlock_t.
* Versions [libpthread] (GLIBC_2.2): Add pthread_spin_init,
pthread_spin_destroy, pthread_spin_lock, pthread_spin_trylock,
and pthread_spin_unlock.
* cancel.c: Use __pthread_spin_unlock instead of __pthread_unlock.
Change all uses of _pthread_fastlock to pthread_spinlock_t.
* condvar.c: Likewise.
* internals.h: Likewise.
* join.c: Likewise.
* manager.c: Likewise.
* mutex.c: Likewise.
* pthread.c: Likewise.
* rwlock.c: Likewise.
* semaphore.c: Likewise.
* signals.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Thu, 13 Apr 2000 03:55:50 +0000 (03:55 +0000)]
Update.

* posix/getconf.c: Add support for many more POSIX options.
* sysdeps/posix/sysconf.c: Likewise.
* sysdeps/generic/bits/confname.h: Add many more POSIX options.
* sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
_POSIX_SHELL.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
CLOCK_PROCESS_CPUTIME_ID.  Add define CLOCK_MONOTONIC and
CLOCK_THREAD_CPUTIME_ID.
* sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
CLOCK_PROCESS_CPUTIME_ID.
* sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
__CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID.  Handle
CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
* sysdeps/unix/i386/i586/clock_gettime.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Wed, 12 Apr 2000 23:53:40 +0000 (23:53 +0000)]
Update.

* malloc/Makefile (tests): Add tst-calloc.
* malloc/tst-calloc.c: New file.

24 years agoUpdate.
Ulrich Drepper [Wed, 12 Apr 2000 23:40:28 +0000 (23:40 +0000)]
Update.

* sysdeps/arm/libm-test-ulps: New file.

24 years agoUpdate.
Ulrich Drepper [Wed, 12 Apr 2000 23:17:05 +0000 (23:17 +0000)]
Update.

* malloc/malloc.c: Undo all of today's changes.

24 years agoUpdate.
Ulrich Drepper [Wed, 12 Apr 2000 21:39:32 +0000 (21:39 +0000)]
Update.

* locale/programs/locale.c (show_info): Don't try to look into
data for LC_ALL (there is none).

24 years agoUpdate.
Ulrich Drepper [Wed, 12 Apr 2000 21:10:45 +0000 (21:10 +0000)]
Update.

* malloc/malloc.c (cALLOc): Clear only what the user asked for and
avoid writing over boundary.
Patch by Greg McGary <gkm@eng.ascend.com>.

24 years agoUpdate.
Ulrich Drepper [Wed, 12 Apr 2000 20:59:34 +0000 (20:59 +0000)]
Update.

2000-04-12  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/arm/memprof.h: New file.

24 years agoUpdate.
Ulrich Drepper [Wed, 12 Apr 2000 20:53:19 +0000 (20:53 +0000)]
Update.

2000-04-12  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.

* sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
for memmem declaration.

* sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
to -1.
* sysdeps/posix/clock_getres.c (clock_getres): Likewise.

24 years agoUpdate.
Ulrich Drepper [Wed, 12 Apr 2000 20:45:32 +0000 (20:45 +0000)]
Update.

* libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
mode is invalid.
* libio/oldiopopen.c (_IO_old_proc_open): Likewise.
Patch by Bart Veer <bartv@redhat.com>.

24 years agoUpdate.
Ulrich Drepper [Wed, 12 Apr 2000 20:34:27 +0000 (20:34 +0000)]
Update.

2000-04-12  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
function interface.

24 years ago(RTLD_START): Rewrite for new init function interface.
Ulrich Drepper [Wed, 12 Apr 2000 20:12:05 +0000 (20:12 +0000)]
(RTLD_START): Rewrite for new init function interface.

24 years agoUpdate.
Andreas Jaeger [Wed, 12 Apr 2000 17:59:36 +0000 (17:59 +0000)]
Update.

2000-04-11  Andreas Jaeger  <aj@suse.de>

* sysdeps/mips/dl-machine.h: Update some comments.
(ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.

24 years ago2000-04-11 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Wed, 12 Apr 2000 17:59:20 +0000 (17:59 +0000)]
2000-04-11  Andreas Jaeger  <aj@suse.de>

* sysdeps/mips/dl-machine.h: Update some comments.
(ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.

24 years agoUpdate.
Ulrich Drepper [Wed, 12 Apr 2000 06:53:41 +0000 (06:53 +0000)]
Update.

* sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
_POSIX_SHARED_MEMORY_OBJECTS.

24 years agoUpdate.
Ulrich Drepper [Wed, 12 Apr 2000 06:48:39 +0000 (06:48 +0000)]
Update.

* rt/Makefile (tests): Add tst-shm.
Add rules to generate tst-shm.
* rt/tst-shm.c: New file.

24 years agoUpdate.
Ulrich Drepper [Wed, 12 Apr 2000 06:08:31 +0000 (06:08 +0000)]
Update.

* sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
for descriptor.

24 years agoUpdate.
Ulrich Drepper [Wed, 12 Apr 2000 04:59:33 +0000 (04:59 +0000)]
Update.

* misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
* rt/Makefile (librt-routines): Add shm_open and shm_unlink.
* rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
* sysdeps/generic/shm_open.c: New file.
* sysdeps/generic/shm_unlink.c: New file.
* sysdeps/unix/sysv/linux/shm_open.c: New file.
* sysdeps/unix/sysv/linux/shm_unlink.c: New file.
* sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
 __endmntent, __getmntent_r, __setmntent, and __statfs.

24 years agoAdd prototypes for shm_open and shm_unlink.
Ulrich Drepper [Wed, 12 Apr 2000 04:55:36 +0000 (04:55 +0000)]
Add prototypes for shm_open and shm_unlink.

24 years ago2000-04-11 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Tue, 11 Apr 2000 18:41:17 +0000 (18:41 +0000)]
2000-04-11  Andreas Jaeger  <aj@suse.de>

* sysdeps/mips/pt-machine.h (MEMORY_BARRIER): Define.
(__compare_and_swap): Mark as modifying memory.
2000-04-11  Andreas Jaeger  <aj@suse.de>

* sysdeps/mips/pt-machine.h (MEMORY_BARRIER): Define.
(__compare_and_swap): Mark as modifying memory.

24 years agoUpdate.
Ulrich Drepper [Tue, 11 Apr 2000 17:54:09 +0000 (17:54 +0000)]
Update.

* libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
fragmentation by allocating new memory at the end instead of
reallocating.

24 years ago(_IO_vasprintf): Try to avoid memory fragmentation by allocating new memory at the...
Ulrich Drepper [Tue, 11 Apr 2000 17:53:41 +0000 (17:53 +0000)]
(_IO_vasprintf): Try to avoid memory fragmentation by allocating new memory at the end instead of reallocating.

24 years ago* sysdeps/powerpc/pt-machine.h (MEMORY_BARRIER): Don't be __volatile__. (__compare_an...
Geoff Keating [Tue, 11 Apr 2000 17:34:36 +0000 (17:34 +0000)]
* sysdeps/powerpc/pt-machine.h (MEMORY_BARRIER): Don't be __volatile__. (__compare_and_swap): Replace other 'sync' with MEMORY_BARRIER. Don't have the 'asm' __volatile__.

2000-04-11  Geoff Keating  <geoffk@cygnus.com>

* sysdeps/powerpc/pt-machine.h (MEMORY_BARRIER): Don't be
__volatile__.
(__compare_and_swap): Replace other 'sync' with MEMORY_BARRIER.
Don't have the 'asm' __volatile__.

24 years agoUpadte.
Ulrich Drepper [Tue, 11 Apr 2000 17:03:03 +0000 (17:03 +0000)]
Upadte.

2000-04-11  Ulrich Drepper  <drepper@redhat.com>

* internals.h: Define MEMORY_BARRIER as empty if not defined already.
* spinlock.c (__pthread_lock): Add memory barriers.
(__pthread_unlock): Likewise.
* sysdeps/alpha/pt-machine.h (MEMORY_BARRIER): Define using mb
instruction.
(RELEASE): Not needed anymore.
(__compare_and_swap): Mark asm as modifying memory.
* sysdeps/powerpc/pt-machine.h (sync): Remove.  Replace with definition
of MEMORY_BARRIER.
(__compare_and_swap): Use MEMORY_BARRIER instead of sync.
* sysdeps/sparc/sparc32/pt-machine.h (RELEASE): Not needed anymore.
(MEMORY_BARRIER): Define using stbar.
* sysdeps/sparc/sparc64/pt-machine.h (MEMORY_BARRIER): Define using
stbar.
(__compare_and_swap): Use MEMORY_BARRIER to ensure ordering.
Patch by Xavier Leroy <Xavier.Leroy@inria.fr> based on comments by
Mike Burrows <m3b@pa.dec.com>.

24 years agoUpdate.
Ulrich Drepper [Tue, 11 Apr 2000 16:27:38 +0000 (16:27 +0000)]
Update.

2000-04-11  Ulrich Drepper  <drepper@redhat.com>

* posix/globtest.sh: Fix last change.

2000-04-10  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
IPV6_DROP_MEMBERSHIP.
* sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
Likewise.

2000-04-11  Ulrich Drepper  <drepper@redhat.com>

* elf/readlib (process_file): Close streams in case of an error.

2000-04-09  Andreas Jaeger  <aj@suse.de>

* elf/readlib.c (process_file): Check if file is big enough to
contain aout and ELF headers.
Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.

2000-04-10  Jes Sorensen  <Jes.Sorensen@cern.ch>

* elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().

2000-04-11  Ulrich Drepper  <drepper@redhat.com>

* test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
stream unbuffered.
* rt/Makefile (tests): Add tst-clock.
Add rules to build tst-clock.
* rt/tst-clock.c: New file.
* sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
about initialization of nsec.
* sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
about initialization of freq.  Set retval to zero if successful.
* sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.

24 years agoUpdate.
Ulrich Drepper [Tue, 11 Apr 2000 07:12:59 +0000 (07:12 +0000)]
Update.

* time/time.h: Define pid_t.  Add prototype for clock_getcpuclockid.

24 years agoUpdate.
Ulrich Drepper [Tue, 11 Apr 2000 07:08:31 +0000 (07:08 +0000)]
Update.

2000-04-10  Ulrich Drepper  <drepper@redhat.com>

* Versions.def (librt): Add GLIBC_2.2.
* rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
timer_getoverr, timer_gettime, and timer_settime.
* rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
clock_settime, timer_create, timer_delete, timer_getoverrun,
timer_gettime, and timer_settime.
* sysdeps/generic/clock_getcpuclockid.c: New file.
* sysdeps/generic/get_clockfreq.c: New file.
* sysdeps/unix/i386/clock_getcpuclockid.c: New file.
* sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
* sysdeps/mach/hurd/i386/bits/time.h: New file.
* sysdeps/unix/i386/i586/clock_getres.c: New file.
* sysdeps/unix/i386/i586/clock_gettime.c: New file.
* sysdeps/unix/i386/i686/Implies: New file.
* sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
* time/Makefile (routines): Move clock_getres, clock_gettime,
clock_settime, timer_create, timer_delete, timer_getoverr,
timer_gettime, and timer_settime to rt/Makefile.
* time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
clock_settime, timer_create, timer_delete, timer_getoverrun,
timer_gettime, and timer_settime.

* sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility.  Use __const__
and not const as attribute name.

24 years agoUpdate.
Ulrich Drepper [Mon, 10 Apr 2000 16:22:52 +0000 (16:22 +0000)]
Update.

2000-04-10  Thorsten Kukuk  <kukuk@suse.de>

* elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.

24 years agoUpdate.
Ulrich Drepper [Mon, 10 Apr 2000 15:55:35 +0000 (15:55 +0000)]
Update.

2000-04-10  Andreas Schwab  <schwab@suse.de>

* posix/globtest.sh: Skip tests that depend on unreadable
directories if run as root.

24 years agoUpdate.
Ulrich Drepper [Mon, 10 Apr 2000 15:30:06 +0000 (15:30 +0000)]
Update.

2000-04-10  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
for correct range.  From code by Kaz Kylheku <kaz@ashi.footprints.net>.

24 years agoUpdate.
Ulrich Drepper [Mon, 10 Apr 2000 06:59:44 +0000 (06:59 +0000)]
Update.

* sysdeps/unix/clock_gettime.c: New file.
* sysdeps/unix/clock_settime.c: New file.
* sysdeps/posix/clock_getres.c: New file.

24 years agoUpdate.
Ulrich Drepper [Mon, 10 Apr 2000 05:52:30 +0000 (05:52 +0000)]
Update.

* conform/data/ftw.h-data: Add allow-header sys/stat.h.

24 years agoUpdate.
Ulrich Drepper [Mon, 10 Apr 2000 05:25:42 +0000 (05:25 +0000)]
Update.

* sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
lseek call be passing in a buffer which never allow a successful
first getdents syscall if not at leas the initial entry can be
stored in the user buffer.

24 years agoUpdate.
Ulrich Drepper [Mon, 10 Apr 2000 05:13:54 +0000 (05:13 +0000)]
Update.

2000-04-09  Ulrich Drepper  <drepper@redhat.com>

* localedata/Makefile: Add rules to clean up directories created by
new strfmon tests.

2000-04-09  Geoff Clare  <gwc@unisoft.com>

* localedata/tst-fmon.data: Added new tests for strfmon()
using test locales with all combinations of cs_precedes,
sign_posn and sep_by_space.
* localedata/tst-fmon.sh: Updated to support the new tests.
* localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
the localedef source for the new strfmon() test locale.
* localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
* localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
* localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
* localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
* localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
* localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
* localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
* localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
* localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
* localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
* localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
* localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
* localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
* localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.

* stdlib/strfmon.c: Correct problems with missing or extra
spaces for unusual combinations of sign_posn and sep_by_space.
Improved left-precision alignment code.