Page MenuHomeFreeBSD

fix strchr, strrchr implementation on MIPS
ClosedPublic

Authored by br on Oct 13 2016, 11:40 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 2, 5:35 AM
Unknown Object (File)
Dec 2 2024, 5:36 AM
Unknown Object (File)
Nov 30 2024, 5:19 PM
Unknown Object (File)
Nov 23 2024, 6:34 AM
Unknown Object (File)
Nov 20 2024, 12:58 PM
Unknown Object (File)
Nov 15 2024, 10:06 AM
Unknown Object (File)
Nov 7 2024, 1:05 AM
Unknown Object (File)
Oct 17 2024, 2:55 PM
Subscribers
None

Details

Summary

compare byte with byte, not byte with int

this is a fix for the following tests:

bin/sh/expansion/functional_test:ifs3
bin/sh/expansion/functional_test:plus_minus6
lib/libc/string/strchr_test:strchr_basic
lib/libc/string/strrchr_test:strrchr_basic

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

br retitled this revision from to fix strchr, strrchr implementation on MIPS.
br updated this object.
br edited the test plan for this revision. (Show Details)
br added reviewers: emaste, andrew.
emaste edited edge metadata.

LGTM

This revision is now accepted and ready to land.Oct 13 2016, 12:06 PM
This revision was automatically updated to reflect the committed changes.