From patchwork Fri Jun 2 23:49:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Pluzhnikov X-Patchwork-Id: 1789852 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=uVSaiVDn; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QY0B14dzPz20Q4 for ; Sat, 3 Jun 2023 09:50:33 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 50BEB385772C for ; Fri, 2 Jun 2023 23:50:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 50BEB385772C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1685749831; bh=5psV7zSkF77117SSRBnX9HMc5jgTKaz3dWMIv0bQChA=; h=Date:Subject:To:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=uVSaiVDn/FkgyrE9IarFlN5FJzsijU752uaMSehFWAMrb9qIHQT5NzfoOzUCp38Z9 cF/KAxtYUV7se3sQzxpw58YnLYSthbMDNU9s5UdgiGZeWz6FEEZSqfeQmQo91Ur3e8 jsuJpVEzLe4bSPUehf0uRbQXmKrb+AUg3gvvbv7o= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pj1-x104a.google.com (mail-pj1-x104a.google.com [IPv6:2607:f8b0:4864:20::104a]) by sourceware.org (Postfix) with ESMTPS id B724F385802F for ; Fri, 2 Jun 2023 23:50:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B724F385802F Received: by mail-pj1-x104a.google.com with SMTP id 98e67ed59e1d1-2566b668cc5so1747111a91.0 for ; Fri, 02 Jun 2023 16:50:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685749812; x=1688341812; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5psV7zSkF77117SSRBnX9HMc5jgTKaz3dWMIv0bQChA=; b=eMON8Zx65xHv+/fN0dhOFi300b+lDfi02rs1Z1VZmbjRtskfX4bHhDX19ChrRvDNM9 BSZkJ4wUk5LazGuWVbGsl0OPeZL/MgCQMdF4ipGBgq6ojUCAfgQK27FVvvXl6yFwCFBa yQh/fQHD5GObcBMa3y8P6bLGJiZp1CfqWRkinLIuxn8RGjGRb+3sv2uEIS+QXWLH3fXs Q9pT6tbNzV/z2UaQAL4TYkmsFrGc+Yp3vKHGfJ68agvM8EKaOUG98nkHzk2oIEiuWFC4 YnwCtOnqg7bDVFChmCQlg84eoiou1/Ytdd/pc24MjK6w89lDYBGbv08YHW0LN7cBSjwi bo8w== X-Gm-Message-State: AC+VfDz8XxqqbhPQtNVDZuGOgP3gocFVGUfGbkfW3VYaABiOsQkw7xuJ PB/m1e3SEfEv89YljYnERJ+HaJBCOE0UzQCrtYNnXDG+vG9CCs6YjJdKa9DiDIpRl97GKHFYifG IUAKX2wCKAFWzs0Y7C+XWoY4DiwuvEJ3mVNDSfytmMTctdXktaxmhxmnQvqi6O+mhKW5LNTYrt9 t8Upg= X-Google-Smtp-Source: ACHHUZ4iZvWPmbjQwLxsXmAnpULxDWm4V/gXQZJrds7KYDX+U92FLWpwCbIGRHktQWlJGk5/T6HABnnXn91IvvXGMQ== X-Received: from elbrus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:12e9]) (user=ppluzhnikov job=sendgmr) by 2002:a17:90a:d3d3:b0:23d:30a:692b with SMTP id d19-20020a17090ad3d300b0023d030a692bmr242512pjw.4.1685749812211; Fri, 02 Jun 2023 16:50:12 -0700 (PDT) Date: Fri, 2 Jun 2023 23:49:40 +0000 Mime-Version: 1.0 X-Mailer: git-send-email 2.41.0.rc0.172.g3f132b7071-goog Message-ID: <20230602234939.270978-2-ppluzhnikov@google.com> Subject: [COMMITTED] Fix a few more typos I missed in previous round -- BZ 25337 To: libc-alpha@sourceware.org Cc: Paul Pluzhnikov X-Spam-Status: No, score=-20.1 required=5.0 tests=BAYES_00, DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Paul Pluzhnikov via Libc-alpha From: Paul Pluzhnikov Reply-To: Paul Pluzhnikov Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" --- elf/tst-ldconfig-p.sh | 2 +- include/clone_internal.h | 2 +- include/set-freeres.h | 2 +- malloc/tst-malloc-tcache-leak.c | 2 +- scripts/sort-makefile-lines.py | 6 +++--- stdio-common/vfprintf-process-arg.c | 2 +- stdlib/test-atexit-recursive.c | 2 +- sysdeps/aarch64/fpu/advsimd_utils.h | 2 +- sysdeps/alpha/alphaev6/memcpy.S | 2 +- sysdeps/hppa/nptl/bits/struct_rwlock.h | 2 +- sysdeps/mach/hurd/x86_64/localplt.data | 2 +- sysdeps/x86/htl/pt-machdep.h | 2 +- 12 files changed, 14 insertions(+), 14 deletions(-) diff --git a/elf/tst-ldconfig-p.sh b/elf/tst-ldconfig-p.sh index e966c4d124..981e3a451a 100644 --- a/elf/tst-ldconfig-p.sh +++ b/elf/tst-ldconfig-p.sh @@ -63,7 +63,7 @@ case $status in (1) if head -n 1 "$testout" | \ grep -q ": Cache file has wrong endianness\.$" ; then - echo "info: cache file has wrong endianess" >> "$testout" + echo "info: cache file has wrong endianness" >> "$testout" else echo "error: unexpected ldconfig error message" >> "$testout" errors=1 diff --git a/include/clone_internal.h b/include/clone_internal.h index dd380f119e..ad7b170f58 100644 --- a/include/clone_internal.h +++ b/include/clone_internal.h @@ -5,7 +5,7 @@ /* The clone3 syscall provides a superset of the functionality of the clone interface. The kernel might extend __CL_ARGS struct in the future, with - each version with a diffent __SIZE. If the child is created, it will + each version with a different __SIZE. If the child is created, it will start __FUNC function with __ARG arguments. Different than kernel, the implementation also returns EINVAL for an diff --git a/include/set-freeres.h b/include/set-freeres.h index b7f66519a3..866d0e3717 100644 --- a/include/set-freeres.h +++ b/include/set-freeres.h @@ -33,7 +33,7 @@ memory leaks. A single public API exists and is __libc_freeres, and this is used - by applications like valgrind to freee resouces. + by applications like valgrind to free resources. Each free routines must be explicit listed below. */ diff --git a/malloc/tst-malloc-tcache-leak.c b/malloc/tst-malloc-tcache-leak.c index a2a624f6d4..27b5ab2f24 100644 --- a/malloc/tst-malloc-tcache-leak.c +++ b/malloc/tst-malloc-tcache-leak.c @@ -42,7 +42,7 @@ worker (void *data) /* Allocate an arbitrary amount of memory that is known to fit into the thread local cache (tcache). If we have at least 64 bins (default e.g. TCACHE_MAX_BINS) we should be able to allocate 32 - bytes and force malloc to fill the tcache. We are assuming tcahce + bytes and force malloc to fill the tcache. We are assuming tcache init happens at the first small alloc, but it might in the future be deferred to some other point. Therefore to future proof this test we include a full alloc/free/alloc cycle for the thread. We diff --git a/scripts/sort-makefile-lines.py b/scripts/sort-makefile-lines.py index c0badebf8c..8a1bc3f48b 100755 --- a/scripts/sort-makefile-lines.py +++ b/scripts/sort-makefile-lines.py @@ -38,7 +38,7 @@ # Sorting is only carried out between two special markers: # (a) Marker start is ' += \' (or '= \', or ':= \') # (b) Marker end is ' # ' (whitespace matters) -# With everthing between (a) and (b) being sorted accordingly. +# With everything between (a) and (b) being sorted accordingly. # # You can use it like this: # $ scripts/sort-makefile-lines.py < elf/Makefile > elf/Makefile.tmp @@ -80,7 +80,7 @@ # No manually listed test currently uses more than that (though # automatically generated tests may; they don't need sorting). # - Avoid including another test and instead refactor into common -# code with all tests including hte common code, then give the +# code with all tests including the common code, then give the # tests unique names. # # If you have a Makefile that needs converting, then you can @@ -143,7 +143,7 @@ def sort_makefile_lines(): reg = r'^ # ' + sm[1] + r'$' for j in range(sm[0] + 1, len(lines)): if re.search(reg, lines[j]): - # Rembember the block to sort (inclusive). + # Remember the block to sort (inclusive). rangemarks.append((sm[0] + 1, j)) break diff --git a/stdio-common/vfprintf-process-arg.c b/stdio-common/vfprintf-process-arg.c index 8c0fcbcf78..f40336fd91 100644 --- a/stdio-common/vfprintf-process-arg.c +++ b/stdio-common/vfprintf-process-arg.c @@ -187,7 +187,7 @@ LABEL (unsigned_number): /* Unsigned number of base BASE. */ && alt && base == 8); /* At this point prec_inc is the additional bytes required for the - specificed precision. It is 0 if the precision would not have + specified precision. It is 0 if the precision would not have required additional bytes i.e. the number of input digits is more than the precision. It is greater than zero if the precision is more than the number of digits without grouping (precision only diff --git a/stdlib/test-atexit-recursive.c b/stdlib/test-atexit-recursive.c index 0596b9763b..9dbd5e5e6e 100644 --- a/stdlib/test-atexit-recursive.c +++ b/stdlib/test-atexit-recursive.c @@ -16,7 +16,7 @@ License along with the GNU C Library; if not, see . */ -/* Check that atexit handler registed from another handler still called. */ +/* Check that atexit handler registered from another handler still called. */ #include #include diff --git a/sysdeps/aarch64/fpu/advsimd_utils.h b/sysdeps/aarch64/fpu/advsimd_utils.h index 08bfe77d52..8a0fcc0e06 100644 --- a/sysdeps/aarch64/fpu/advsimd_utils.h +++ b/sysdeps/aarch64/fpu/advsimd_utils.h @@ -1,4 +1,4 @@ -/* Helpers for Advanced SIMD vector math funtions. +/* Helpers for Advanced SIMD vector math functions. Copyright (C) 2023 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/sysdeps/alpha/alphaev6/memcpy.S b/sysdeps/alpha/alphaev6/memcpy.S index 58c139aef2..28cd1e6710 100644 --- a/sysdeps/alpha/alphaev6/memcpy.S +++ b/sysdeps/alpha/alphaev6/memcpy.S @@ -190,7 +190,7 @@ $tail_bytes: $misaligned: mov $0, $4 # E : dest temp and $0, 7, $1 # E : dest alignment mod8 - beq $1, $dest_0mod8 # U : life doesnt totally suck + beq $1, $dest_0mod8 # U : life doesn't totally suck nop $aligndest: diff --git a/sysdeps/hppa/nptl/bits/struct_rwlock.h b/sysdeps/hppa/nptl/bits/struct_rwlock.h index 762b05b2ec..f91460b7f8 100644 --- a/sysdeps/hppa/nptl/bits/struct_rwlock.h +++ b/sysdeps/hppa/nptl/bits/struct_rwlock.h @@ -27,7 +27,7 @@ struct __pthread_rwlock_arch_t next four words are all set to 1 by the Linuxthreads PTHREAD_RWLOCK_INITIALIZER. We ignore them in NPTL. - The 16-byte aligned lock stucture is not needed for NPTL. + The 16-byte aligned lock structure is not needed for NPTL. It causes some package builds to fail (e.g., protobuf) and issues with dynamic memory allocation in C++ versions prior to C++17. Removing it allows for more efficient allocators diff --git a/sysdeps/mach/hurd/x86_64/localplt.data b/sysdeps/mach/hurd/x86_64/localplt.data index ce12ef0b3b..c38821e2fa 100644 --- a/sysdeps/mach/hurd/x86_64/localplt.data +++ b/sysdeps/mach/hurd/x86_64/localplt.data @@ -8,7 +8,7 @@ libc.so: free + RELA R_X86_64_GLOB_DAT libc.so: malloc + RELA R_X86_64_GLOB_DAT libc.so: realloc + RELA R_X86_64_GLOB_DAT # The dynamic linker has its own versions of basic functions for initial loading -# of shared libraries. These need to be overriden by libc once loaded. +# of shared libraries. These need to be overridden by libc once loaded. ld.so: __open ? ld.so: __open64 ? ld.so: __open_nocancel diff --git a/sysdeps/x86/htl/pt-machdep.h b/sysdeps/x86/htl/pt-machdep.h index d0cc979252..d0fd16e3a5 100644 --- a/sysdeps/x86/htl/pt-machdep.h +++ b/sysdeps/x86/htl/pt-machdep.h @@ -1,4 +1,4 @@ -/* Machine dependent pthreads internal defenitions. x86 version. +/* Machine dependent pthreads internal definitions. x86 version. Copyright (C) 2000-2023 Free Software Foundation, Inc. This file is part of the GNU C Library.