Re: [Qemu-devel] [PATCH 1/8 v6] cutils: unsigned int parsing functions

2013-01-23 Thread Laszlo Ersek
On 01/18/13 20:41, Eduardo Habkost wrote: > Changes v6: Reviewed-by: Laszlo Ersek

Re: [Qemu-devel] [PATCH 1/8 v6] cutils: unsigned int parsing functions

2013-01-18 Thread Eric Blake
On 01/18/2013 12:41 PM, Eduardo Habkost wrote: > There are lots of duplicate parsing code using strto*() in QEMU, and > most of that code is broken in one way or another. Even the visitors > code have duplicate integer parsing code[1]. This introduces functions > to help parsing unsigned int values

[Qemu-devel] [PATCH 1/8 v6] cutils: unsigned int parsing functions

2013-01-18 Thread Eduardo Habkost
There are lots of duplicate parsing code using strto*() in QEMU, and most of that code is broken in one way or another. Even the visitors code have duplicate integer parsing code[1]. This introduces functions to help parsing unsigned int values: parse_uint() and parse_uint_full(). Parsing function