Correct more typos (#500)

This commit is contained in:
Jared Miller 2022-07-21 23:53:30 -04:00 committed by GitHub
parent 8b469389f6
commit d4000bb8f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 39 additions and 39 deletions

View file

@ -47,7 +47,7 @@ TEST(fcntl_getfl, testRemembersAccessMode) {
TEST(fcntl_setfl, testChangeAppendStatus) {
if (IsWindows()) {
// no obivous way to do fcntl(fd, F_SETFL, O_APPEND)
// no obvious way to do fcntl(fd, F_SETFL, O_APPEND)
return;
}
int fd;

View file

@ -606,7 +606,7 @@ BENCH(memcmp, bench) {
volatile char *copy = gc(strdup(kHyperion));
EZBENCH2("memcmp big", donothing,
EXPROPRIATE(memcmp(kHyperion, copy, kHyperionSize)));
copy = gc(strdup("tought little ship"));
copy = gc(strdup("tough little ship"));
EZBENCH2("memcmp 19", donothing,
EXPROPRIATE(memcmp("tought little ship", copy, 19)));
EXPROPRIATE(memcmp("tough little ship", copy, 19)));
}