xserver: Branch 'master'
Adam Jackson
ajax at kemper.freedesktop.org
Wed May 14 12:44:12 PDT 2008
os/log.c | 10 ----------
1 file changed, 10 deletions(-)
New commits:
commit 6c27b911222cdee9a057de0be7e8b2eff8b1ff2a
Author: Adam Jackson <ajax at redhat.com>
Date: Wed May 14 15:44:04 2008 -0400
Restore compression of duplicate log file entries.
This undoes the workaround for bug #964, which was an Xprintism.
diff --git a/os/log.c b/os/log.c
index 0860847..8c579fd 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);
}
More information about the xorg-commit
mailing list