On Sat, Jul 27, 2013 at 5:57 PM, Alex Rousskov
<rousskov_at_measurement-factory.com> wrote:
> On 07/27/2013 05:35 AM, Amos Jeffries wrote:
>> * ensure it is 0-safe; the space starts with 0-terminator
>
> Please no. We have enough bugs with implicit zero terminator being
> forced into buffers that do not need one, screwing up buffer size
> management and related optimizations/assertions. I suspects it all
> starts with an innocent 0-terminator added where "it does not seem to
> hurt and might help".
>
> The space(0) call will not work correctly if we start adding implicit
> 0-terminators.
I'm fine with this.
If you agree to Amos' proposed API (as modified by your proposal of
not auto-terminating), I'll implement them immediately.
-- /kinkieReceived on Sat Jul 27 2013 - 16:36:11 MDT
This archive was generated by hypermail 2.2.0 : Sat Jul 27 2013 - 12:00:50 MDT