From ae87321e1dc008e49b4bcf1e9708b34e4aabd431 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sun, 18 Nov 2007 16:01:17 +0100 Subject: [PATCH] db_get: remove outdated comment The line cache was reenabled in 6ba1bf0789c5bbe78fcfcd5c9e8d04a0e9c567fe (move line cache to screen and enable it again), but the comment as to why it had been disabled was left in place. --- common/db.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/common/db.c b/common/db.c index dcaa08e1..83f8578b 100644 --- a/common/db.c +++ b/common/db.c @@ -136,13 +136,6 @@ db_get(SCR *sp, db_recno_t lno, u_int32_t flags, CHAR_T **pp, size_t *lenp) } /* Look-aside into the cache, and see if the line we want is there. */ - /* - * Line cache will not work if different screens view the same - * file with different encodings. - * Multiple threads accessing the same cache can be a problem as - * well. - * So, line cache is (temporarily) disabled. - */ if (lno == sp->c_lno) { #if defined(DEBUG) && 0 vtrace(sp, "retrieve cached line %lu\n", (u_long)lno); -- 2.11.4.GIT