Patch to not fork/exec xkbcomp on X Server initialization

Peter Hutterer peter.hutterer at who-t.net
Tue Jul 1 21:01:48 PDT 2008


[Haven't looked at the actual patch yet]

On Wed, Jul 02, 2008 at 02:40:54AM +0300, Daniel Stone wrote:
> Yes, I was expecting around 50% or so.  If this is tested and working
> fine for you, I'm perfectly happy for you to recommend this to people
> who need it, but I'm definitely not merging it.  In theory, xkbcomp
> should just be xkbcomp(), which hands us back the XkbDescRec it
> generates while parsing anyway.

A rewrite may be a better option, but is there any reason we can't put
paulo's patch into master for the time being? Worse comes to worst it's
reverted (or removed) when the rewrite happens. Trying to debug xkb startup is
a pain right now, and removing the fork may just convince my gdb not to die
the death of a thousand sins.

and the thing with rewrites is that they tend to always take longer than
expected, so if there's an interim solution I'm not the one to complain.

Cheers,
  Peter



More information about the xorg mailing list