[PATCH] malloc: Manual part of conversion to __libc_lock

Florian Weimer fweimer@redhat.com
Wed Sep 21 15:16:00 GMT 2016


On 08/25/2016 10:22 PM, Adhemerval Zanella wrote:

>>  #define arena_lock(ptr, size) do {					      \
>>        if (ptr && !arena_is_corrupt (ptr))				      \
>> -        __libc_lock_lock (ptr->mutex);				      \
>> +        __libc_lock_lock (ptr->mutex);					      \
>>        else								      \
>>          ptr = arena_get2 ((size), NULL);				      \
>>    } while (0)
>
> I would avoid push these kind of indentation changes.

It's required to restore alignment after the automated changes.

I have committed this now.  Thanks.

Florian



More information about the Libc-alpha mailing list