mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix compile warning if compiled without threads.
- updated ldns-tarball with current ldns svn (pre 1.6.5). git-svn-id: file:///svn/unbound/trunk@2130 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
567e3933bc
commit
8d71f58837
3 changed files with 8 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
2 June 2010: Wouter
|
||||||
|
- Fix compile warning if compiled without threads.
|
||||||
|
- updated ldns-tarball with current ldns svn (pre 1.6.5).
|
||||||
|
|
||||||
1 June 2010: Wouter
|
1 June 2010: Wouter
|
||||||
- Ignore Z flag in incoming messages too.
|
- Ignore Z flag in incoming messages too.
|
||||||
- Fix storage of negative parent glue if that last resort fails.
|
- Fix storage of negative parent glue if that last resort fails.
|
||||||
|
|
|
||||||
BIN
ldns-src.tar.gz
BIN
ldns-src.tar.gz
Binary file not shown.
|
|
@ -51,7 +51,9 @@ void
|
||||||
ub_thread_blocksigs()
|
ub_thread_blocksigs()
|
||||||
{
|
{
|
||||||
#if defined(HAVE_PTHREAD) || defined(HAVE_SOLARIS_THREADS) || defined(HAVE_SIGPROCMASK)
|
#if defined(HAVE_PTHREAD) || defined(HAVE_SOLARIS_THREADS) || defined(HAVE_SIGPROCMASK)
|
||||||
|
# if defined(HAVE_PTHREAD) || defined(HAVE_SOLARIS_THREADS)
|
||||||
int err;
|
int err;
|
||||||
|
# endif
|
||||||
sigset_t sigset;
|
sigset_t sigset;
|
||||||
sigfillset(&sigset);
|
sigfillset(&sigset);
|
||||||
#ifdef HAVE_PTHREAD
|
#ifdef HAVE_PTHREAD
|
||||||
|
|
@ -74,7 +76,9 @@ ub_thread_blocksigs()
|
||||||
void ub_thread_sig_unblock(int sig)
|
void ub_thread_sig_unblock(int sig)
|
||||||
{
|
{
|
||||||
#if defined(HAVE_PTHREAD) || defined(HAVE_SOLARIS_THREADS) || defined(HAVE_SIGPROCMASK)
|
#if defined(HAVE_PTHREAD) || defined(HAVE_SOLARIS_THREADS) || defined(HAVE_SIGPROCMASK)
|
||||||
|
# if defined(HAVE_PTHREAD) || defined(HAVE_SOLARIS_THREADS)
|
||||||
int err;
|
int err;
|
||||||
|
# endif
|
||||||
sigset_t sigset;
|
sigset_t sigset;
|
||||||
sigemptyset(&sigset);
|
sigemptyset(&sigset);
|
||||||
sigaddset(&sigset, sig);
|
sigaddset(&sigset, sig);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue