summaryrefslogtreecommitdiff
path: root/os/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/log.c')
-rw-r--r--os/log.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/os/log.c b/os/log.c
index e537f8c41..1794919a1 100644
--- a/os/log.c
+++ b/os/log.c
@@ -385,10 +385,10 @@ LogMessage(MessageType type, const char *format, ...)
}
#ifdef __GNUC__
-static void AbortServer(void) __attribute__((noreturn));
+void AbortServer(void) __attribute__((noreturn));
#endif
-static void
+void
AbortServer(void)
{
OsCleanup(TRUE);
@@ -487,6 +487,15 @@ 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++;
@@ -500,6 +509,7 @@ VAuditF(const char *f, va_list args)
nrepeat = 0;
auditTimer = TimerSet(auditTimer, 0, AUDIT_TIMEOUT, AuditFlush, NULL);
}
+#endif
if (prefix != NULL)
free(prefix);
}