浏览代码

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?

Eric Andersen 20 年之前
父节点
当前提交
1c8d7ee9cb
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      libc/sysdeps/linux/common/llseek.c

+ 1 - 0
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);