Commit c39de5f7 authored by Eric Anholt's avatar Eric Anholt Committed by Adam Jackson

xkb: Print the xkbcomp path being executed when we fail to compile.

I don't know how many times I've had a broken server due to a bad
directory to xkbcomp, and only finding the whole path has shown me
where I went wrong.
Reviewed-by: 's avatarPeter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 30f4d440)
parent 5a5b6d6c
......@@ -191,8 +191,10 @@ RunXkbComp(xkbcomp_buffer_callback callback, void *userdata)
#endif
return xnfstrdup(keymap);
}
else
LogMessage(X_ERROR, "Error compiling keymap (%s)\n", keymap);
else {
LogMessage(X_ERROR, "Error compiling keymap (%s) executing '%s'\n",
keymap, buf);
}
#ifdef WIN32
/* remove the temporary file */
unlink(tmpname);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment