diff options
author | Volker Lendecke <vl@samba.org> | 2009-01-07 10:39:34 +0000 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-01-07 12:04:44 +0100 |
commit | e1459a237948c2c9b7da94e4ba0acc79b1cd8eca (patch) | |
tree | 18771d243737a472ecb6ff603c8e360c3fb2ea12 /source3/pam_smbpass/pam_smb_passwd.c | |
parent | 59f8c1d98a53b01a32883da0662ce33cadd45419 (diff) | |
download | samba-e1459a237948c2c9b7da94e4ba0acc79b1cd8eca.tar.gz samba-e1459a237948c2c9b7da94e4ba0acc79b1cd8eca.tar.bz2 samba-e1459a237948c2c9b7da94e4ba0acc79b1cd8eca.zip |
Several fixes to our use of splice
The splice manpage explicitly requires loff_t as offset. Copy "offset" there.
Probably not required, but I wanted to make sure it's as required.
Splice blocks with large buffers. For me it worked with 16k and blocked with
32k and beyond. It would be nice to see a clarification in the manpage of
splice for this behaviour.
Splice if used with an offset increments the offset. From the manpage this was
at least not entirely obvious :-)
I haven't yet activated this (try_splice_call ist still false by default), it
needs more testing.
Volker
Diffstat (limited to 'source3/pam_smbpass/pam_smb_passwd.c')
0 files changed, 0 insertions, 0 deletions