summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-31 19:53:39 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-31 19:53:39 +0800
commit2afa5b4b2442fd61d3bd12158dbfd8df5eff371c (patch)
treef92ff3ba31d6d7297d5371d07ac9a8fddad8728a /mbbsd
parentb481abda1097e9f729bece14b34d7e3b741f73d8 (diff)
downloadpttbbs-2afa5b4b2442fd61d3bd12158dbfd8df5eff371c.tar
pttbbs-2afa5b4b2442fd61d3bd12158dbfd8df5eff371c.tar.gz
pttbbs-2afa5b4b2442fd61d3bd12158dbfd8df5eff371c.tar.bz2
pttbbs-2afa5b4b2442fd61d3bd12158dbfd8df5eff371c.tar.lz
pttbbs-2afa5b4b2442fd61d3bd12158dbfd8df5eff371c.tar.xz
pttbbs-2afa5b4b2442fd61d3bd12158dbfd8df5eff371c.tar.zst
pttbbs-2afa5b4b2442fd61d3bd12158dbfd8df5eff371c.zip
- __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
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/emaildb.c3
1 files changed, 2 insertions, 1 deletions
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;