History log of /netbsd-src/external/gpl2/grep/dist/lib/obstack.c (Results 1 – 3 of 3)
Revision Date Author Comments
# 079a9ba6 14-Jun-2018 kamil <kamil@NetBSD.org>

Make the alignof() usage more portable in grep(1)

Remove NetBSD specific check and replace it with GCC extension __alignof__
that is available since GCC 2.x.

Requested by <kre>


# 8317e0ea 13-Jun-2018 kamil <kamil@NetBSD.org>

Avoid Undefind Behavior in DEFAULT_ALIGNMENT in GNU grep(1)

Replace homegrown logic of calculating alignment with alignof, a C11 header
feature.

Add a check for NetBSD >= 8.0 just in case that some

Avoid Undefind Behavior in DEFAULT_ALIGNMENT in GNU grep(1)

Replace homegrown logic of calculating alignment with alignof, a C11 header
feature.

Add a check for NetBSD >= 8.0 just in case that someone will want to build
it on older NetBSD.

Issue detected with UBSan.

show more ...


# a8fa202a 10-Jan-2016 christos <christos@NetBSD.org>

Import latest GPLv2 grep