diff options
author | Jeremy Allison <jra@samba.org> | 1998-09-11 21:42:18 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-09-11 21:42:18 +0000 |
commit | 54dd51176fbab18af0b21bdee71b53f8f86573a8 (patch) | |
tree | 70b8515620b32071373667b775f09c04df7bf3ac /source/lib | |
parent | 1654faee80648583e6a47ab7eda990fefdf85124 (diff) | |
download | samba-54dd51176fbab18af0b21bdee71b53f8f86573a8.tar.gz samba-54dd51176fbab18af0b21bdee71b53f8f86573a8.tar.xz samba-54dd51176fbab18af0b21bdee71b53f8f86573a8.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.
Diffstat (limited to 'source/lib')
-rw-r--r-- | source/lib/system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/system.c b/source/lib/system.c index b6a59e86482..215bfd0c1df 100644 --- a/source/lib/system.c +++ b/source/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); |