Re: [PATCH] Fix poll bug

2000-12-14 Thread kuznet
Hello! > I believe I've found an inconsistency between the behaviour of poll(2) > and select(2); select() is restartable in the face of signals > (sys_select() returns ERESTARTNOHAND if a signal is pending), whilst > poll() is not (sys_poll() returns EINTR). poll() cannot be restarted.

Re:[PATCH] Fix poll bug

2000-12-14 Thread Guy Bolton King
Hi, I believe I've found an inconsistency between the behaviour of poll(2) and select(2); select() is restartable in the face of signals (sys_select() returns ERESTARTNOHAND if a signal is pending), whilst poll() is not (sys_poll() returns EINTR). On Feb 13 2000, Andi Kleen posted a patch for

Re:[PATCH] Fix poll bug

2000-12-14 Thread Guy Bolton King
Hi, I believe I've found an inconsistency between the behaviour of poll(2) and select(2); select() is restartable in the face of signals (sys_select() returns ERESTARTNOHAND if a signal is pending), whilst poll() is not (sys_poll() returns EINTR). On Feb 13 2000, Andi Kleen posted a patch for

Re: [PATCH] Fix poll bug

2000-12-14 Thread kuznet
Hello! I believe I've found an inconsistency between the behaviour of poll(2) and select(2); select() is restartable in the face of signals (sys_select() returns ERESTARTNOHAND if a signal is pending), whilst poll() is not (sys_poll() returns EINTR). poll() cannot be restarted. select()