File 1424-remove-typo-fixes-to-vendored-code.patch of Package erlang

From fd44ec9d0c0fa63f867825e04a3846219afeb0ef Mon Sep 17 00:00:00 2001
From: Paul Ivanov <pi@berkeley.edu>
Date: Sat, 2 Dec 2023 23:23:41 -0800
Subject: [PATCH 2/2] remove typo fixes to vendored code

---
 erts/emulator/asmjit/core.h              | 2 +-
 erts/emulator/asmjit/core/api-config.h   | 2 +-
 erts/emulator/asmjit/core/jitallocator.h | 2 +-
 erts/emulator/asmjit/core/virtmem.h      | 2 +-
 erts/emulator/asmjit/x86/x86opcode_p.h   | 6 +++---
 erts/emulator/zlib/inftrees.h            | 2 +-
 erts/emulator/zlib/zlib.h                | 2 +-
 7 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/erts/emulator/zlib/inftrees.h b/erts/emulator/zlib/inftrees.h
index 1b6bfc3dd4..f53665311c 100644
--- a/erts/emulator/zlib/inftrees.h
+++ b/erts/emulator/zlib/inftrees.h
@@ -41,7 +41,7 @@ typedef struct {
    examples/enough.c found in the zlib distribtution.  The arguments to that
    program are the number of symbols, the initial root table size, and the
    maximum bit length of a code.  "enough 286 9 15" for literal/length codes
-   returns 852, and "enough 30 6 15" for distance codes returns 592.
+   returns returns 852, and "enough 30 6 15" for distance codes returns 592.
    The initial root table size (9 or 6) is found in the fifth argument of the
    inflate_table() calls in inflate.c and infback.c.  If the root table size is
    changed, then these maximum sizes would be need to be recalculated and
diff --git a/erts/emulator/zlib/zlib.h b/erts/emulator/zlib/zlib.h
index 8fe4dbb813..953cb5012d 100644
--- a/erts/emulator/zlib/zlib.h
+++ b/erts/emulator/zlib/zlib.h
@@ -729,7 +729,7 @@ ZEXTERN int ZEXPORT deflateParams OF((z_streamp strm,
    Then no more input data should be provided before the deflateParams() call.
    If this is done, the old level and strategy will be applied to the data
    compressed before deflateParams(), and the new level and strategy will be
-   applied to the data compressed after deflateParams().
+   applied to the the data compressed after deflateParams().
 
      deflateParams returns Z_OK on success, Z_STREAM_ERROR if the source stream
    state was inconsistent or if a parameter was invalid, or Z_BUF_ERROR if
-- 
2.35.3

openSUSE Build Service is sponsored by