bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Prefer American spelling for "initialize"


From: Paul Eggert
Subject: [PATCH] Prefer American spelling for "initialize"
Date: Sun, 3 Apr 2016 14:02:43 -0700

---
 ChangeLog        | 2 +-
 lib/clean-temp.c | 2 +-
 lib/regex.h      | 2 +-
 lib/tmpfile.c    | 2 +-
 m4/std-gnu11.m4  | 8 ++++----
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ef7629f..8e87922 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2345,7 +2345,7 @@
 
        passfd: avoid valgrind uninitalised data warning
        * lib/passfd.c (sendfd): Reset the msg_controllen of msghdr,
-       to include just the fd we've initialised, rather than including
+       to include just the fd we've initialized, rather than including
        the extra space used for alignment.
 
 2015-02-23  Paul Eggert  <address@hidden>
diff --git a/lib/clean-temp.c b/lib/clean-temp.c
index 9a7d9a7..45fe15b 100644
--- a/lib/clean-temp.c
+++ b/lib/clean-temp.c
@@ -581,7 +581,7 @@ supports_delete_on_close ()
 
       /* According to
          
<http://msdn.microsoft.com/en-us/library/windows/desktop/ms724451(v=vs.85).aspx>
-         this structure must be initialised as follows:  */
+         this structure must be initialized as follows:  */
       v.dwOSVersionInfoSize = sizeof (OSVERSIONINFO);
 
       if (GetVersionEx (&v))
diff --git a/lib/regex.h b/lib/regex.h
index 6b969e3..3ba64ac 100644
--- a/lib/regex.h
+++ b/lib/regex.h
@@ -533,7 +533,7 @@ extern reg_syntax_t re_set_syntax (reg_syntax_t __syntax);
    BUFFER.  Return NULL if successful, and an error string if not.
 
    To free the allocated storage, you must call 'regfree' on BUFFER.
-   Note that the translate table must either have been initialised by
+   Note that the translate table must either have been initialized by
    'regcomp', with a malloc'ed value, or set to NULL before calling
    'regfree'.  */
 extern const char *re_compile_pattern (const char *__pattern, size_t __length,
diff --git a/lib/tmpfile.c b/lib/tmpfile.c
index e8565f1..9c14e2a 100644
--- a/lib/tmpfile.c
+++ b/lib/tmpfile.c
@@ -56,7 +56,7 @@ supports_delete_on_close ()
 
       /* According to
          
<http://msdn.microsoft.com/en-us/library/windows/desktop/ms724451(v=vs.85).aspx>
-         this structure must be initialised as follows:  */
+         this structure must be initialized as follows:  */
       v.dwOSVersionInfoSize = sizeof (OSVERSIONINFO);
 
       if (GetVersionEx (&v))
diff --git a/m4/std-gnu11.m4 b/m4/std-gnu11.m4
index e8d3ebc..10da26f 100644
--- a/m4/std-gnu11.m4
+++ b/m4/std-gnu11.m4
@@ -1,8 +1,8 @@
 # Prefer GNU C11 and C++11 to earlier versions.  -*- coding: utf-8 -*-
 
 # This implementation is taken from GNU Autoconf lib/autoconf/c.m4
-# commit 739cdc82b5325402231f3f5e1a38f681fcbd1db2
-# dated Tue Mar 15 09:34:11 2016 -0700.
+# commit 017d5ddd82854911f0119691d91ea8a1438824d6
+# dated Sun Apr 3 13:57:17 2016 -0700
 # This implementation will be obsolete once we can assume Autoconf 2.70
 # or later is installed everywhere a Gnulib program might be developed.
 
@@ -707,7 +707,7 @@ AC_DEFUN([_AC_CXX_CXX11_TEST_BODY],
   short sa[cxx11test::get_val()] = { 0 };
 }
 {
-  // Test initialiser lists
+  // Test initializer lists
   cxx11test::testinit il = { 4323, 435234.23544 };
 }
 {
@@ -801,7 +801,7 @@ dnl with extended modes being tried first.
 # considers the compiler to be in ISO C++11 mode if it handles all the
 # tests from the C++98 checks, plus the following: Language features
 # (auto, constexpr, decltype, default/deleted constructors, delegate
-# constructors, final, initialiser lists, lambda functions, nullptr,
+# constructors, final, initializer lists, lambda functions, nullptr,
 # override, range-based for loops, template brackets without spaces,
 # unicode literals) and library features (array, memory (shared_ptr,
 # weak_ptr), regex and tuple types).
-- 
2.5.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]