mirror of
https://github.com/apache/nuttx.git
synced 2026-10-12 00:30:23 +00:00
Remove the incorrect address restoration logic in the memrchr fast path. The UNALIGNED_X loop already ensures the proper alignment, so the subsequent address recalculation is unnecessary and makes memrchr return the wrong position. This fixes the syslog message corruption where memrchr reports the incorrect newline position. Assisted-by: Claude:claude-opus-5 Signed-off-by: fangpeina <fangpeina@xiaomi.com> |
||
|---|---|---|
| .. | ||
| libbuiltin | ||
| libc | ||
| libdsp | ||
| libm | ||
| libnx | ||
| libxx | ||
| CMakeLists.txt | ||