diff options
author | Adam Jackson <ajax@redhat.com> | 2016-06-29 13:57:05 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-07-05 08:11:42 +0200 |
commit | f46af7de8496522e0d90448497fd019afafc8747 (patch) | |
tree | 921ccf8106f2a0090d91cf4b999c933f85e9137b | |
parent | b5cceb740b60b62ab7d79c0ad4c00810b983efc5 (diff) | |
download | nx-libs-f46af7de8496522e0d90448497fd019afafc8747.tar.gz nx-libs-f46af7de8496522e0d90448497fd019afafc8747.tar.bz2 nx-libs-f46af7de8496522e0d90448497fd019afafc8747.zip |
Restore compression of duplicate log file entries.
This undoes the workaround for X.org bug #964, which was an Xprintism.
-rw-r--r-- | nx-X11/programs/Xserver/os/log.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/nx-X11/programs/Xserver/os/log.c b/nx-X11/programs/Xserver/os/log.c index d97317819..780a05767 100644 --- a/nx-X11/programs/Xserver/os/log.c +++ b/nx-X11/programs/Xserver/os/log.c @@ -561,15 +561,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++; @@ -583,7 +574,6 @@ VAuditF(const char *f, va_list args) nrepeat = 0; auditTimer = TimerSet(auditTimer, 0, AUDIT_TIMEOUT, AuditFlush, NULL); } -#endif if (prefix != NULL) free(prefix); } |