On Wed, Aug 31, 2016 at 6:04 AM, Jerry DeLisle <jvdeli...@charter.net> wrote:
> Hi all,
>
> The attached patch fixes the problem by adding a new helper function to
> determine the buffer size needed for F0 editing depending on the kind. In this
> new function there are some constants presented which document the limits 
> needed
> for each kind type.
>
> As can be seen, the required buffers are fixed on stack at 256 bytes which 
> will
> handle almost all cases unless a user is doing something with unusually wide
> formats.  The buffer is malloc'ed if a larger size is needed.
>
> I have not changed the buffering mechanism, only the method of determining the
> needed size.
>
> Regression tested on x86-linux. New test case provided.
>
> OK for trunk?

Ok, thanks for the patch!


-- 
Janne Blomqvist

Reply via email to