On 16.06.2018 22:39, Christos Zoulas wrote:
> In article <20180616185452.afd29f...@cvs.netbsd.org>,
> Kamil Rytarowski <source-changes-d@NetBSD.org> wrote:
>> -=-=-=-=-=-
>>
>> Module Name: src
>> Committed By:        kamil
>> Date:                Sat Jun 16 18:54:52 UTC 2018
>>
>> Modified Files:
>>      src/external/bsd/nvi/dist/common: log.c
>>
>> Log Message:
>> Do not cause Undefined Behavior in vi(1)
>>
>> Replace unportable manual calculation of alignof() that causes UB, with
>> a GCC extension __alignof__.
> 
> Isn't that offsetof() instead?
> 
> christos
> 

Fixed!

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to