Fix two problems found in the strrchr() implementation for s390
architectures: evaluate empty strings (return the string address instead of
NULL, if '\0' is passed as second argument); evaluate the first character
of non-empty strings (the current implementation stops at the second).
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| delay.c | ||
| error-inject.c | ||
| find.c | ||
| mem.S | ||
| probes.c | ||
| spinlock.c | ||
| string.c | ||
| test_unwind.c | ||
| uaccess.c | ||
| xor.c | ||