fix typo

Message ID CAPWxxEVcYY7i=oFup6VQGYUAeXVYVsQ9YuYyCe3pBwQzSUKc3A@mail.gmail.com
State Superseded
Headers show
Series
  • fix typo
Related show

Commit Message

Szabolcs Nagy via Libc-alpha June 2, 2021, 9:27 a.m.
"accomodate" should be "accommodate"
---
malloc/malloc.c | 2 +-
manual/summary.pl | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Szabolcs Nagy via Libc-alpha June 2, 2021, 9:29 a.m. | #1
Sorry that I've misused Reply. I'll send a new email soon.
Feel so sorry to bother you all again and again.

On Wed, Jun 2, 2021 at 5:27 PM Xeonacid <h.dwwwwww@gmail.com> wrote:
>

> "accomodate" should be "accommodate"

> ---

> malloc/malloc.c | 2 +-

> manual/summary.pl | 2 +-

> 2 files changed, 2 insertions(+), 2 deletions(-)

>

> diff --git a/malloc/malloc.c b/malloc/malloc.c

> index e2d7b1b583..0e2e1747e0 100644

> --- a/malloc/malloc.c

> +++ b/malloc/malloc.c

> @@ -1477,7 +1477,7 @@ checked_request2size (size_t req, size_t *sz)

> __nonnull (1)

> chunksize (p) - CHUNK_HDR_SZ : \

> chunksize (p) - CHUNK_HDR_SZ + (chunk_is_mmapped (p) ? 0 : SIZE_SZ))

> -/* If memory tagging is enabled the layout changes to accomodate the granule

> +/* If memory tagging is enabled the layout changes to accommodate the granule

> size, this is wasteful for small allocations so not done by default.

> Both the chunk header and user data has to be granule aligned. */

> _Static_assert (__MTAG_GRANULE_SIZE <= CHUNK_HDR_SZ,

> diff --git a/manual/summary.pl b/manual/summary.pl

> index 4319c56415..ab0801b045 100755

> --- a/manual/summary.pl

> +++ b/manual/summary.pl

> @@ -374,7 +374,7 @@ outside @*x lists ("Misplaced @standardsx").

> "Spurious @standardsx"

> refers to otherwise valid @standardsx macros that were not matched to

> an element in an @*x list. "Invalid syntax" means just that.

> -The syntax of @standards annotations is designed to accomodate

> +The syntax of @standards annotations is designed to accommodate

> multiple header and standards annotations, as necessary.

> Examples:

> --

> 2.31.1
Paul Zimmermann June 2, 2021, 9:30 a.m. | #2
LGTM, thanks.

Reviewed-by: Paul Zimmermann <Paul.Zimmermann@inria.fr>

Patch

From bc2c8640eff6cd9a192080a50739d105b77d2d79 Mon Sep 17 00:00:00 2001
From: Xeonacid <h.dwwwwww@gmail.com>
Date: Tue, 1 Jun 2021 14:18:47 +0800
Subject: [PATCH] fix typo
To: libc-alpha@sourceware.org
Cc: Paul.Zimmermann@inria.fr

"accomodate" should be "accommodate"
---
 malloc/malloc.c   | 2 +-
 manual/summary.pl | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/malloc/malloc.c b/malloc/malloc.c
index e2d7b1b583..0e2e1747e0 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -1477,7 +1477,7 @@  checked_request2size (size_t req, size_t *sz) __nonnull (1)
     chunksize (p) - CHUNK_HDR_SZ :                                    \
     chunksize (p) - CHUNK_HDR_SZ + (chunk_is_mmapped (p) ? 0 : SIZE_SZ))
 
-/* If memory tagging is enabled the layout changes to accomodate the granule
+/* If memory tagging is enabled the layout changes to accommodate the granule
    size, this is wasteful for small allocations so not done by default.
    Both the chunk header and user data has to be granule aligned.  */
 _Static_assert (__MTAG_GRANULE_SIZE <= CHUNK_HDR_SZ,
diff --git a/manual/summary.pl b/manual/summary.pl
index 4319c56415..ab0801b045 100755
--- a/manual/summary.pl
+++ b/manual/summary.pl
@@ -374,7 +374,7 @@  outside @*x lists ("Misplaced @standardsx").  "Spurious @standardsx"
 refers to otherwise valid @standardsx macros that were not matched to
 an element in an @*x list.  "Invalid syntax" means just that.
 
-The syntax of @standards annotations is designed to accomodate
+The syntax of @standards annotations is designed to accommodate
 multiple header and standards annotations, as necessary.
 
 Examples:
-- 
2.31.1