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. -- Andreas Schwab, schwab@xxxxxxxxxxxxxx GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."