[lkml]   [2001]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: tmpfs + sendfile bug ?

On 21-May-2001 David Schwartz wrote:
>> Any idea ?
> Looks like a bug in the program. If 'sendfile' returns 'EINVAL', that
> you can't use 'sendfile' to send this particular file, and should default to
> read/write or mmap/write. If this program doesn't, it doesn't understand
> Linux's 'sendfile' semantics.

Agreed, I came up to the same conclusion. Applications shouldn't assume that
sendfile will always work, and be ready to fall back to the traditional DIY
way of sending data.

I just downloaded more recent sources of proftpd (1.2.2rc2), and it looks
fixed, already... Time to upgrade :)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:53    [W:0.078 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site