Mercurial > hg > octave-kai > gnulib-hg
changeset 17084:723cfa7546c0
poll: fix poll(0, NULL, msec)
* lib/poll.c: don't exit early if NULL is the 1st arg to poll(),
but nfd is 0. In that case poll should behave like select.
Copyright-paperwork-exempt: yes
author | Joachim Schmitz <jojo@schmitz-digital.de> |
---|---|
date | Thu, 13 Sep 2012 08:41:24 +0200 |
parents | 1ba58228acda |
children | 80904f782122 |
files | ChangeLog lib/poll.c |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-09-13 Joachim Schmitz <jojo@schmitz-digital.de> (tiny change) + + poll: fix poll(0, NULL, msec) + * lib/poll.c: don't exit early if NULL is the 1st arg to poll(), + but nfd is 0. In that case poll should behave like select. + 2012-09-13 Joachim Schmitz <jojo@schmitz-digital.de> (tiny change) Paolo Bonzini <bonzini@gnu.org>