deps: update zlib to 1.3.0.1-motley-4f653ff

PR-URL: https://github.com/nodejs/node/pull/53052
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
pull/53084/head
Node.js GitHub Bot 2024-05-21 03:35:50 +03:00 committed by GitHub
parent f9a09131d7
commit 0984d858ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -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);
@ -196,7 +196,7 @@ uLong WriteZipBuffer(void* /*opaque*/,
void* /*stream*/,
const void* /*buf*/,
uLong /*size*/) {
NOTREACHED();
NOTREACHED_IN_MIGRATION();
return 0;
}
@ -228,7 +228,7 @@ long SeekZipBuffer(void* opaque,
buffer->offset = std::min(buffer->length, offset);
return 0;
}
NOTREACHED();
NOTREACHED_IN_MIGRATION();
return -1;
}

View File

@ -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_