]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Fix typos 3060/head
authorDimitris Apostolou <dimitris.apostolou@icloud.com>
Wed, 9 Feb 2022 06:58:23 +0000 (08:58 +0200)
committerDimitris Apostolou <dimitris.apostolou@icloud.com>
Sat, 5 Mar 2022 21:47:25 +0000 (23:47 +0200)
build/meson/lib/meson.build
build/single_file_libs/combine.py
lib/common/portability_macros.h
tests/playTests.sh

index 6b09337810183c216079419e5bbafbd88574aff5..cb7dc6957c7d3a62b5c852e4fbae4e616e006425 100644 (file)
@@ -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
index badd68a91aff542b52dda28e83156d850bcbe9a3..3d91dc3eec22a757bf587af6f30bcb87936c1835 100755 (executable)
@@ -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"
index 23a6508852bd8b5db9248f76121d72f3c6865908..1650fa3d8cf83c1009d1b477c7b28741ff6400be 100644 (file)
@@ -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
index d4271b2f072d74d2f1dbe24d32da12d43ebe4f05..873c3c672cd1159db6c5930f8e44fd8f3d1e5d19 100755 (executable)
@@ -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*