qapi: fix guardname generation
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 29 Nov 2011 22:47:48 +0000 (16:47 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 30 Nov 2011 15:28:32 +0000 (09:28 -0600)
commit7ccece5db78e37710f9d77965ed6978cb0331ee7
tree4a93d88fdfd9693e45cd177ed09418933e1b631d
parentf07626553137b3aa9d3694cdb4ff86c4436fc5ce
qapi: fix guardname generation

Fix a bug in handling dotted paths, and exclude directory prefixes
from generated guardnames to avoid odd/pseudo-random guardnames in
generated headers.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
scripts/qapi.py