]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Spelling mistakes 2193/head
authorBimba Shrestha <bimbashrestha@fb.com>
Fri, 5 Jun 2020 08:19:30 +0000 (03:19 -0500)
committerBimba Shrestha <bimbashrestha@fb.com>
Fri, 5 Jun 2020 10:11:26 +0000 (05:11 -0500)
programs/fileio.c
programs/zstd.1.md
tests/playTests.sh

index 762439501cd82b43536a75a5ee0eadeff78bebfa..e0f7fdef214af13b3982d7113d093e494e5220f4 100644 (file)
@@ -810,7 +810,7 @@ static void FIO_adjustParamsForPatchFromMode(FIO_prefs_t* const prefs,
     comprParams->windowLog = MIN(ZSTD_WINDOWLOG_MAX, fileWindowLog);
     if (fileWindowLog > ZSTD_cycleLog(cParams.hashLog, cParams.strategy)) {
         if (!prefs->ldmFlag)
-            DISPLAYLEVEL(1, "long mode automaticaly triggered\n");
+            DISPLAYLEVEL(1, "long mode automatically triggered\n");
         FIO_setLdmFlag(prefs, 1);
     }
     if (cParams.strategy >= ZSTD_btopt) {
@@ -1506,7 +1506,7 @@ static int FIO_compressFilename_dstFile(FIO_prefs_t* const prefs,
         } else if ( strcmp(dstFileName, stdoutmark)
                  && strcmp(dstFileName, nulmark)
                  && transfer_permissions) {
-            DISPLAYLEVEL(6, "FIO_compressFilename_dstFile: transfering permissions into dst: %s \n", dstFileName);
+            DISPLAYLEVEL(6, "FIO_compressFilename_dstFile: transferring permissions into dst: %s \n", dstFileName);
             UTIL_setFileStat(dstFileName, &statbuf);
         } else {
             DISPLAYLEVEL(6, "FIO_compressFilename_dstFile: do not transfer permissions into dst: %s \n", dstFileName);
index 550e2e53fe5fb4adafa25b9e6995842e83c27e8f..943eafb70cbd27b8512bac8ed32065813c47053a 100644 (file)
@@ -129,12 +129,12 @@ the last one takes effect.
 
     Note: cannot use both this and -D together
     Note: `--long` mode will be automatically activated if chainLog < fileLog
-        (fileLog being the windowLog requried to cover the whole file). You 
+        (fileLog being the windowLog required to cover the whole file). You
         can also manually force it.
        Node: for all levels, you can use --patch-from in --single-thread mode
                to improve compression ratio at the cost of speed
-    Note: for level 19, you can get increased compression ratio at the cost 
-        of speed by specifying `--zstd=targetLength=` to be something large 
+    Note: for level 19, you can get increased compression ratio at the cost
+        of speed by specifying `--zstd=targetLength=` to be something large
         (i.e 4096), and by setting a large `--zstd=chainLog=`
 * `-M#`, `--memory=#`:
     Set a memory usage limit. By default, Zstandard uses 128 MB for decompression
@@ -208,7 +208,7 @@ the last one takes effect.
     This setting overrides default and can force sparse mode over stdout.
 * `--[no-]content-size`:
     enable / disable whether or not the original size of the file is placed in
-    the header of the compressed file. The default option is 
+    the header of the compressed file. The default option is
     --content-size (meaning that the original size will be placed in the header).
 * `--rm`:
     remove source file(s) after successful compression or decompression
index 20bdc3492a96428b75c52d3836996fcebbbc78bd..5bca6d1333eece50b913f1673bdb81bceb3f4eab 100755 (executable)
@@ -1300,7 +1300,7 @@ println "\n===> patch-from long mode trigger larger file test"
 
 datagen -g5000000 > tmp_dict
 datagen -g5000000 > tmp_patch
-zstd -15 --patch-from=tmp_dict tmp_patch 2>&1 | grep "long mode automaticaly triggered"
+zstd -15 --patch-from=tmp_dict tmp_patch 2>&1 | grep "long mode automatically triggered"
 rm -rf tmp*
 
 println "\n===>   large files tests "