From 6c27b911222cdee9a057de0be7e8b2eff8b1ff2a Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 14 May 2008 15:44:04 -0400 Subject: [PATCH] Restore compression of duplicate log file entries. This undoes the workaround for bug #964, which was an Xprintism. --- os/log.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/os/log.c b/os/log.c index 0860847ec..8c579fd0c 100644 --- a/os/log.c +++ b/os/log.c @@ -498,15 +498,6 @@ VAuditF(const char *f, va_list args) prefix = AuditPrefix(); len = vsnprintf(buf, sizeof(buf), f, args); -#if 1 - /* XXX Compressing duplicated messages is temporarily disabled to - * work around bugzilla 964: - * https://freedesktop.org/bugzilla/show_bug.cgi?id=964 - */ - ErrorF("%s%s", prefix != NULL ? prefix : "", buf); - oldlen = -1; - nrepeat = 0; -#else if (len == oldlen && strcmp(buf, oldbuf) == 0) { /* Message already seen */ nrepeat++; @@ -520,7 +511,6 @@ VAuditF(const char *f, va_list args) nrepeat = 0; auditTimer = TimerSet(auditTimer, 0, AUDIT_TIMEOUT, AuditFlush, NULL); } -#endif if (prefix != NULL) free(prefix); }