]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Fix typos found by codespell 3513/head
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
Sat, 18 Feb 2023 09:30:23 +0000 (10:30 +0100)
committerDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
Sat, 18 Feb 2023 09:31:48 +0000 (10:31 +0100)
.github/workflows/dev-short-tests.yml
lib/common/threading.c
lib/decompress/zstd_decompress_block.c
lib/zstd.h
programs/timefn.c
programs/zstdcli.c
tests/cli-tests/basic/help.sh.stdout.glob

index a21d56f96a2bfb39e9c130f2779d1a0895b78494..64616380d384a638acc594e123f9473320782237 100644 (file)
@@ -318,7 +318,7 @@ jobs:
         /t:Clean,Build /p:Platform=${{matrix.platform}} /p:Configuration=${{matrix.configuration}} /warnaserror
         /p:InstructionSet=${{matrix.arch}}
 
-  # This tests that we don't accidently grow the size too much.
+  # This tests that we don't accidentally grow the size too much.
   # If the size grows intentionally, you can raise these numbers.
   # But we do need to think about binary size, since it is a concern.
   libzstd-size:
index f2341105a1cd383d2001f2ada3ba70294b5ddac2..ca155b9b9db75a1f51a72f3d82cb412f66fe06e9 100644 (file)
@@ -47,7 +47,7 @@ static unsigned __stdcall worker(void *arg)
     void* (*start_routine)(void*);
     void* thread_arg;
 
-    /* Inialized thread_arg and start_routine and signal main thread that we don't need it
+    /* Initialized thread_arg and start_routine and signal main thread that we don't need it
      * to wait any longer.
      */
     {
index 0a06a021e15d0d584a6b2c052688668d7fad6b58..f5c5f841763d0f6fb7effc153ddaced5e2a70951 100644 (file)
@@ -1987,7 +1987,7 @@ ZSTD_decompressSequencesLong(ZSTD_DCtx* dctx,
 
 
 /**
- * @returns The total size of the history referencable by zstd, including
+ * @returns The total size of the history referenceable by zstd, including
  * both the prefix and the extDict. At @p op any offset larger than this
  * is invalid.
  */
index 95aac07370db57c49beeaee89e36c336b48b6685..6c0c8eecbfe6ee0f9514b0c724f6fcb3c625f91a 100644 (file)
@@ -2134,7 +2134,7 @@ ZSTDLIB_STATIC_API size_t ZSTD_CCtx_refPrefix_advanced(ZSTD_CCtx* cctx, const vo
  * This parameter can be used to set an upper bound on the blocksize
  * that overrides the default ZSTD_BLOCKSIZE_MAX. It cannot be used to set upper
  * bounds greater than ZSTD_BLOCKSIZE_MAX or bounds lower than 1KB (will make
- * compressBound() innacurate). Only currently meant to be used for testing.
+ * compressBound() inaccurate). Only currently meant to be used for testing.
  *
  */
 #define ZSTD_c_maxBlockSize ZSTD_c_experimentalParam18
index f941e57e61a26d22248aed47880391dac2f7963c..4f045226b8bf4a2b7cf9e4681cf3a6b0e39b2efd 100644 (file)
@@ -88,7 +88,7 @@ UTIL_time_t UTIL_getTime(void)
 /* C11 requires support of timespec_get().
  * However, FreeBSD 11 claims C11 compliance while lacking timespec_get().
  * Double confirm timespec_get() support by checking the definition of TIME_UTC.
- * However, some versions of Android manage to simultanously define TIME_UTC
+ * However, some versions of Android manage to simultaneously define TIME_UTC
  * and lack timespec_get() support... */
 #elif (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) /* C11 */) \
     && defined(TIME_UTC) && !defined(__ANDROID__)
index 93f75e21d9d952660569a162f72ad759215ad7f0..f572f30c05633d650cda80e68a56c20da947bb0b 100644 (file)
@@ -165,7 +165,7 @@ static void usage(FILE* f, const char* programName)
 #endif
     DISPLAY_F(f, "  -D DICT                       Use DICT as the dictionary for compression or decompression.\n\n");
     DISPLAY_F(f, "  -f, --force                   Disable input and output checks. Allows overwriting existing files,\n");
-    DISPLAY_F(f, "                                receiving input from the console, printing ouput to STDOUT, and\n");
+    DISPLAY_F(f, "                                receiving input from the console, printing output to STDOUT, and\n");
     DISPLAY_F(f, "                                operating on links, block devices, etc. Unrecognized formats will be\n");
     DISPLAY_F(f, "                                passed-through through as-is.\n\n");
 
index 5580dc669194a4718f42d4cb0363ab94933186b8..21bc28c3fa880e2d7dae8f25e782872ba5be20c8 100644 (file)
@@ -16,7 +16,7 @@ Options:
   -D DICT                       Use DICT as the dictionary for compression or decompression.
 
   -f, --force                   Disable input and output checks. Allows overwriting existing files,
-                                receiving input from the console, printing ouput to STDOUT, and
+                                receiving input from the console, printing output to STDOUT, and
                                 operating on links, block devices, etc. Unrecognized formats will be
                                 passed-through through as-is.