Re: [PATCH] removal of SquidString undefined()

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 16 Oct 2013 22:35:27 +1300

On 16/10/2013 7:58 a.m., Alex Rousskov wrote:
> On 10/11/2013 06:38 AM, Amos Jeffries wrote:
>> To aid the conversion of String to SBuf,
>>
>> It appears that all code using String::undefined() for boolean tests can
>> remain logically consistent using checks on string size() instead.
>> This helps by removing part of the
>> undefined-empty/defined-empty/0-length-empty string state differentiation.
> AFAICT, the patch attached to your email was empty:

Strange. Lets try again.

Amos

Received on Wed Oct 16 2013 - 09:35:40 MDT

This archive was generated by hypermail 2.2.0 : Thu Oct 31 2013 - 12:00:17 MDT