On 2022/12/16 20:39, Andreas Schwab wrote:
On Dez 16 2022, Leizhen (ThunderTown) wrote:Why consider the high bit? It is not memcmp(). If the high bit is set, it is the user's fault.Nope, the semantics of strcmp are defined on the full CHAR_MIN to CHAR_MAX range.
OK, I got it.
-- Regards, Zhen Lei