-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c13c218
commit dd3d6df
Showing
6 changed files
with
52 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/lib/compress/zstd_lazy.c b/lib/compress/zstd_lazy.c | ||
index 3d523e8..3dd1426 100644 | ||
--- a/lib/compress/zstd_lazy.c | ||
+++ b/lib/compress/zstd_lazy.c | ||
@@ -1296,8 +1296,8 @@ size_t ZSTD_RowFindBestMatch_generic ( | ||
size_t ddsIdx; | ||
U32 ddsExtraAttempts; /* cctx hash tables are limited in searches, but allow extra searches into DDS */ | ||
U32 dmsTag; | ||
- U32* dmsRow; | ||
- BYTE* dmsTagRow; | ||
+ U32* dmsRow = NULL; | ||
+ BYTE* dmsTagRow = NULL; | ||
|
||
if (dictMode == ZSTD_dedicatedDictSearch) { | ||
const U32 ddsHashLog = dms->cParams.hashLog - ZSTD_LAZY_DDSS_BUCKET_LOG; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
diff --git a/build/cmake/lib/CMakeLists.txt b/build/cmake/lib/CMakeLists.txt | ||
index 179c9762..f86efdbc 100644 | ||
index 5f75665..dabc9d5 100644 | ||
--- a/build/cmake/lib/CMakeLists.txt | ||
+++ b/build/cmake/lib/CMakeLists.txt | ||
@@ -134,7 +134,7 @@ if (ZSTD_BUILD_STATIC) | ||
@@ -130,7 +130,7 @@ if (ZSTD_BUILD_STATIC) | ||
OUTPUT_NAME ${STATIC_LIBRARY_BASE_NAME}) | ||
endif () | ||
|
||
-if (UNIX OR MINGW) | ||
+if (1) | ||
# pkg-config | ||
set(PREFIX "${CMAKE_INSTALL_PREFIX}") | ||
set(EXEC_PREFIX "\${prefix}") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
{ | ||
"name": "zstd", | ||
"version": "1.4.9", | ||
"version-semver": "1.5.0", | ||
"description": "Zstandard - Fast real-time compression algorithm", | ||
"homepage": "https://facebook.github.io/zstd/" | ||
"homepage": "https://facebook.github.io/zstd/", | ||
"dependencies": [ | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters