Jim Jagielski wrote:
>> After that apr_snprintf returns len-1 if the data just fit and len
>> if it got truncated. Is this what is wanted?
> 
> It would appear so... Certainly not being able to tell truncation
> from "it just fit" is non-ideal.

Well yes. But now that we have really decided on the behaviour,
someone should change the documentatoin.

> The "kludge" is the (sp >= beg)...INS_CHAR...  stuff right before we
> return cc though, right? Want to make sure that's the code you're
> referring to :)

Yes, the unnecessary flushing at the end.

But, see my other mail - me and Sander basically split the handling of
this issue.

-- Naked

Reply via email to