diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-02-23 11:03:38 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-23 11:03:38 +0100 |
commit | 8781f745556be5d7402d0f3adc67ecfe32fe04a0 (patch) | |
tree | 2aa8cfb446bab0283ac5ce9d8b1bb8c7bc2f3926 /nsprpub/pr/src/md/unix/unix.c | |
parent | f3f9b7b06e37f870463a5f2196457cca6b10d700 (diff) | |
download | UXP-8781f745556be5d7402d0f3adc67ecfe32fe04a0.tar UXP-8781f745556be5d7402d0f3adc67ecfe32fe04a0.tar.gz UXP-8781f745556be5d7402d0f3adc67ecfe32fe04a0.tar.lz UXP-8781f745556be5d7402d0f3adc67ecfe32fe04a0.tar.xz UXP-8781f745556be5d7402d0f3adc67ecfe32fe04a0.zip |
Update NSPR to 4.18
Diffstat (limited to 'nsprpub/pr/src/md/unix/unix.c')
-rw-r--r-- | nsprpub/pr/src/md/unix/unix.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/nsprpub/pr/src/md/unix/unix.c b/nsprpub/pr/src/md/unix/unix.c index 662f561b6..29e24e574 100644 --- a/nsprpub/pr/src/md/unix/unix.c +++ b/nsprpub/pr/src/md/unix/unix.c @@ -2854,28 +2854,11 @@ void _PR_UnixInit(void) #endif #endif /* !defined(_PR_PTHREADS) */ - /* - * Under HP-UX DCE threads, sigaction() installs a per-thread - * handler, so we use sigvector() to install a process-wide - * handler. - */ -#if defined(HPUX) && defined(_PR_DCETHREADS) - { - struct sigvec vec; - - vec.sv_handler = SIG_IGN; - vec.sv_mask = 0; - vec.sv_flags = 0; - rv = sigvector(SIGPIPE, &vec, NULL); - PR_ASSERT(0 == rv); - } -#else sigact.sa_handler = SIG_IGN; sigemptyset(&sigact.sa_mask); sigact.sa_flags = 0; rv = sigaction(SIGPIPE, &sigact, 0); PR_ASSERT(0 == rv); -#endif /* HPUX && _PR_DCETHREADS */ _pr_rename_lock = PR_NewLock(); PR_ASSERT(NULL != _pr_rename_lock); |