diff options
author | Roland McGrath <roland@gnu.org> | 1999-07-20 22:56:39 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-07-20 22:56:39 +0000 |
commit | 8d187239362fd0f250ea8b58e6eab58d311c671e (patch) | |
tree | 955b04e31d310f8e1f24c8ccb4de037e687527b2 /sysdeps | |
parent | c768719df4c8756d555d1822e84b4c0c1fce28ee (diff) | |
download | glibc-8d187239362fd0f250ea8b58e6eab58d311c671e.tar.gz glibc-8d187239362fd0f250ea8b58e6eab58d311c671e.tar.xz glibc-8d187239362fd0f250ea8b58e6eab58d311c671e.zip |
1999-07-16 Roland McGrath <roland@baalperazim.frob.com>
* elf/dl-reloc.c (_dl_reloc_bad_type): New function. * elf/ldsodefs.h: Declare it. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it instead of assert. (elf_machine_lazy_rel): Likewise. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise. * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise. * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise. * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. 1999-07-21 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and <hurd/fd.h>. * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and <hurd/fd.h>. (__libc_write): Call __pwrite instead of __pread.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/mach/hurd/read.c | 2 | ||||
-rw-r--r-- | sysdeps/mach/hurd/write.c | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/sysdeps/mach/hurd/read.c b/sysdeps/mach/hurd/read.c index 7e2b880903..2d504968d8 100644 --- a/sysdeps/mach/hurd/read.c +++ b/sysdeps/mach/hurd/read.c @@ -18,8 +18,6 @@ #include <errno.h> #include <unistd.h> -#include <hurd.h> -#include <hurd/fd.h> /* Read NBYTES into BUF from FD. Return the number read or -1. */ ssize_t diff --git a/sysdeps/mach/hurd/write.c b/sysdeps/mach/hurd/write.c index b019cf2023..e9d8c9d539 100644 --- a/sysdeps/mach/hurd/write.c +++ b/sysdeps/mach/hurd/write.c @@ -18,13 +18,11 @@ #include <errno.h> #include <unistd.h> -#include <hurd.h> -#include <hurd/fd.h> ssize_t __libc_write (int fd, const void *buf, size_t nbytes) { - return __pread (fd, buf, nbytes, (off_t) -1); + return __pwrite (fd, buf, nbytes, (off_t) -1); } weak_alias (__libc_write, __write) |