CVSROOT:        /cvs
Module name:    src
Changes by:     v...@cvs.openbsd.org    2021/07/23 23:35:56

Modified files:
        lib/libc/arch/mips64/string: strchr.S strrchr.S 

Log message:
Fix strchr() and strrchr() on mips64

Truncate the character arguments of strchr() and strrchr() to eight bits
so that the implied char conversion would work correctly. Otherwise the
functions would always return NULL when the character argument is
negative.

OK miod@

Reply via email to