Suggested by Bruno Haible. --- ChangeLog | 3 +++ m4/sys_select_h.m4 | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog index bea73df..7717ad0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2011-07-06 Paul Eggert <egg...@cs.ucla.edu> + * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Poison pselect. + Suggested by Bruno Haible. + pselect: Use pthread_sigmask, not sigprocmask. * lib/pselect.c (pselect): Use pthread_sigmask, as it supports multithreaded apps better than sigprocmask does. diff --git a/m4/sys_select_h.m4 b/m4/sys_select_h.m4 index 7d5f477..f7fd18a 100644 --- a/m4/sys_select_h.m4 +++ b/m4/sys_select_h.m4 @@ -1,4 +1,4 @@ -# sys_select_h.m4 serial 18 +# sys_select_h.m4 serial 19 dnl Copyright (C) 2006-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -64,7 +64,7 @@ AC_DEFUN([gl_HEADER_SYS_SELECT], # include <sys/time.h> #endif #include <sys/select.h> - ]], [select]) + ]], [pselect select]) ]) AC_DEFUN([gl_SYS_SELECT_MODULE_INDICATOR], -- 1.7.4.4