Module name: src
Changes by: dtuc...@cvs.openbsd.org 2016/10/16 11:37:40
lib/libc/string: strlcat.c strlcpy.c strnlen.c
Roll back uintptr_t cast changes after discussions with tedu, otto and
C11 220.127.116.11 says:
When two pointers are subtracted, both shall point to elements of the
same array object, or one past the last element of the array object; the
result is the difference of the subscripts of the two array elements.
In these cases the objects are arrays of char so the result is defined,
and we believe that the report is based on a compiler incorrectly trapping
on defined behaviour.