From 1c8d7ee9cbe7483d06dab11b1333ea2eb23e60c6 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 16 Dec 2004 16:28:34 +0000 Subject: On Thu Dec 16, 2004 at 03:49:31PM +0100, Johan Adolfsson wrote: > What's the correct way of calling llseek/_llseek? > The manpage I have indicates _llseek and thats what the version of > util-linux > I tried use as well so compiling for uClibc fails. > Would the following patch fix it or is it the apps that needs fixing? --- libc/sysdeps/linux/common/llseek.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libc/sysdeps/linux/common/llseek.c') diff --git a/libc/sysdeps/linux/common/llseek.c b/libc/sysdeps/linux/common/llseek.c index 610822bd0..2b77eda26 100644 --- a/libc/sysdeps/linux/common/llseek.c +++ b/libc/sysdeps/linux/common/llseek.c @@ -56,6 +56,7 @@ loff_t __libc_lseek64(int fd, loff_t offset, int whence) return(loff_t)(__libc_lseek(fd, (off_t) (offset & 0xffffffff), whence)); } #endif +weak_alias(__libc_lseek64, _llseek); weak_alias(__libc_lseek64, llseek); weak_alias(__libc_lseek64, lseek64); -- cgit v1.2.3