diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 1999-09-28 13:43:21 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 1999-09-28 13:43:21 +0000 |
| commit | 3f074b00c470a4bd7c14d0a4ec59845f9c28a579 (patch) | |
| tree | e0b264c3f2c1f0da854be63f4fe278e8a1cea027 /lib | |
| parent | 2dc9a8a9f60f6de9abacc8e29197c5e7eb6c19a4 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libtermcap/termcap.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libtermcap/termcap.c b/lib/libtermcap/termcap.c index 7ce5f721436eb..da46e21822911 100644 --- a/lib/libtermcap/termcap.c +++ b/lib/libtermcap/termcap.c @@ -29,6 +29,8 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. + * + * $FreeBSD$ */ #ifndef lint @@ -133,7 +135,8 @@ othersyscall: int unsafe; if (use_issetugid == 1) { - bzero(&sa, sizeof(sa)); + sigemptyset(&sa.sa_mask); + sa.sa_flags = 0; sa.sa_handler = SIG_IGN; if (sigaction(SIGSYS, &sa, &osa) >= 0) sigsys_installed = 1; |
