On 15/12/2022 5:33 pm, Anthony PERARD wrote:
On Thu, Dec 15, 2022 at 04:58:02PM +0000, Andrew Cooper wrote:
A consumer of xenstore has to cope with all bases anyway. Anything that doesn't is broken.
So libxl is broken, that good to know :-).
Yes. Really, yes.
This is sufficiently basic stuff for text based APIs/ABIs that it ought to go without saying.
Most keys read by libxl are expected to be base 10, with some allowed to be in different base (as they're a few that uses strtoul(,,0);)
This is at least recoverable by switching to ,,0 uniformly.
That said, xenstore-paths.pandoc's attempt to describe the grammar appears to be ambiguous.
That's the first place to fix. I'll put a ticket on gitlab because I don't have enough cycles to do this now.
~Andrew