mescc: Support binutils 2.10.1: strrchr: Stop at start of string.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 24 Jun 2018 15:25:46 +0000 (17:25 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 24 Jun 2018 15:25:46 +0000 (17:25 +0200)
commit50d7036e03a29fdc509c2a4b0f45938806610560
tree5bdb015cedd3f3f8fdef75a390194da744e8fc96
parent350d94aa77d28ec27857e3738f57b0cd69005657
mescc: Support binutils 2.10.1: strrchr: Stop at start of string.

* lib/libc+tcc.c (strrchr): Stop at start of string.
* scaffold/tests/88-strrchr.c: Test it.
* build-aux/check-mescc.sh (tests): Run it.
build-aux/check-mescc.sh
lib/libc+tcc.c
scaffold/tests/88-strrchr.c [new file with mode: 0644]