projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests for module 'ilogbf'.
[gnulib.git]
/
lib
/
pselect.c
diff --git
a/lib/pselect.c
b/lib/pselect.c
index
6b9ba22
..
4e7a7ed
100644
(file)
--- a/
lib/pselect.c
+++ b/
lib/pselect.c
@@
-1,6
+1,6
@@
/* pselect - synchronous I/O multiplexing
/* pselect - synchronous I/O multiplexing
- Copyright 2011 Free Software Foundation, Inc.
+ Copyright 2011
-2012
Free Software Foundation, Inc.
This file is part of gnulib.
This file is part of gnulib.
@@
-15,8
+15,7
@@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ with this program; if not, see <http://www.gnu.org/licenses/>. */
/* written by Paul Eggert */
/* written by Paul Eggert */
@@
-62,14
+61,14
@@
pselect (int nfds, fd_set *restrict rfds,
/* Signal mask munging should be atomic, but this is the best we can
do in this emulation. */
if (sigmask)
/* Signal mask munging should be atomic, but this is the best we can
do in this emulation. */
if (sigmask)
-
sigproc
mask (SIG_SETMASK, sigmask, &origmask);
+
pthread_sig
mask (SIG_SETMASK, sigmask, &origmask);
select_result = select (nfds, rfds, wfds, xfds, tvp);
if (sigmask)
{
int select_errno = errno;
select_result = select (nfds, rfds, wfds, xfds, tvp);
if (sigmask)
{
int select_errno = errno;
-
sigproc
mask (SIG_SETMASK, &origmask, NULL);
+
pthread_sig
mask (SIG_SETMASK, &origmask, NULL);
errno = select_errno;
}
errno = select_errno;
}