public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
From: "Giuliano Procida via libabigail" <libabigail@sourceware.org>
To: libabigail@sourceware.org
Cc: dodji@seketeli.org, kernel-team@android.com, gprocida@google.com
Subject: [PATCH] Correct spelling of "alignment".
Date: Wed, 01 Jan 2020 00:00:00 -0000	[thread overview]
Message-ID: <20200305144039.32187-1-gprocida@google.com> (raw)

	* src/abg-reporter-priv.cc: s/alignement/alignment/
	* tests/data/test-abidiff/test-struct0-report.txt: Ditto..
	* tests/data/test-abidiff/test-struct1-report.txt: Ditto.
	* tests/data/test-abidiff/test-var0-report.txt: Ditto.

Signed-off-by: Giuliano Procida <gprocida@google.com>
---
 src/abg-reporter-priv.cc                        | 2 +-
 tests/data/test-abidiff/test-struct0-report.txt | 2 +-
 tests/data/test-abidiff/test-struct1-report.txt | 2 +-
 tests/data/test-abidiff/test-var0-report.txt    | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/abg-reporter-priv.cc b/src/abg-reporter-priv.cc
index 78ebd91b..29aa37cd 100644
--- a/src/abg-reporter-priv.cc
+++ b/src/abg-reporter-priv.cc
@@ -812,7 +812,7 @@ report_size_and_alignment_changes(type_or_decl_base_sptr	first,
       if (n)
 	out << "\n";
       out << indent;
-      show_numerical_change("type alignement", fa, sa, *ctxt, out,
+      show_numerical_change("type alignment", fa, sa, *ctxt, out,
 			    /*show_bits_or_bytes=*/false);
       n = true;
     }
diff --git a/tests/data/test-abidiff/test-struct0-report.txt b/tests/data/test-abidiff/test-struct0-report.txt
index 5c8d78ad..f6c4cece 100644
--- a/tests/data/test-abidiff/test-struct0-report.txt
+++ b/tests/data/test-abidiff/test-struct0-report.txt
@@ -7,7 +7,7 @@
      type of 'char s0::m1' changed:
        type name changed from 'char' to 'unsigned int'
        type size changed from 8 to 32 (in bits)
-       type alignement changed from 8 to 32
+       type alignment changed from 8 to 32
 
   's0&' changed:
     referenced type 'class s0' changed, as reported earlier
diff --git a/tests/data/test-abidiff/test-struct1-report.txt b/tests/data/test-abidiff/test-struct1-report.txt
index 7f372cd7..39b71e55 100644
--- a/tests/data/test-abidiff/test-struct1-report.txt
+++ b/tests/data/test-abidiff/test-struct1-report.txt
@@ -13,7 +13,7 @@
      type of 'int s0::m0' changed:
        type name changed from 'int' to 'char'
        type size changed from 32 to 8 (in bits)
-       type alignement changed from 32 to 8
+       type alignment changed from 32 to 8
 
      'unsigned int s0::m2' offset changed from 128 to 192 (in bits) (by +64 bits)
   'const s0' changed:
diff --git a/tests/data/test-abidiff/test-var0-report.txt b/tests/data/test-abidiff/test-var0-report.txt
index 08f28f7f..b4c9a38e 100644
--- a/tests/data/test-abidiff/test-var0-report.txt
+++ b/tests/data/test-abidiff/test-var0-report.txt
@@ -3,4 +3,4 @@
     type of variable changed:
      type name changed from 'int' to 'char'
      type size changed from 32 to 8 (in bits)
-     type alignement changed from 32 to 8
+     type alignment changed from 32 to 8
-- 
2.25.0.265.gbab2e86ba0-goog

             reply	other threads:[~2020-03-05 14:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-01  0:00 Giuliano Procida via libabigail [this message]
2020-01-01  0:00 ` Dodji Seketeli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200305144039.32187-1-gprocida@google.com \
    --to=libabigail@sourceware.org \
    --cc=dodji@seketeli.org \
    --cc=gprocida@google.com \
    --cc=kernel-team@android.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).