smbc_lseek libsmbclient ?
matthieu.tourne at gmail.com
Sat May 14 21:33:17 GMT 2005
I'm using smbc_lseek(fd,0,SEEK_END), to get the length of a file. But
it fails with files bigger than 4gb even when compiling with :
HAVE_EXPLICIT_LARGEFILE_SUPPORT, HAVE_OFF64_T, HAVE_LSEEK64.
(I don't know if it's useful because the library is a .so)
The offset returned by the function is 64bit long but the value is
incoherent (not -1).
(actually it's 801613448, although the file is 5096580744)
I'm using the debian package samba (3.0.14a-1)
Thank you for your answers,
More information about the samba-technical