xmerge: make return value from xdl_merge() more usable.