Re: [PATCH v5 1/3] cmdline: use C standard library as number parser

2025-05-08 Thread Burakov, Anatoly
On 5/8/2025 9:27 AM, Bruce Richardson wrote: On Wed, May 07, 2025 at 04:22:10PM +0100, Anatoly Burakov wrote: Remove custom number parser and use C standard library instead. In order to keep compatibility with earlier versions of the parser, we have to take into account a few quirks: - We do no

Re: [PATCH v5 1/3] cmdline: use C standard library as number parser

2025-05-08 Thread Bruce Richardson
On Wed, May 07, 2025 at 04:22:10PM +0100, Anatoly Burakov wrote: > Remove custom number parser and use C standard library instead. In order to > keep compatibility with earlier versions of the parser, we have to take > into account a few quirks: > > - We do not consider "negative" numbers to be va

[PATCH v5 1/3] cmdline: use C standard library as number parser

2025-05-07 Thread Anatoly Burakov
Remove custom number parser and use C standard library instead. In order to keep compatibility with earlier versions of the parser, we have to take into account a few quirks: - We do not consider "negative" numbers to be valid for anything other than base-10 numbers, whereas C standard library d