poll: improve fast check for out-of-range NFD
commit4082963953caf69f053dd553eb9cb0148d56e968
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 23 Apr 2017 01:48:39 +0000 (22 18:48 -0700)
committerBruno Haible <bruno@clisp.org>
Sun, 23 Apr 2017 08:59:45 +0000 (23 10:59 +0200)
tree0b26e6cb44ce1ef6bd24f3d6db5426c1e40ba0e7
parent6b8cbc3f140e44216485d88eaf85d89601a5d9d6
poll: improve fast check for out-of-range NFD

* lib/poll.c: Do not include intprops.h.
(poll): Compare NFD to INT_MAX, not to TYPE_MAXIMUM (nfds_t) / 2.
* modules/poll (Depends-on): Remove intprops.
ChangeLog
lib/poll.c
modules/poll