[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-1688-gd38e5d1

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue May 19 05:37:44 GMT 2009


On Mon, May 18, 2009 at 08:34:47PM -0500, Tim Prouty wrote:
>     s3 sendfile: Fix two bugs in sendfile
>     
>     These were found interally via code inspection.
>     
>     1) fake_sendfile was incorrectly writing zeros over real data on a
>        short read.
>     
>     2) sendfile_short_send was doing 4 byte writes instead of 1024 byte
>        writes due to an incorrect sizeof usage.

Thanks for those! Just to make sure I understand it
correctly: The second one is "just" an efficiency thing, it
would have been covered by the while() loop around it?

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090519/ea6d5eb6/attachment.bin


More information about the samba-technical mailing list