From 5e305d0be7fe4c4642a413aa529e89bada14488f Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Sat, 19 May 2007 23:58:57 +0000 Subject: [PATCH] Documentation fixes about EVENTXX_BASE_FREE_FIX. EVENTXX_EVENT_BASE_FREE_FIX was mentioned instead of EVENTXX_BASE_FREE_FIX. --- eventxx | 4 ++-- test/Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eventxx b/eventxx index bbd6d4c..580a4df 100644 --- a/eventxx +++ b/eventxx @@ -143,7 +143,7 @@ * href="http://monkeymail.org/archives/libevent-users/2006-April/000141.html">patch * written by Mark D. Anderson, and who knows why it's not still applied). If * you do so, you can compile your programs with - * @c -DEVENTXX_EVENT_BASE_FREE_FIX so @c event_base_free() gets called in the + * @c -DEVENTXX_BASE_FREE_FIX so @c event_base_free() gets called in the * eventxx::dispatcher @link eventxx::dispatcher::~dispatcher() destructor * @endlink. * @@ -797,7 +797,7 @@ struct dispatcher #warning "The dispatcher class *will* leak memory because of a libevent bug, \ see http://www.mail-archive.com/libevent-users@monkey.org/msg00110.html \ for more info an a patch. If you already have this patch, please \ --DEVENTXX_EVENT_BASE_FREE_FIX to your compiler to make this message disappear \ +-DEVENTXX_BASE_FREE_FIX to your compiler to make this message disappear \ and really free the dispatcher memory using event_base_free()." #endif #endif diff --git a/test/Makefile b/test/Makefile index 2969e11..091143a 100644 --- a/test/Makefile +++ b/test/Makefile @@ -3,7 +3,7 @@ CXXFLAGS=-I.. -g -Wall # Uncomment this if you have a fixed event_base_free(). # See http://www.mail-archive.com/libevent-users@monkey.org/msg00112.html -#CXXFLAGS+=-DEVENTXX_EVENT_BASE_FREE_FIX +#CXXFLAGS+=-DEVENTXX_BASE_FREE_FIX # Don't warn me about memory leaks CXXFLAGS+=-DEVENTXX_NO_WARNING -- 2.43.0