[PATCH] Bug with powerof2 macro in sys/param.h

2010-10-13 Thread Garrett Cooper
I was talking to someone today about this macro, and he noted that the algorithm is incorrect -- it fails the base case with ((x) == 0 -- which makes sense because 2^(x) cannot equal 0 (mathematically impossible, unless you consider the limit as x goes to negative infinity as log (0) / log(2) i

Re: anyone got advice on sendmail and TLS on 8.1?

2010-10-13 Thread Dirk-Willem van Gulik
On 11 Oct 2010, at 17:14, John Baldwin wrote: >> TLS and authenticated email submission by me and my family >> able to forward the email anywhere (maybe just to my ISP but who >> knows) (outgoing) >> non TLS submission from outside to reject all mail not to >> elischer.{org,com} >> and deliver

Re: [PATCH] Fix /bin/sh compilation with CFLAGS += -DDEBUG > 1

2010-10-13 Thread Garrett Cooper
On Tue, Oct 12, 2010 at 11:56 AM, John Baldwin wrote: > On Tuesday, October 12, 2010 2:31:36 pm Garrett Cooper wrote: >> On Tue, Oct 12, 2010 at 5:30 AM, John Baldwin wrote: >> > You should use %z to print size_t's, but even better is to just use %t >> > to print a ptrdiff_t (which is the type th