]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
TODO item for later.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 26 Feb 2007 16:05:18 +0000 (16:05 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 26 Feb 2007 16:05:18 +0000 (16:05 +0000)
Doxygen fixes and lint fix.

git-svn-id: file:///svn/unbound/trunk@147 be551aaa-1e26-0410-a405-d3ace91eadb9

configure.ac
doc/TODO [new file with mode: 0644]
makedist.sh
util/locks.c
util/log.c
util/mini_event.c

index fe6e1b19c0ba7d1e85b72d3237b3554564326fa6..5af6e6bed4a0d0231c441af8e3b044fcc37c5125 100644 (file)
@@ -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 (file)
index 0000000..559366e
--- /dev/null
+++ b/doc/TODO
@@ -0,0 +1,2 @@
+TODO items.
+o use real entropy to make random (ID, port) numbers more random.
index 60f13e4a67b96f0c108b1ad3080e22990a2f615d..e335bac513f736f97f0134f798a07160dc50dbd3 100755 (executable)
@@ -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."
 
index 7de126ac6d03e1720e0b505b03ce798e06b0b569..54502c6f4d04453b2492307b02002c0edcc52821 100644 (file)
@@ -43,6 +43,7 @@
 #include "util/locks.h"
 #include <signal.h>
 
+/** 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
index de0dd3bddc1e76312b7c95664429219d7cd1020a..044e50250e20b5e74520cf97ffc8ec33adc74c4f 100644 (file)
@@ -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);
 }
index 0335433af53c63e49d731e92715096790199979b..aec29d089cd2c101d79ec35bbcd707bebc7055a9 100644 (file)
@@ -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;