diff options
Diffstat (limited to 'sysdeps/posix')
-rw-r--r-- | sysdeps/posix/profil.c | 4 | ||||
-rw-r--r-- | sysdeps/posix/spawni.c | 4 | ||||
-rw-r--r-- | sysdeps/posix/sprofil.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/posix/profil.c b/sysdeps/posix/profil.c index 43798ae..d789c12 100644 --- a/sysdeps/posix/profil.c +++ b/sysdeps/posix/profil.c @@ -1,5 +1,5 @@ /* Low-level statistical profiling support function. Mostly POSIX.1 version. - Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1996,97,98,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -96,7 +96,7 @@ __profil (u_short *sample_buffer, size_t size, size_t offset, u_int scale) act.sa_handler = (sighandler_t) &profil_counter; act.sa_flags = SA_RESTART; - sigfillset (&act.sa_mask); + __sigfillset (&act.sa_mask); if (__sigaction (SIGPROF, &act, &oact) < 0) return -1; diff --git a/sysdeps/posix/spawni.c b/sysdeps/posix/spawni.c index 330f219..a072ab7 100644 --- a/sysdeps/posix/spawni.c +++ b/sysdeps/posix/spawni.c @@ -1,5 +1,5 @@ /* Guts of POSIX spawn interface. Generic POSIX.1 version. - Copyright (C) 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 2000,01,02 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -113,7 +113,7 @@ __spawni (pid_t *pid, const char *file, sa.sa_handler = SIG_DFL; for (sig = 1; sig <= _NSIG; ++sig) - if (sigismember (&attrp->__sd, sig) != 0 + if (__sigismember (&attrp->__sd, sig) != 0 && __sigaction (sig, &sa, NULL) != 0) _exit (SPAWN_ERROR); diff --git a/sysdeps/posix/sprofil.c b/sysdeps/posix/sprofil.c index 070daf4..d6fdd9a 100644 --- a/sysdeps/posix/sprofil.c +++ b/sysdeps/posix/sprofil.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2001 Free Software Foundation, Inc. +/* Copyright (C) 2001,02 Free Software Foundation, Inc. Contributed by David Mosberger-Tang <davidm@hpl.hp.com>. This file is part of the GNU C Library. @@ -340,7 +340,7 @@ __sprofil (struct prof *profp, int profcnt, struct timeval *tvp, else act.sa_handler = (sighandler_t) &profil_counter_ushort; act.sa_flags = SA_RESTART; - sigfillset (&act.sa_mask); + __sigfillset (&act.sa_mask); if (__sigaction (SIGPROF, &act, &prof_info.saved_action) < 0) return -1; |