Changeset 23573 in vbox for trunk/src/libs/xpcom18a4
- Timestamp:
- Oct 6, 2009 8:01:44 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 53230
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/uxproces.c
r23428 r23573 160 160 #if !defined(_PR_NATIVE_THREADS) 161 161 static void pr_InstallSigchldHandler(void); 162 #ifdef VBOX 162 163 static void (*old_sig_handler)(int) = NULL; 164 #endif /* VBOX */ 163 165 #endif 164 166 … … 798 800 799 801 errno = errnoCopy; 802 #ifdef VBOX 800 803 /** @todo: check if the sig handler fix is proper here */ 801 804 if(old_sig_handler && old_sig_handler != SIG_IGN) 802 805 old_sig_handler(sig); 806 #endif /* VBOX */ 803 807 } 804 808 … … 817 821 rv = sigaction(SIGCHLD, &act, &oact); 818 822 PR_ASSERT(0 == rv); 823 #ifdef VBOX 819 824 old_sig_handler = oact.sa_handler; 825 #endif /* VBOX */ 820 826 /* Make sure we are not overriding someone else's SIGCHLD handler */ 821 827 #ifndef _PR_SHARE_CLONES
Note:
See TracChangeset
for help on using the changeset viewer.