diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-10-26 11:11:28 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-10-26 11:11:28 +0000 |
commit | 0e103c6d2a8483b6aa448f319b453ef2a6c796af (patch) | |
tree | b49c3bf5f583d1a935abe1ffe3d9ed25d709bf1b /sysdeps/unix/sysv/linux/llseek.c | |
parent | 14f65de69493dee805645c0a782885727d5bdac6 (diff) | |
download | glibc-0e103c6d2a8483b6aa448f319b453ef2a6c796af.tar glibc-0e103c6d2a8483b6aa448f319b453ef2a6c796af.tar.gz glibc-0e103c6d2a8483b6aa448f319b453ef2a6c796af.tar.bz2 glibc-0e103c6d2a8483b6aa448f319b453ef2a6c796af.zip |
Update.
1998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
* time/Makefile (tests): Add tst-posixtz.
* time/tst-posixtz.c: New file.
1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* elf/rtld.c (process_envvars): Accept any non-null value of
LD_BIND_NOW, as mandated by the ABI.
1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
__syscall_pread.
* sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
__syscall_pwrite.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
duplicate entries.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
s_pread64 and s_pwrite64.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
to __syscall__llseek.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
__sys_llseek.
1998-10-26 Cristian Gafton <gafton@redhat.com>
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
and s_setfsuid.
1998-10-26 Ulrich Drepper <drepper@cygnus.com>
* time/tzset.c (tz_compute): Correct last patch and describe this
in a comment.
Diffstat (limited to 'sysdeps/unix/sysv/linux/llseek.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/llseek.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/llseek.c b/sysdeps/unix/sysv/linux/llseek.c index 62fc6ca20b..466df377c8 100644 --- a/sysdeps/unix/sysv/linux/llseek.c +++ b/sysdeps/unix/sysv/linux/llseek.c @@ -17,11 +17,14 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include <errno.h> #include <sys/types.h> +#include <sysdep.h> +#include <sys/syscall.h> -extern int __sys_llseek (int fd, off_t offset_hi, off_t offset_lo, - loff_t *result, int whence); +extern int __syscall__llseek (int fd, off_t offset_hi, off_t offset_lo, + loff_t *result, int whence); /* Seek to OFFSET on FD, starting from WHENCE. */ loff_t @@ -29,9 +32,9 @@ __llseek (int fd, loff_t offset, int whence) { loff_t result; - return (loff_t) (__sys_llseek (fd, (off_t) (offset >> 32), - (off_t) (offset & 0xffffffff), - &result, whence) ?: result); + return (loff_t) (INLINE_SYSCALL (_llseek, 5, fd, (off_t) (offset >> 32), + (off_t) (offset & 0xffffffff), + &result, whence) ?: result); } weak_alias (__llseek, llseek) weak_alias (__llseek, __lseek64) |