[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] OpenSSL egg option defaults poll

From: Andy Bennett
Subject: Re: [Chicken-users] OpenSSL egg option defaults poll
Date: Sun, 23 Nov 2014 13:01:34 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.8.1

On 23/11/14 10:32, Mario Domenech Goulart wrote:
> Hi Andy,
> On Sun, 23 Nov 2014 02:57:09 +0000 Andy Bennett <address@hidden> wrote:
>>   + Introduces a dependency on srfi-13 for the string-copy! and
>>     substring/shared procedures. This is so that we can do buffer
>>     management with the minimal of excess copying and garbage
>>     collection.
> Beware that:
> * string-copy! is currently broken for some cases in CHICKEN. Master has
>   a fix (6b36695d94e0bd977e0d85d48438f621128e1101), but it has net been
>   released yet.

Thanks Mario!

I've looked at that patch: it seems to only affect overlapping buffers.
I think, in the openssl case, the private buffer is always distinct from
the user buffer.

Can anyone think of any cases where that wouldn't be the case?

> * substring/shared is the same as substring in CHICKEN, AFAIK.

That's only called once in the corner cases so it doesn't really matter
if it wastes a copy. It's just there to stop junk in the tail of the
buffer being sent to the user.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]