diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2021-07-24 05:35:57 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2021-07-24 05:35:57 +0000 |
commit | d1aba607b982a1a1107d18c44c750c52fe627460 (patch) | |
tree | 059246e3cddff3696d776019a5d7c7d3baf3c94a /regress/lib | |
parent | 50fab5723926b96f5c5f22d2c24b3e2a2ab98164 (diff) |
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@
Diffstat (limited to 'regress/lib')
0 files changed, 0 insertions, 0 deletions