Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
f46af7de
Commit
f46af7de
authored
Jun 29, 2016
by
Adam Jackson
Committed by
Mike Gabriel
Jul 05, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore compression of duplicate log file entries.
This undoes the workaround for X.org bug #964, which was an Xprintism.
parent
b5cceb74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
log.c
nx-X11/programs/Xserver/os/log.c
+0
-10
No files found.
nx-X11/programs/Xserver/os/log.c
View file @
f46af7de
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment