]> code.delx.au - gnu-emacs/blobdiff - src/xgselect.c
Avoid undefined behavior with huge regexp interval counts.
[gnu-emacs] / src / xgselect.c
index 45a34f2e0a56c834d84e88e3342dde852e7c3722..7a754bd75c029be5535643060c14db7094c8ee73 100644 (file)
@@ -29,10 +29,10 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #include "frame.h"
 
 int
-xg_select (int fds_lim, SELECT_TYPE *rfds, SELECT_TYPE *wfds, SELECT_TYPE *efds,
+xg_select (int fds_lim, fd_set *rfds, fd_set *wfds, fd_set *efds,
           struct timespec const *timeout, sigset_t const *sigmask)
 {
-  SELECT_TYPE all_rfds, all_wfds;
+  fd_set all_rfds, all_wfds;
   struct timespec tmo;
   struct timespec const *tmop = timeout;