Re: [ovs-dev] [PATCH 02/27] uuid: Change semantics of uuid_is_partial_string().

2017-05-03 Thread Ben Pfaff
On Tue, May 02, 2017 at 06:04:02PM -0700, Andy Zhou wrote: > On Sun, Apr 30, 2017 at 4:22 PM, Ben Pfaff wrote: > > Until now, uuid_is_partial_string() returned the number of characters at > > the beginning of a string that were the beginning of a valid UUID. This > > is useful, but all of the cal

Re: [ovs-dev] [PATCH 02/27] uuid: Change semantics of uuid_is_partial_string().

2017-05-02 Thread Andy Zhou
On Sun, Apr 30, 2017 at 4:22 PM, Ben Pfaff wrote: > Until now, uuid_is_partial_string() returned the number of characters at > the beginning of a string that were the beginning of a valid UUID. This > is useful, but all of the callers actually wanted to get a value of 0 if > the string contained

Re: [ovs-dev] [PATCH 02/27] uuid: Change semantics of uuid_is_partial_string().

2017-05-02 Thread Russell Bryant
On Sun, Apr 30, 2017 at 7:22 PM, Ben Pfaff wrote: > Until now, uuid_is_partial_string() returned the number of characters at > the beginning of a string that were the beginning of a valid UUID. This > is useful, but all of the callers actually wanted to get a value of 0 if > the string contained

[ovs-dev] [PATCH 02/27] uuid: Change semantics of uuid_is_partial_string().

2017-04-30 Thread Ben Pfaff
Until now, uuid_is_partial_string() returned the number of characters at the beginning of a string that were the beginning of a valid UUID. This is useful, but all of the callers actually wanted to get a value of 0 if the string contained a character that was invalid for a UUID. This makes that c