neverless but this patch doesn't help to pass CI via Github: 
https://github.com/catap/macports-ports/actions/runs/7316827564 
<https://github.com/catap/macports-ports/actions/runs/7316827564>

It fails with errors like this:

> Unrecoverable error: frame stack overflow.
> Emergency reset complete

on raw_pre_gcl < foo

:(

--
wbr, Kirill

> On 24. Dec 2023, at 21:57, Kirill A. Korinsky <kir...@korins.ky> wrote:
> 
> as expected
> 
>> --- gcl/o/main.c
>> +++ gcl/o/main.c
>> @@ -266,8 +266,8 @@ get_gc_environ(void) {
>> 
>>    mem_multiple=1.0;
>>    if ((e=getenv("GCL_MEM_MULTIPLE"))) {
>> -    massert(sscanf(e,"%lf",&mem_multiple)==1);
>> -    massert(mem_multiple>=0.0);
>> +    mem_multiple=atof(e);
>> +    massert(mem_multiple>0.0);
>>    }
>> 
>>    gc_alloc_min=0.05;
>> 
> 
> works with GCL_MEM_MULTIPLE=0.1
> 
> atof retuns 0 in the case of error and zero value at mem_multiple useless 
> because it is multiplicator :)
> 
> but I not sure about another variables where zero might be legetim value.
> 
> --
> wbr, Kirill
> 

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to