[libvirt] [PATCH v4] json: fix interface locale dependency

2012-08-13 Thread Martin Kletzander
libvirt creates invalid commands if wrong locale is selected. For example with locale that uses comma as a decimal point, JSON commands created with decimal numbers are invalid because comma separates the entries in JSON. Fortunately even when decimal point is affected, thousands grouping is not,

Re: [libvirt] [PATCH v4] json: fix interface locale dependency

2012-08-13 Thread Eric Blake
On 08/13/2012 10:02 AM, Martin Kletzander wrote: libvirt creates invalid commands if wrong locale is selected. For example with locale that uses comma as a decimal point, JSON commands created with decimal numbers are invalid because comma separates the entries in JSON. Fortunately even when

Re: [libvirt] [PATCH v4] json: fix interface locale dependency

2012-08-13 Thread Martin Kletzander
On 08/13/2012 07:27 PM, Eric Blake wrote: On 08/13/2012 10:02 AM, Martin Kletzander wrote: libvirt creates invalid commands if wrong locale is selected. For example with locale that uses comma as a decimal point, JSON commands created with decimal numbers are invalid because comma separates