From: Wouter Wijngaards Date: Mon, 26 Feb 2007 16:05:18 +0000 (+0000) Subject: TODO item for later. X-Git-Tag: release-0.1~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dca586a2840c3e3859069c0a75dc30ca068e641;p=thirdparty%2Funbound.git TODO item for later. Doxygen fixes and lint fix. git-svn-id: file:///svn/unbound/trunk@147 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/configure.ac b/configure.ac index fe6e1b19c..5af6e6bed 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) -AC_INIT(unbound, 0.0, wouter@nlnetlabs.nl, unbound) +AC_INIT(unbound, 0.1, wouter@nlnetlabs.nl, unbound) CFLAGS= AC_AIX diff --git a/doc/TODO b/doc/TODO new file mode 100644 index 000000000..559366e23 --- /dev/null +++ b/doc/TODO @@ -0,0 +1,2 @@ +TODO items. +o use real entropy to make random (ID, port) numbers more random. diff --git a/makedist.sh b/makedist.sh index 60f13e4a6..e335bac51 100755 --- a/makedist.sh +++ b/makedist.sh @@ -175,11 +175,8 @@ cd unbound || error_cleanup "Unbound not exported correctly from SVN" info "Adding libtool utils (libtoolize)." libtoolize -c || error_cleanup "libtoolize failed" -info "Building configure script (autoconf)." -autoconf || error_cleanup "Autoconf failed." - -info "Building config.h.in (autoheader)." -autoheader || error_cleanup "Autoheader failed." +info "Building configure script (autoreconf)." +autoreconf || error_cleanup "Autoconf failed." rm -r autom4te* || error_cleanup "Failed to remove autoconf cache directory." diff --git a/util/locks.c b/util/locks.c index 7de126ac6..54502c6f4 100644 --- a/util/locks.c +++ b/util/locks.c @@ -43,6 +43,7 @@ #include "util/locks.h" #include +/** block all signals, masks them away. */ void ub_thread_blocksigs() { @@ -66,6 +67,7 @@ ub_thread_blocksigs() #endif /* HAVE_PTHREAD */ } +/** unblock one signal, so we can catch it. */ void ub_thread_sig_unblock(int sig) { #ifdef HAVE_PTHREAD diff --git a/util/log.c b/util/log.c index de0dd3bdd..044e50250 100644 --- a/util/log.c +++ b/util/log.c @@ -79,7 +79,7 @@ log_vmsg(const char* type, const char *format, va_list args) vsnprintf(message, sizeof(message), format, args); fprintf(logfile, "[%d] %s[%d:%x] %s: %s\n", (int)time(NULL), ident, (int)getpid(), - (int)ub_thread_self(), + (unsigned int)ub_thread_self(), type, message); fflush(logfile); } diff --git a/util/mini_event.c b/util/mini_event.c index 0335433af..aec29d089 100644 --- a/util/mini_event.c +++ b/util/mini_event.c @@ -84,7 +84,8 @@ void *event_init(void) if((int)FD_SETSIZE < base->capfd) base->capfd = (int)FD_SETSIZE; #endif - base->fds = (struct event**)calloc(base->capfd, sizeof(struct event*)); + base->fds = (struct event**)calloc((size_t)base->capfd, + sizeof(struct event*)); if(!base->fds) { event_base_free(base); return NULL;