Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add support for lseek64() under solaris 2.6
[rsync/rsync.git]
/
syscall.c
diff --git
a/syscall.c
b/syscall.c
index
10b32f8
..
a004d9d
100644
(file)
--- a/
syscall.c
+++ b/
syscall.c
@@
-124,3
+124,12
@@
int do_fstat(int fd, STRUCT_STAT *st)
return fstat(fd, st);
#endif
}
+
+OFF_T do_lseek(int fd, OFF_T offset, int whence)
+{
+#if HAVE_OFF64_T
+ return lseek64(fd, offset, whence);
+#else
+ return lseek(fd, offset, whence);
+#endif
+}