From: Dimitris Apostolou Date: Wed, 9 Feb 2022 06:58:23 +0000 (+0200) Subject: Fix typos X-Git-Tag: v1.5.4^2~232^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3060%2Fhead;p=thirdparty%2Fzstd.git Fix typos --- diff --git a/build/meson/lib/meson.build b/build/meson/lib/meson.build index 6b0933781..cb7dc6957 100644 --- a/build/meson/lib/meson.build +++ b/build/meson/lib/meson.build @@ -47,7 +47,7 @@ libzstd_sources = [join_paths(zstd_rootdir, 'lib/common/entropy_common.c'), # really we need anything that defines __GNUC__ as that is what ZSTD_ASM_SUPPORTED is gated on # but these are the two compilers that are supported in tree and actually handle this correctly -# Otherwise, explicitly disable assmebly. +# Otherwise, explicitly disable assembly. if [compiler_gcc, compiler_clang].contains(cc_id) libzstd_sources += join_paths(zstd_rootdir, 'lib/decompress/huf_decompress_amd64.S') else diff --git a/build/single_file_libs/combine.py b/build/single_file_libs/combine.py index badd68a91..3d91dc3ee 100755 --- a/build/single_file_libs/combine.py +++ b/build/single_file_libs/combine.py @@ -41,7 +41,7 @@ destn: TextIO = sys.stdout # Set of file Path objects previously inlined (and to ignore if reencountering). found: Set[Path] = set() -# Compiled regex Patern to handle "#pragma once" in various formats: +# Compiled regex Pattern to handle "#pragma once" in various formats: # # #pragma once # #pragma once @@ -53,7 +53,7 @@ found: Set[Path] = set() # pragma_regex: Pattern = re.compile(r'^\s*#\s*pragma\s*once\s*') -# Compiled regex Patern to handle the following type of file includes: +# Compiled regex Pattern to handle the following type of file includes: # # #include "file" # #include "file" diff --git a/lib/common/portability_macros.h b/lib/common/portability_macros.h index 23a650885..1650fa3d8 100644 --- a/lib/common/portability_macros.h +++ b/lib/common/portability_macros.h @@ -12,7 +12,7 @@ #define ZSTD_PORTABILITY_MACROS_H /** - * This header file contains macro defintions to support portability. + * This header file contains macro definitions to support portability. * This header is shared between C and ASM code, so it MUST only * contain macro definitions. It MUST not contain any C code. * @@ -88,7 +88,7 @@ #endif /** - * Only enable assembly for GNUC comptabile compilers, + * Only enable assembly for GNUC compatible compilers, * because other platforms may not support GAS assembly syntax. * * Only enable assembly for Linux / MacOS, other platforms may diff --git a/tests/playTests.sh b/tests/playTests.sh index d4271b2f0..873c3c672 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -225,7 +225,7 @@ ZSTD_CLEVEL=50000000000 zstd -f tmp # numeric value too large, warn and revert t println "test : override ZSTD_CLEVEL with command line option" ZSTD_CLEVEL=12 zstd --fast=3 -f tmp # overridden by command line option -# temporary envvar chnages in the above tests would actually persist in macos /bin/sh +# temporary envvar changes in the above tests would actually persist in macos /bin/sh unset ZSTD_CLEVEL @@ -1448,7 +1448,7 @@ then ZSTD_NBTHREADS=50000000000 zstd -f mt_tmp # numeric value too large, warn and revert to default setting= ZSTD_NBTHREADS=2 zstd -f mt_tmp # correct usage ZSTD_NBTHREADS=1 zstd -f mt_tmp # correct usage: single thread - # temporary envvar chnages in the above tests would actually persist in macos /bin/sh + # temporary envvar changes in the above tests would actually persist in macos /bin/sh unset ZSTD_NBTHREADS rm -f mt_tmp*