Fix typos detected by lintian
authormestia@debian.org <mestia@debian.org>
Mon, 29 Jun 2020 14:10:31 +0000 (15:10 +0100)
committerAlexandre Mestiashvili <mestia@debian.org>
Mon, 29 Jun 2020 14:10:31 +0000 (15:10 +0100)
Forwarded: https://github.com/facebook/zstd/issues/2191

Gbp-Pq: Name 0016-Fix-spelling.patch

programs/fileio.c
programs/zstd.1
programs/zstd.1.md
tests/playTests.sh

index d72879d64eaecb262963ca0acc023b7a9bfc9954..194dc59f63e99223ead43dc62adfa11067714ec5 100644 (file)
@@ -809,7 +809,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) {
@@ -1505,7 +1505,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 9ba0b4fa4162c8fa7b37c11efbd3d1efb957c5d1..04a9c2902966590382eed95c1902a74b1bb70515 100644 (file)
@@ -114,7 +114,7 @@ Note: If \fBwindowLog\fR is set to larger than 27, \fB\-\-long=windowLog\fR or \
 \fB\-\-patch\-from=FILE\fR: Specify the file to be used as a reference point for zstd\'s diff engine\. This is effectively dictionary compression with some convenient parameter selection, namely that windowSize > srcSize\.
 .
 .IP
-Note: cannot use both this and \-D together Note: \fB\-\-long\fR mode will be automatically activated if chainLog < fileLog (fileLog being the windowLog requried 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 \fB\-\-zstd=targetLength=\fR to be something large (i\.e 4096), and by setting a large \fB\-\-zstd=chainLog=\fR
+Note: cannot use both this and \-D together Note: \fB\-\-long\fR mode will be automatically activated if chainLog < fileLog (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 \fB\-\-zstd=targetLength=\fR to be something large (i\.e 4096), and by setting a large \fB\-\-zstd=chainLog=\fR
 .
 .IP "\(bu" 4
 \fB\-M#\fR, \fB\-\-memory=#\fR: Set a memory usage limit\. By default, Zstandard uses 128 MB for decompression as the maximum amount of memory the decompressor is allowed to use, but you can override this manually if need be in either direction (ie\. you can increase or decrease it)\.
index 550e2e53fe5fb4adafa25b9e6995842e83c27e8f..79aff1714990476a995b962b4b30ab0280ba75f8 100644 (file)
@@ -129,7 +129,7 @@ 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
index d566e9e8e31c31a5d8c353b0f9f2683f4a8e3066..31f41cdab0846c2d3f88ea33a0adb240088fc226 100755 (executable)
@@ -1285,7 +1285,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 "