30 lines
1.4 KiB
Diff
30 lines
1.4 KiB
Diff
From 7486f5c6e7b197400678f1bb603ac9e4027fb830 Mon Sep 17 00:00:00 2001
|
|
From: Jilin Yuan <yuanjilin@cdjrlc.com>
|
|
Date: Fri, 2 Sep 2022 09:32:12 +0800
|
|
Subject: [PATCH 3/6] lib: zstd: fix repeated words in comments
|
|
|
|
Delete the redundant word 'the'.
|
|
|
|
Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
|
|
Signed-off-by: Nick Terrell <terrelln@fb.com>
|
|
---
|
|
lib/zstd/compress/zstd_compress.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/lib/zstd/compress/zstd_compress.c b/lib/zstd/compress/zstd_compress.c
|
|
index a4e916008b3a..73fff4c60149 100644
|
|
--- a/lib/zstd/compress/zstd_compress.c
|
|
+++ b/lib/zstd/compress/zstd_compress.c
|
|
@@ -4441,7 +4441,7 @@ static size_t ZSTD_validateSequence(U32 offCode, U32 matchLength,
|
|
size_t posInSrc, U32 windowLog, size_t dictSize, U32 minMatch) {
|
|
size_t offsetBound;
|
|
U32 windowSize = 1 << windowLog;
|
|
- /* posInSrc represents the amount of data the the decoder would decode up to this point.
|
|
+ /* posInSrc represents the amount of data the decoder would decode up to this point.
|
|
* As long as the amount of data decoded is less than or equal to window size, offsets may be
|
|
* larger than the total length of output decoded in order to reference the dict, even larger than
|
|
* window size. After output surpasses windowSize, we're limited to windowSize offsets again.
|
|
--
|
|
2.30.6
|
|
|