Re: [PATCH 3/3] sendfile: fix sendfile

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Changli Gao
Date: Wednesday, May 26, 2010 - 4:59 am

On Wed, May 26, 2010 at 6:48 PM, Miklos Szeredi <miklos@szeredi.hu> wrote:

I don't think it isn't an API change, as the current manual page says:

" Presently  (Linux  2.6.9):  in_fd, must correspond to a file which sup-
       ports mmap(2)-like operations (i.e., it cannot be a socket); "

and if file supports mmap-like operations, it should support pread too.


OK. I'll do that later after all the issues are concluded.

-- 
Regards,
Changli Gao(xiaosuo@gmail.com)
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 3/3] sendfile: fix sendfile, Changli Gao, (Wed May 26, 2:56 am)
Re: [PATCH 3/3] sendfile: fix sendfile, Miklos Szeredi, (Wed May 26, 3:48 am)
Re: [PATCH 3/3] sendfile: fix sendfile, Changli Gao, (Wed May 26, 4:59 am)