menu-spec test cases [was Re: menu-spec: Making menu-editing work, cleaning up <Move> semantics]

Mark McLoughlin markmc at
Tue Apr 26 16:24:50 EEST 2005

On Mon, 2005-04-25 at 13:08 +0100, Mark McLoughlin wrote:
> Hey,
> 	I've just added a new test to menu-spec - this one has a recursive
> <MergeFile> loop which implementations should check for rather than
> chewing up all the available memory and crashing.
> 	I've cheated in gnome-menus by refusing to merge the same .menu file
> twice when loading a tree - this isn't entirely correct as you could
> include the same .menu file at different points of the tree without
> introducing recursion but ...

	And of course, after spending more time thinking about it, implementing
it correctly turned out to be trivial ...


More information about the xdg mailing list