Spelling mistakes

dev
Bimba Shrestha 2020-06-05 03:19:30 -05:00
parent 4b201f98eb
commit e2838d9eb9
3 changed files with 7 additions and 7 deletions

View File

@ -810,7 +810,7 @@ static void FIO_adjustParamsForPatchFromMode(FIO_prefs_t* const prefs,
comprParams->windowLog = MIN(ZSTD_WINDOWLOG_MAX, fileWindowLog); comprParams->windowLog = MIN(ZSTD_WINDOWLOG_MAX, fileWindowLog);
if (fileWindowLog > ZSTD_cycleLog(cParams.hashLog, cParams.strategy)) { if (fileWindowLog > ZSTD_cycleLog(cParams.hashLog, cParams.strategy)) {
if (!prefs->ldmFlag) if (!prefs->ldmFlag)
DISPLAYLEVEL(1, "long mode automaticaly triggered\n"); DISPLAYLEVEL(1, "long mode automatically triggered\n");
FIO_setLdmFlag(prefs, 1); FIO_setLdmFlag(prefs, 1);
} }
if (cParams.strategy >= ZSTD_btopt) { if (cParams.strategy >= ZSTD_btopt) {
@ -1506,7 +1506,7 @@ static int FIO_compressFilename_dstFile(FIO_prefs_t* const prefs,
} else if ( strcmp(dstFileName, stdoutmark) } else if ( strcmp(dstFileName, stdoutmark)
&& strcmp(dstFileName, nulmark) && strcmp(dstFileName, nulmark)
&& transfer_permissions) { && 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); UTIL_setFileStat(dstFileName, &statbuf);
} else { } else {
DISPLAYLEVEL(6, "FIO_compressFilename_dstFile: do not transfer permissions into dst: %s \n", dstFileName); DISPLAYLEVEL(6, "FIO_compressFilename_dstFile: do not transfer permissions into dst: %s \n", dstFileName);

View File

@ -129,7 +129,7 @@ the last one takes effect.
Note: cannot use both this and -D together Note: cannot use both this and -D together
Note: `--long` mode will be automatically activated if chainLog < fileLog 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. can also manually force it.
Node: for all levels, you can use --patch-from in --single-thread mode Node: for all levels, you can use --patch-from in --single-thread mode
to improve compression ratio at the cost of speed to improve compression ratio at the cost of speed

View File

@ -1300,7 +1300,7 @@ println "\n===> patch-from long mode trigger larger file test"
datagen -g5000000 > tmp_dict datagen -g5000000 > tmp_dict
datagen -g5000000 > tmp_patch 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* rm -rf tmp*
println "\n===> large files tests " println "\n===> large files tests "