Review Request: Move USE_SENDFILE definition to file_unix.cpp
Michael Pyne
mpyne at kde.org
Thu Dec 31 23:37:26 GMT 2009
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/2466/#review3543
-----------------------------------------------------------
Ship it!
Patch looks good and seems to work for me. The sendfile behavior I guess is technically new if it's never worked before, so I'd hold off on committing it until 4.4 is branched off though.
- Michael
On 2009-12-30 18:32:19, Raphael Kubo da Costa wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/2466/
> -----------------------------------------------------------
>
> (Updated 2009-12-30 18:32:19)
>
>
> Review request for kdelibs.
>
>
> Summary
> -------
>
> Currently, USE_SENDFILE is defined in kioslave/file/file.cpp, although it's only used in kioslave/file/file_unix.cpp. This means the check in file_unix.cpp for its existance always fails. Moving the macro definition to file_unix.cpp fixes the problem.
>
>
> Diffs
> -----
>
> /trunk/KDE/kdelibs/kioslave/file/file.cpp 1067154
> /trunk/KDE/kdelibs/kioslave/file/file_unix.cpp 1067154
>
> Diff: http://reviewboard.kde.org/r/2466/diff
>
>
> Testing
> -------
>
> After the patch was applied, the ifdefs for USE_SENDFILE have worked as expected on Linux.
>
>
> Thanks,
>
> Raphael
>
>
More information about the kde-core-devel
mailing list