[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#739281: provides sendfile() prototype (in <sys/sendfile.h>) but no sendfile symbol



Package: libc0.1-dev
Severity: normal

Perhaps we could use emulated Linux-like sendfile() from Eric Wong. See:

On 17/02/2014 09:12, Eric Wong wrote:
> Robert Millan <rmh@debian.org> wrote:
>> If you can write a Linux-compatible sendfile() which uses BSD-ish SYS_sendfile
>> as backend, I guess they'll have no problem exporting a new symbol in glibc?
>> After all, it's glibc who claims to provide it (via <sys/sendfile.h>).
> 
> I emulate Linux sendfile on (non-Debian) FreeBSD that way in cmogstored.
> Feel free to grab the linux_sendfile() wrapper from cmogstored:
> 	http://bogomips.org/cmogstored.git/plain/http_get.c
> The linux_sendfile wrapper is trivial and I'm OK with relicensing from
> the existing GPLv3+ to any DFSG-approved license

-- 
Robert Millan


Reply to: