qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 08/24] util/cutils: Clean up control flow around


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 08/24] util/cutils: Clean up control flow around qemu_strtol() a bit
Date: Tue, 14 Feb 2017 13:01:15 +0000

On 14 February 2017 at 12:58, Markus Armbruster <address@hidden> wrote:
> Peter Maydell <address@hidden> writes:
>> Doesn't this change the semantics? Previously, for the
>> case of (eno == 0 && ep == nptr) we would both set
>> *endptr to ep and return -EINVAL. Now we only return -EINVAL
>> and leave *endptr alone.

> No change, as far as I can tell.

Ah, you're right, and I misread the diff. Sorry.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]