Hello Walter, On 1/20/21 6:40 PM, Walter Harms wrote: > Hi List, > there was a discussion on the busybox-ml about a kernel-bug in sendfile(). > <cite> > In 2.6.33.7, when used with a normal file as the output, it always > writes the data to offset 0 in the file. > > That's fine if you only call it once and then close the output > fd. However, if you call it multiple times (as busybox 'cat' does when > copying multiple files), then you don't get the expected result. The > contents of the input files are not concatenated. Instead the contents > of each input file overwites the existing contents of the output file > starting at offset 0. > </cite> At a very quick test, I could not reproduce this. Do you have a URL for the mail discussion? Thanks, Michael > these apache doc mentions more problems > https://httpd.apache.org/docs/2.4/mod/core.html#enablesendfile > > It seems that the bug mentioned above is fixed but nobody seems to > know when this was done. >> IMHO this should be mentioned in the man page, but i lack detailed > information and time to research them. I would like to encourage > anyone who has information to come forward so it can be added to man > page.> > re, > wh > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/