smbc_lseek in libsmbclient
sketch at niihau.student.utwente.nl
Mon Jan 20 11:42:01 GMT 2003
On Sunday 19 January 2003 23:36, Tuomas Niinimäki wrote:
> I'm having problems with smbc_lseek. It seems like 'whence' parameter
> gets corrupted for some reason.
The offset is 8 bytes (on my system) when you compiled samba. I guess you did
not compile your testcase with -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
to make sure it is 8 bytes on compile time.
Please try this and report back.
More information about the samba-technical