소스 검색

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 21 년 전
부모
커밋
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);