Skip to content

Commit

Permalink
deps: update zlib to 1.3.0.1-motley-4f653ff
Browse files Browse the repository at this point in the history
PR-URL: #53052
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
  • Loading branch information
nodejs-github-bot authored May 21, 2024
1 parent f9a0913 commit 0984d85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions deps/zlib/google/zip_internal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ struct ZipBuffer {
// writing compressed data and it returns NULL for this case.)
void* OpenZipBuffer(void* opaque, const void* /*filename*/, int mode) {
if ((mode & ZLIB_FILEFUNC_MODE_READWRITEFILTER) != ZLIB_FILEFUNC_MODE_READ) {
NOTREACHED();
NOTREACHED_IN_MIGRATION();
return NULL;
}
ZipBuffer* buffer = static_cast<ZipBuffer*>(opaque);
Expand Down Expand Up @@ -196,7 +196,7 @@ uLong WriteZipBuffer(void* /*opaque*/,
void* /*stream*/,
const void* /*buf*/,
uLong /*size*/) {
NOTREACHED();
NOTREACHED_IN_MIGRATION();
return 0;
}

Expand Down Expand Up @@ -228,7 +228,7 @@ long SeekZipBuffer(void* opaque,
buffer->offset = std::min(buffer->length, offset);
return 0;
}
NOTREACHED();
NOTREACHED_IN_MIGRATION();
return -1;
}

Expand Down
2 changes: 1 addition & 1 deletion src/zlib_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
// Refer to tools/dep_updaters/update-zlib.sh
#ifndef SRC_ZLIB_VERSION_H_
#define SRC_ZLIB_VERSION_H_
#define ZLIB_VERSION "1.3.0.1-motley-7d77fb7"
#define ZLIB_VERSION "1.3.0.1-motley-4f653ff"
#endif // SRC_ZLIB_VERSION_H_

0 comments on commit 0984d85

Please sign in to comment.