simon-git: xtruss (master): Ben Harris
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Wed Dec 31 19:07:21 GMT 2014
TL;DR:
39f81b3 Remove need for xtruss to know number of events and errors in extensions.
Repository: git://git.tartarus.org/simon/xtruss.git
On the web: http://tartarus.org/~simon-git/gitweb/?p=xtruss.git
Branch updated: master
Committer: Ben Harris <bjh21 at bjh21.me.uk>
Date: 2014-12-31 19:07:21
commit 39f81b38ac3fa53c6b95478930825e474a7571a4
web diff http://tartarus.org/~simon-git/gitweb/?p=xtruss.git;a=commitdiff;h=39f81b38ac3fa53c6b95478930825e474a7571a4;hp=f5edf667c577108229297262f5e6107e1b95a8a3
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date: Wed Dec 31 13:58:05 2014 +0000
Remove need for xtruss to know number of events and errors in extensions.
Instead, it now assumes that each event is associated with the
extension whose first event is closest below (or equal to) the event
in question. This was what it did for unknown events before, so this
change only impacts events that xtruss thinks it understands.
Specifically, before this change, if the server had two extensions, A
and B, and xtruss thought that extension A had more events than the X
server implemented (e.g. because the X server was older than xtruss),
then xtruss might misinterpret some events for extension B as
belonging to extension A instead. Now it will do the right thing, at
least as long as it's seen all the relevant QueryExtension replies.
The above two paragraphs also apply to errors, with appropriate
substitutions.
uxxtruss.c | 114 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
More information about the tartarus-commits
mailing list