Currently (1.4.1), KEYMAP_PATH and mapname are simply
merged (see xkeymap.c:xkeymap_read()).
This may lead to problems, if you set a different path
while passing (for what reason ever) another path to
make and you forgot a trailing slash. i.e.:
This patch makes usage of snprintf() and puts an
explicit slash between KEYMAP_PATH and mapname. If you
add a trailing slash, you'll have 2. But, this doesn't
hurt someone, where a missing does.
(Yes, the patch doesn't add any functionallity - just