CVS update: samba/source/smbd
jra at samba.anu.edu.au
jra at samba.anu.edu.au
Tue Apr 27 11:23:02 EST 1999
Date: Tuesday April 27, 1999 @ 11:23
Author: jra
Update of /data/cvs/samba/source/smbd
In directory samba:/tmp/cvs-serv19222/smbd
Modified Files:
Tag: SAMBA_2_0
reply.c
Log Message:
CIFS spec states (and I've seen on the wire, so I believe it now :-) that
the offset in an SMBlseek is a *signed* value on send, and an unsigned
value on return. In addition, setting the position to before the start
of file should implicitly set the file pointer to zero (this wasn't being
done correctly before).
As SMBlseek is only used to determine file length this shouldn't be a
problem but I have a nice smbd log file showing an SMBlseek set of offset
0xFFFFFFFF failing that caused this change :-).
Jeremy.
More information about the samba-cvs
mailing list