On 2018/1/19 22:37, Yuanhan Liu wrote:
On Thu, Dec 21, 2017 at 05:15:40PM +0800, Bing Zhao wrote:
In the fdset_move, after copying the fd&rwfds from the src to the dst, the fd
should be set to -1. Or else in some cases, there will be a fault missing. E.g:
Before: 1 -1 3 4 -1 6 7 -1 9 10
After:
On Thu, Dec 21, 2017 at 05:15:40PM +0800, Bing Zhao wrote:
> In the fdset_move, after copying the fd&rwfds from the src to the dst, the fd
> should be set to -1. Or else in some cases, there will be a fault missing.
> E.g:
> Before: 1 -1 3 4 -1 6 7 -1 9 10
> After: 1 10 3 4 9 6 7 -1 9 10
> Then t
In the fdset_move, after copying the fd&rwfds from the src to the dst, the fd
should be set to -1. Or else in some cases, there will be a fault missing. E.g:
Before: 1 -1 3 4 -1 6 7 -1 9 10
After: 1 10 3 4 9 6 7 -1 9 10
Then the index7 will be returned correctly for the first time, but if another
3 matches
Mail list logo