On Mon, Mar 07, 2011 at 11:00:20PM +0100, Mark Kettenis wrote: > > Date: Mon, 7 Mar 2011 17:31:38 -0300 > > From: "Christiano F. Haesbaert" <[email protected]> > > > > Debugging is enabled with USE_DEBUG not with DEBUG, so change to NUSE_DEBUG. > > This is wrong. Please read the assert(3) manual page. > > > Index: Makefile > > =================================================================== > > RCS file: /cvs/src/lib/libevent/Makefile,v > > retrieving revision 1.30 > > diff -d -u -p -w -r1.30 Makefile > > --- Makefile 21 Apr 2010 21:02:46 -0000 1.30 > > +++ Makefile 7 Mar 2011 20:31:23 -0000 > > @@ -57,7 +57,7 @@ MLINKS= event.3 bufferevent_base_set.3 \ > > event.3 signal_pending.3 \ > > event.3 signal_set.3 > > > > -CFLAGS+= -I${.CURDIR} -DNDEBUG \ > > +CFLAGS+= -I${.CURDIR} -DNUSE_DEBUG \ > > -DHAVE_CLOCK_GETTIME \ > > -DHAVE_CLOCK_MONOTONIC \ > > -DHAVE_FCNTL_H \ > > > >
Sorry, didn't know about that. I grepped for DEBUG on libevent and assumed the -DNDEBUG was just a reminder that to enable libevent debug, one should use -DEBUG. -- Christiano Farina HAESBAERT Do NOT send me html mail.
