1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-30 22:23:13 +03:00

added zlibWrapper - zstd wrapper for zlib

This commit is contained in:
inikep
2016-05-12 17:15:41 +02:00
parent 4dbf7f4a3b
commit 3eabe9b474
8 changed files with 2351 additions and 1 deletions

View File

@ -281,7 +281,7 @@ UTIL_STATIC int UTIL_prepareFileList(const char *dirName, char** bufStart, size_
return 0;
}
while (entry = readdir(dir)) {
while ((entry = readdir(dir)) != NULL) {
if (strcmp (entry->d_name, "..") == 0 ||
strcmp (entry->d_name, ".") == 0) continue;
pathLength = snprintf(path, PATH_MAX, "%s/%s", dirName, entry->d_name);