This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix comment typos principal → principle
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Sun, 31 Jul 2016 12:47:01 +0000 (13:47 +0100)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Sun, 31 Jul 2016 12:47:01 +0000 (13:47 +0100)
The ones in cpan/File-Temp/ have been submitted upstream as
https://github.com/Perl-Toolchain-Gang/File-Temp/pull/20

handy.h
pod/perluniintro.pod
utf8.c

diff --git a/handy.h b/handy.h
index dabe0cd..7d8634b 100644 (file)
--- a/handy.h
+++ b/handy.h
@@ -1153,7 +1153,7 @@ END_EXTERN_C
 
     /* If we don't have perl.h, we are compiling a utility program.  Below we
      * hard-code various macro definitions that wouldn't otherwise be available
-     * to it. Most are coded based on first principals.  These are written to
+     * to it. Most are coded based on first principles.  These are written to
      * avoid EBCDIC vs. ASCII #ifdef's as much as possible. */
 #   define isDIGIT_A(c)  ((c) <= '9' && (c) >= '0')
 #   define isBLANK_A(c)  ((c) == ' ' || (c) == '\t')
index 7ddf77c..beccd3c 100644 (file)
@@ -112,7 +112,7 @@ unallocated, for future growth.  But there have been occasions when
 a later release needed more code points than the available extras, and a
 new block had to allocated somewhere else, not contiguous to the initial
 one, to handle the overflow.  Thus, it became apparent early on that
-"block" wasn't an adequate organizing principal, and so the C<Script>
+"block" wasn't an adequate organizing principle, and so the C<Script>
 property was created.  (Later an improved script property was added as
 well, the C<Script_Extensions> property.)  Those code points that are in
 overflow blocks can still
diff --git a/utf8.c b/utf8.c
index 56d3322..7d72c55 100644 (file)
--- a/utf8.c
+++ b/utf8.c
@@ -2888,7 +2888,7 @@ Perl__core_swash_init(pTHX_ const char* pkg, const char* name, SV *listsv, I32 m
  *
  * Non-binary properties are stored in as many bits as necessary to represent
  * their values (32 currently, though the code is more general than that), not
- * as single bits, but the principal is the same: the value for each key is a
+ * as single bits, but the principle is the same: the value for each key is a
  * vector that encompasses the property values for all code points whose UTF-8
  * representations are represented by the key.  That is, for all code points
  * whose UTF-8 representations are length N bytes, and the key is the first N-1