CVSROOT:        /cvs
Module name:    src
Changes by: 2016/10/16 11:37:40

Modified files:
        lib/libc/string: strlcat.c strlcpy.c strnlen.c 

Log message:
Roll back uintptr_t cast changes after discussions with tedu, otto and

C11 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.

Reply via email to