From: tb Date: Tue, 27 Dec 2022 17:13:04 +0000 (+0000) Subject: Revert spelling fixes. Please report them upstream. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=87ef6183adddb0c1d168ee653e98556ee48c52da;p=openbsd Revert spelling fixes. Please report them upstream. --- diff --git a/lib/libz/README b/lib/libz/README index aa9a6d77120..ba34d1894a9 100644 --- a/lib/libz/README +++ b/lib/libz/README @@ -64,7 +64,7 @@ Notes for some targets: - zlib doesn't work with gcc 2.6.3 on a DEC 3000/300LX under OSF/1 2.1 it works when compiled with cc. -- On Digital Unix 4.0D (formerly OSF/1) on AlphaServer, the cc option -std1 is +- On Digital Unix 4.0D (formely OSF/1) on AlphaServer, the cc option -std1 is necessary to get gzprintf working correctly. This is done by configure. - zlib doesn't work on HP-UX 9.05 with some versions of /bin/cc. It works with diff --git a/lib/libz/crc32.c b/lib/libz/crc32.c index f67b6619154..0796b0f4c84 100644 --- a/lib/libz/crc32.c +++ b/lib/libz/crc32.c @@ -779,8 +779,8 @@ unsigned long ZEXPORT crc32_z(crc, buf, len) words = (z_word_t const *)buf; /* Do endian check at execution time instead of compile time, since ARM - processors can change the endianness at execution time. If the - compiler knows what the endianness will be, it can optimize out the + processors can change the endianess at execution time. If the + compiler knows what the endianess will be, it can optimize out the check and the unused branch. */ endian = 1; if (*(unsigned char *)&endian) {