pret / agbcc

C compiler
104 stars 75 forks source link

Make strstr ANSI compliant. #33

Closed ghost closed 3 years ago

ghost commented 4 years ago

This is more efficient and an ANSI-compliant function that uses memcmp instead of strchr.

nicholatian commented 4 years ago

Are you referring to the Windows-1252 codepage, called “ANSI” in the Windows Notepad GUI?

aaaaaa123456789 commented 4 years ago

strchr and strncmp are standard library functions and this change introduces no improvements whatsoever. One more in what has become a long list of PRs from this user that introduce minimal irrelevant changes for no good reason.

PikalaxALT commented 4 years ago

This is the third such PR from this user to a pret repository in under a week. I recommend this PR be closed without merge, like the others.