@@ -1231,12 +1231,12 @@ typedef enum {
1231
1231
* platform that instead uses positional notation. By doing this, you can find
1232
1232
* many bugs without trying it out on a real such platform. It would be
1233
1233
* possible to create the reverse definitions for people who have ready access
1234
- * to a posiional notation box, but harder to get a name=value box */
1234
+ * to a positional notation box, but harder to get a name=value box */
1235
1235
# if defined(USE_FAKE_LC_ALL_POSITIONAL_NOTATION) \
1236
1236
&& defined (PERL_LC_ALL_USES_NAME_VALUE_PAIRS)
1237
1237
# undef PERL_LC_ALL_USES_NAME_VALUE_PAIRS
1238
1238
1239
- # define PERL_LC_ALL_CATEGORY_POSITIONS_INIT /* Assumes glibc cateories */ \
1239
+ # define PERL_LC_ALL_CATEGORY_POSITIONS_INIT /* Assumes glibc categories */ \
1240
1240
{ 12 , 11 , 10 , 9 , 8 , 7 , 5 , 4 , 3 , 2 , 1 , 0 }
1241
1241
# define PERL_LC_ALL_SEPARATOR " / = /"
1242
1242
# endif
@@ -5424,7 +5424,7 @@ string. All you are interested in is the first character of that string. To
5424
5424
get uppercase letters (for the values 10..15), add 16 to the index. Hence,
5425
5425
C<PL_hexdigit[11]> is C<'b'>, and C<PL_hexdigit[11+16]> is C<'B'>. Adding 16
5426
5426
to an index whose representation is '0'..'9' yields the same as not adding 16.
5427
- Indices outside the range 0..31 result in (bad) undedefined behavior.
5427
+ Indices outside the range 0..31 result in (bad) undefined behavior.
5428
5428
5429
5429
=cut
5430
5430
*/
@@ -5531,7 +5531,7 @@ EXTCONST unsigned char PL_fold[] = {
5531
5531
5532
5532
EXTCONST unsigned char PL_fold_latin1[] = {
5533
5533
/* Full latin1 complement folding, except for three problematic code points:
5534
- * Micro sign (181 = 0xB5) and y with diearesis (255 = 0xFF) have their
5534
+ * Micro sign (181 = 0xB5) and y with diaeresis (255 = 0xFF) have their
5535
5535
* fold complements outside the Latin1 range, so can't match something
5536
5536
* that isn't in utf8.
5537
5537
* German lower case sharp s (223 = 0xDF) folds to two characters, 'ss',
@@ -7188,7 +7188,7 @@ typedef struct am_table_short AMTS;
7188
7188
* They require some sort of exclusive lock against similar functions, and a
7189
7189
* read lock on both the locale and environment. However, on systems which
7190
7190
* have per-thread locales, the locale is constant during the execution of
7191
- * these functions, and so no locale lock is necssary . For such systems, an
7191
+ * these functions, and so no locale lock is necessary . For such systems, an
7192
7192
* exclusive ENV lock is necessary and sufficient. On systems where the locale
7193
7193
* could change out from under us, we use an exclusive LOCALE lock to prevent
7194
7194
* that, and a read ENV lock to prevent other threads that have nothing to do
@@ -7276,7 +7276,7 @@ typedef struct am_table_short AMTS;
7276
7276
#define STRFTIME_LOCK ENVr_LOCALEr_LOCK
7277
7277
#define STRFTIME_UNLOCK ENVr_LOCALEr_UNLOCK
7278
7278
7279
- /* These time-related functions all requre that the environment and locale
7279
+ /* These time-related functions all require that the environment and locale
7280
7280
* don't change while they are executing (at least in glibc; this appears to be
7281
7281
* contrary to the POSIX standard). tzset() writes global variables, so
7282
7282
* always needs to have write locking. ctime, localtime, mktime, and strftime
@@ -7312,7 +7312,7 @@ typedef struct am_table_short AMTS;
7312
7312
#define TZSET_LOCK gwENVr_LOCALEr_LOCK
7313
7313
#define TZSET_UNLOCK gwENVr_LOCALEr_UNLOCK
7314
7314
7315
- /* Similiarly , these functions need a constant environment and/or locale. And
7315
+ /* Similarly , these functions need a constant environment and/or locale. And
7316
7316
* some have a buffer that is shared with another thread executing the same or
7317
7317
* a related call. A mutex could be created for each class, but for now, share
7318
7318
* the ENV mutex with everything, as none probably gets called so much that
@@ -9175,7 +9175,7 @@ END_EXTERN_C
9175
9175
9176
9176
#endif /* DOUBLE_HAS_NAN */
9177
9177
9178
- /* these are used to faciliate the env var PERL_RAND_SEED,
9178
+ /* these are used to facilitate the env var PERL_RAND_SEED,
9179
9179
* which allows consistent behavior from code that calls
9180
9180
* srand() with no arguments, either explicitly or implicitly.
9181
9181
*/
0 commit comments