From aa96fbe03e1c93ceadb148987ab8a09abd506d0c Mon Sep 17 00:00:00 2001 From: "Node.js GitHub Bot" Date: Tue, 21 May 2024 03:35:50 +0300 Subject: [PATCH] deps: update zlib to 1.3.0.1-motley-4f653ff PR-URL: https://github.com/nodejs/node/pull/53052 Reviewed-By: Luigi Pinca Reviewed-By: Mohammed Keyvanzadeh --- deps/zlib/google/zip_internal.cc | 6 +++--- src/zlib_version.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deps/zlib/google/zip_internal.cc b/deps/zlib/google/zip_internal.cc index 9b20b421e24765..d15c6cfe4f5de2 100644 --- a/deps/zlib/google/zip_internal.cc +++ b/deps/zlib/google/zip_internal.cc @@ -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(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; } diff --git a/src/zlib_version.h b/src/zlib_version.h index e2ef66fe496e3d..d8e10e42d265e2 100644 --- a/src/zlib_version.h +++ b/src/zlib_version.h @@ -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_