summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-09-11 21:42:18 +0000
committerJeremy Allison <jra@samba.org>1998-09-11 21:42:18 +0000
commit9b20e5bac2a7b83f8e3dfdf3a274a1ce12dbd92c (patch)
tree645fd7c7d70c04e88018e1c1233dc8df52989562 /source3/lib
parent27d0bef143fbc4d7547c022046c094bbdbd0bfc1 (diff)
downloadsamba-9b20e5bac2a7b83f8e3dfdf3a274a1ce12dbd92c.tar.gz
samba-9b20e5bac2a7b83f8e3dfdf3a274a1ce12dbd92c.tar.bz2
samba-9b20e5bac2a7b83f8e3dfdf3a274a1ce12dbd92c.zip
Ok so with this bugfix 64 bit file access actually seems to work :-).
Problems were just dumb bugs like (defining sys_lseek to return 'int' DOH !). Jeremy. (This used to be commit 54dd51176fbab18af0b21bdee71b53f8f86573a8)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index b6a59e8648..215bfd0c1d 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -195,7 +195,7 @@ int sys_ftruncate(int fd, SMB_OFF_T offset)
An lseek() wrapper that will deal with 64 bit filesizes.
********************************************************************/
-int sys_lseek(int fd, SMB_OFF_T offset, int whence)
+SMB_OFF_T sys_lseek(int fd, SMB_OFF_T offset, int whence)
{
#if defined(HAVE_OFF64_T) && defined(HAVE_LSEEK64)
return lseek64(fd, offset, whence);