1 |
--- dietlibc-0.27/include/unistd.h.x86_64-lseek64 2004-07-02 10:47:06.000000000 -0400 |
2 |
+++ dietlibc-0.27/include/unistd.h 2005-03-29 09:12:08.167017782 -0500 |
3 |
@@ -34,8 +34,8 @@ int access (const char *__name, int __ty |
4 |
#define STDERR_FILENO 2 |
5 |
|
6 |
off_t lseek(int fildes, off_t offset, int whence) __THROW; |
7 |
+off64_t lseek64(int fildes, off64_t offset, int whence) __THROW; |
8 |
#ifndef __NO_STAT64 |
9 |
-loff_t lseek64(int fildes, loff_t offset, int whence) __THROW; |
10 |
#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS == 64 |
11 |
#define lseek(fildes,offset,whence) lseek64(fildes,offset,whence) |
12 |
#endif |
13 |
--- dietlibc-0.27/x86_64/lseek64.S.x86_64-lseek64 2005-03-29 08:46:09.074515293 -0500 |
14 |
+++ dietlibc-0.27/x86_64/lseek64.S 2005-03-29 08:46:09.074515293 -0500 |
15 |
@@ -0,0 +1,3 @@ |
16 |
+#include "syscalls.h" |
17 |
+ |
18 |
+syscall_weak(lseek,lseek64,__libc_lseek64) |