Fix typos

This commit is contained in:
Dimitris Apostolou 2022-02-09 08:58:23 +02:00
parent d109cef201
commit cf1894b324
No known key found for this signature in database
GPG Key ID: 4B5D20E938204A8A
4 changed files with 7 additions and 7 deletions

View 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

View File

@ -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"

View 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

View File

@ -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*