From 2afa5b4b2442fd61d3bd12158dbfd8df5eff371c Mon Sep 17 00:00:00 2001 From: piaip Date: Thu, 31 Jan 2008 11:53:39 +0000 Subject: - __libc_freeres() seems releasing "all" runtime memory, which may cause SEGV. disable it until we have more information. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3896 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/emaildb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mbbsd') diff --git a/mbbsd/emaildb.c b/mbbsd/emaildb.c index 45b634ce..f60d85e8 100644 --- a/mbbsd/emaildb.c +++ b/mbbsd/emaildb.c @@ -101,7 +101,8 @@ end: sqlite3_close(Db); #if defined(__GLIBC__) - __libc_freeres(); // discovered by wens, to reduce internal cache caused by sqlite. + // seems like causing SEGV on localtime()? + // __libc_freeres(); // discovered by wens, to reduce internal cache caused by sqlite. #endif return ret; -- cgit v1.2.3