Skip to content

Commit f1460a6

Browse files
ferivozjkeenan
authored andcommitted
Fix typos
For: Perl#18201 Committer: Samanta Navarro is now a Perl author. To keep 'make test_porting' happy: Increment $VERSION in several files. Regenerate uconfig.h via './perl -Ilib regen/uconfig_h.pl'.
1 parent 0df722d commit f1460a6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+67
-66
lines changed

AUTHORS

+1
Original file line numberDiff line numberDiff line change
@@ -1124,6 +1124,7 @@ Salvador Ortiz Garcia <[email protected]>
11241124
Sam Kimbrel <[email protected]>
11251125
Sam Tregar <[email protected]>
11261126
Sam Vilain <[email protected]>
1127+
Samanta Navarro <[email protected]>
11271128
Samuel Smith <[email protected]>
11281129
Samuel Thibault <[email protected]>
11291130
Samuli Kärkkäinen <[email protected]>

NetWare/config_H.wc

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242

243243
/* HAS_MBLEN:
244244
* This symbol, if defined, indicates that the mblen routine is available
245-
* to find the number of bytes in a multibye character.
245+
* to find the number of bytes in a multibyte character.
246246
*/
247247
#define HAS_MBLEN /**/
248248

Porting/Glossary

+3-3
Original file line numberDiff line numberDiff line change
@@ -1610,7 +1610,7 @@ d_long_double_style_ieee_extended (d_longdbl.U):
16101610
This variable conditionally defines LONG_DOUBLE_STYLE_IEEE_EXTENDED
16111611
if the long double is the 80-bit IEEE 754 extended precision.
16121612
Note that despite the 'extended' this is less than the 'std',
1613-
since thisis an extension of the double precision.
1613+
since this is an extension of the double precision.
16141614

16151615
d_long_double_style_ieee_std (d_longdbl.U):
16161616
This variable conditionally defines LONG_DOUBLE_STYLE_IEEE_STD
@@ -1679,7 +1679,7 @@ d_malloc_usable_size (d_malloc_size.U):
16791679
d_mblen (d_mblen.U):
16801680
This variable conditionally defines the HAS_MBLEN symbol, which
16811681
indicates to the C program that the mblen() routine is available
1682-
to find the number of bytes in a multibye character.
1682+
to find the number of bytes in a multibyte character.
16831683

16841684
d_mbrlen (d_mbrlen.U):
16851685
This variable conditionally defines the HAS_MBRLEN symbol if the
@@ -1704,7 +1704,7 @@ d_mbtowc (d_mbtowc.U):
17041704
d_memmem (d_memmem.U):
17051705
This variable conditionally defines the HAS_MEMMEM symbol, which
17061706
indicates to the C program that the memmem() routine is available
1707-
to return a pointer to the start of the first occurance of a
1707+
to return a pointer to the start of the first occurrence of a
17081708
substring in a memory area (or NULL if not found).
17091709

17101710
d_memrchr (d_memrchr.U):

Porting/config_H

+2-2
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@
224224

225225
/* HAS_MBLEN:
226226
* This symbol, if defined, indicates that the mblen routine is available
227-
* to find the number of bytes in a multibye character.
227+
* to find the number of bytes in a multibyte character.
228228
*/
229229
#define HAS_MBLEN /**/
230230

@@ -2984,7 +2984,7 @@
29842984

29852985
/* HAS_MEMMEM:
29862986
* This symbol, if defined, indicates that the memmem routine is
2987-
* available to return a pointer to the start of the first occurance
2987+
* available to return a pointer to the start of the first occurrence
29882988
* of a substring in a memory area (or NULL if not found).
29892989
*/
29902990
#define HAS_MEMMEM /**/

README.irix

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Some Irix cc versions, e.g. 7.3.1.1m (try cc -version) have been known
5757
to have issues (coredumps) when compiling perl.c. If you've used
5858
-OPT:fast_io=ON and this happens, try removing it. If that fails, or
5959
you didn't use that, then try adjusting other optimization options
60-
(-LNO, -INLINE, -O3 to -O2, etcetera). The compiler bug has been
60+
(-LNO, -INLINE, -O3 to -O2, et cetera). The compiler bug has been
6161
reported to SGI. (Allen Smith <[email protected]>)
6262

6363
=head2 Linker Problems in Irix

README.qnx

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ we will pass to Configure through -Dsysroot.
173173
=head3 Preparing the target system
174174

175175
It's quite possible that the target system doesn't have a readily
176-
available /tmp, so it's generall safer to do something like this:
176+
available /tmp, so it's generally safer to do something like this:
177177

178178
$ ssh $TARGETUSER@$TARGETHOST 'rm -rf perl; mkdir perl; mkdir perl/tmp'
179179
$ export TARGETDIR=`ssh $TARGETUSER@$TARGETHOST pwd`/perl

README.win32

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,15 @@ build usually works in this circumstance, but some tests will fail.
127127

128128
The nmake that comes with Visual C++ will suffice for building. Visual C++
129129
requires that certain things be set up in the console before Visual C++ will
130-
sucessfully run. To make a console box be able to run the C compiler, you will
130+
successfully run. To make a console box be able to run the C compiler, you will
131131
need to beforehand, run C<vcvarsall.bat x86> to compile for x86-32 and for
132132
x86-64 C<vcvarsall.bat amd64>. On a typical install of a Microsoft C++
133133
compiler product, these batch files will already be in your C<PATH>
134134
environment variable so you may just type them without an absolute path into
135135
your console. If you need to find the absolute path to the batch file, it is
136136
usually found somewhere like
137137
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC.
138-
With some newer Micrsoft C products (released after ~2004), the installer will
138+
With some newer Microsoft C products (released after ~2004), the installer will
139139
put a shortcut in the start menu to launch a new console window with the
140140
console already set up for your target architecture (x86-32 or x86-64 or IA64).
141141
With the newer compilers, you may also use the older batch files if you choose

config_h.SH

+2-2
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
255255
256256
/* HAS_MBLEN:
257257
* This symbol, if defined, indicates that the mblen routine is available
258-
* to find the number of bytes in a multibye character.
258+
* to find the number of bytes in a multibyte character.
259259
*/
260260
#$d_mblen HAS_MBLEN /**/
261261
@@ -3021,7 +3021,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
30213021
30223022
/* HAS_MEMMEM:
30233023
* This symbol, if defined, indicates that the memmem routine is
3024-
* available to return a pointer to the start of the first occurance
3024+
* available to return a pointer to the start of the first occurrence
30253025
* of a substring in a memory area (or NULL if not found).
30263026
* In glibc, memmem is a GNU extension. The function is visible in
30273027
* libc, but the prototype is only visible if _GNU_SOURCE is #defined.

dist/ExtUtils-ParseXS/lib/perlxs.pod

+1-1
Original file line numberDiff line numberDiff line change
@@ -2273,7 +2273,7 @@ per-thread locales. Perl makes this transparent to perl-space code. It
22732273
continues to use C<POSIX::setlocale()>, and the interpreter translates
22742274
that into the per-thread functions.
22752275

2276-
All other locale-senstive functions automatically use the per-thread
2276+
All other locale-sensitive functions automatically use the per-thread
22772277
locale, if that is turned on, and failing that, the global locale. Thus
22782278
calls to C<setlocale> are ineffective on POSIX systems for the current
22792279
thread if that thread is using a per-thread locale. If perl is compiled

dist/I18N-LangTags/lib/I18N/LangTags.pm

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ our @EXPORT_OK = qw(is_language_tag same_language_tag
1818
);
1919
our %EXPORT_TAGS = ('ALL' => \@EXPORT_OK);
2020

21-
our $VERSION = "0.44";
21+
our $VERSION = "0.45";
2222
our %Panic;
2323

2424
sub uniq { my %seen; return grep(!($seen{$_}++), @_); } # a util function
@@ -677,7 +677,7 @@ sub alternate_language_tags {
677677
# And the panic languages for English is, of course, nil!
678678

679679
# My guesses at Slavic intelligibility:
680-
([qw(ru be uk)]) x 2, # Russian, Belarusian, Ukranian
680+
([qw(ru be uk)]) x 2, # Russian, Belarusian, Ukrainian
681681
([qw(sr hr bs)]) x 2, # Serbian, Croatian, Bosnian
682682
'cs' => 'sk', 'sk' => 'cs', # Czech + Slovak
683683

dist/Locale-Maketext/lib/Locale/Maketext/TPJ13.pod

+3-3
Original file line numberDiff line numberDiff line change
@@ -460,13 +460,13 @@ numbers from the beginning of this article; obviously, you'd want to
460460
write only once the hairy code that, given a numeric value, would
461461
return some specification of which case and number a given quantified
462462
noun should use. But suppose that you discover, while localizing an
463-
interface for, say, Ukranian (a Slavic language related to Russian,
463+
interface for, say, Ukrainian (a Slavic language related to Russian,
464464
spoken by several million people, many of whom would be relieved to
465465
find that your Web site's or software's interface is available in
466-
their language), that the rules in Ukranian are the same as in Russian
466+
their language), that the rules in Ukrainian are the same as in Russian
467467
for quantification, and probably for many other grammatical functions.
468468
While there may well be no phrases in common between Russian and
469-
Ukranian, you could still choose to have the Ukranian module inherit
469+
Ukrainian, you could still choose to have the Ukrainian module inherit
470470
from the Russian module, just for the sake of inheriting all the
471471
various grammatical methods. Or, probably better organizationally,
472472
you could move those functions to a module called C<_E_Slavic> or

dist/Storable/Storable.pm

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ our @EXPORT_OK = qw(
2828
our ($canonical, $forgive_me);
2929

3030
BEGIN {
31-
our $VERSION = '3.22';
31+
our $VERSION = '3.23';
3232
}
3333

3434
our $recursion_limit;
@@ -1423,7 +1423,7 @@ Murray Nesbitt made Storable thread-safe. Marc Lehmann added overloading
14231423
and references to tied items support. Benjamin Holzman added a performance
14241424
improvement for overloaded classes; thanks to Grant Street Group for footing
14251425
the bill.
1426-
Reini Urban took over maintainance from p5p, and added security fixes
1426+
Reini Urban took over maintenance from p5p, and added security fixes
14271427
and huge object support.
14281428
14291429
=head1 AUTHOR

dist/base/t/fields-5_6_0.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ ok( fstr($ph) eq 'a:1,b:2,c:3' );
182182
$ph = fields::phash([qw/a b c/], [1, 2, 3]);
183183
ok( fstr($ph) eq 'a:1,b:2,c:3' );
184184

185-
# The way exists() works with psuedohashes changed from 5.005 to 5.6
185+
# The way exists() works with pseudohashes changed from 5.005 to 5.6
186186
$ph = fields::phash([qw/a b c/], [1]);
187187
if( $] > 5.006 ) {
188188
ok( !( exists $ph->{b} or exists $ph->{c} or !exists $ph->{a} ) );

ext/Amiga-ARexx/ARexx.pm

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
2626
our @EXPORT = qw(
2727
);
2828

29-
our $VERSION = '0.04';
29+
our $VERSION = '0.05';
3030

3131
require XSLoader;
3232
XSLoader::load('Amiga::ARexx', $VERSION);
@@ -309,7 +309,7 @@ Send the "commandstring" to host "desthost" for execution. Commandstring might b
309309
310310
$m = $msg->message();
311311
312-
Retreive the message "command" as a string;
312+
Retrieve the message "command" as a string;
313313
314314
315315
=head2 reply

ext/Devel-Peek/Peek.pm

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
package Devel::Peek;
55

6-
$VERSION = '1.29';
6+
$VERSION = '1.30';
77
$XS_VERSION = $VERSION;
88
$VERSION = eval $VERSION;
99

@@ -119,7 +119,7 @@ All output is to STDERR.
119119
120120
The C<Dump()> function takes one or two arguments: something to dump, and
121121
an optional limit for recursion and array elements (default is 4). The
122-
first argument is evaluted in rvalue scalar context, with exceptions for
122+
first argument is evaluated in rvalue scalar context, with exceptions for
123123
@array and %hash, which dump the array or hash itself. So C<Dump @array>
124124
works, as does C<Dump $foo>. And C<Dump pos> will call C<pos> in rvalue
125125
context, whereas C<Dump ${\pos}> will call it in lvalue context.

ext/XS-APItest/t/clone-with-stack.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use XS::APItest;
1010
# clone_with_stack creates a clone of the perl interpreter including
1111
# the stack, then destroys the original interpreter and runs the
1212
# remaining code using the new one.
13-
# This is like doing a psuedo-fork and exiting the parent.
13+
# This is like doing a pseudo-fork and exiting the parent.
1414

1515
use Config;
1616
if (not $Config{'useithreads'}) {

handy.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ the variants.
834834
835835
=cut
836836
837-
Here and below, we add the protoypes of these macros for downstream programs
837+
Here and below, we add the prototypes of these macros for downstream programs
838838
that would be interested in them, such as Devel::PPPort
839839
840840
=for apidoc Am|bool|isALPHANUMERIC|UV ch
@@ -2408,7 +2408,7 @@ typedef U32 line_t;
24082408
#define OCTAL_VALUE(c) (__ASSERT_(isOCTAL(c)) (7 & (c)))
24092409

24102410
/* Efficiently returns a boolean as to if two native characters are equivalent
2411-
* case-insenstively. At least one of the characters must be one of [A-Za-z];
2411+
* case-insensitively. At least one of the characters must be one of [A-Za-z];
24122412
* the ALPHA in the name is to remind you of that. This is asserted() in
24132413
* DEBUGGING builds. Because [A-Za-z] are invariant under UTF-8, this macro
24142414
* works (on valid input) for both non- and UTF-8-encoded bytes.

hints/aix.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ fi
566566
# * Does not fully support the IEEE special numbers NaN and INF.
567567
# * Does not support IEEE status flags for overflow, underflow,
568568
# and other conditions. These flags have no meaning for the 128-bit
569-
# long double inplementation.
569+
# long double implementation.
570570
# * The 128-bit long double data type does not support the following math
571571
# APIs: atanhl, cbrtl, copysignl, exp2l, expm1l, fdiml, fmal, fmaxl,
572572
# fminl, hypotl, ilogbl, llrintl, llroundl, log1pl, log2l, logbl,

locale.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2528,7 +2528,7 @@ the other advantages of C<Perl_langinfo()>; not keeping C<LC_NUMERIC> in the C
25282528
=item *
25292529
25302530
The system function it replaces can have its static return buffer trashed,
2531-
not only by a subesequent call to that function, but by a C<freelocale>,
2531+
not only by a subsequent call to that function, but by a C<freelocale>,
25322532
C<setlocale>, or other locale change. The returned buffer of this function is
25332533
not changed until the next call to it, so the buffer is never in a trashed
25342534
state.

metaconfig.SH

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# H.Merijn Brand [17 Feb 2004]
1616
# This comment is just to ensure that Configure will find variables that
1717
# are removed/replaced in patches on blead, but are still needed in the
18-
# 5.8.x, 5.6.x and 5.005.x maintainance tracks.
18+
# 5.8.x, 5.6.x and 5.005.x maintenance tracks.
1919
# metaconfig -m will scan all .SH files on this level (not deeper), and
2020
# not in other subfolders. This file is as good as any .SH
2121
# patch references

op.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ Return a member of the XOP structure. C<which> is a cpp token
859859
indicating which entry to return. If the member is not set
860860
this will return a default value. The return type depends
861861
on C<which>. This macro evaluates its arguments more than
862-
once. If you are using C<Perl_custom_op_xop> to retreive a
862+
once. If you are using C<Perl_custom_op_xop> to retrieve a
863863
C<XOP *> from a C<OP *>, use the more efficient L</XopENTRYCUSTOM> instead.
864864
865865
=for apidoc Am||XopENTRYCUSTOM|const OP *o|which

os2/OS2/OS2-Process/Makefile.PL

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ sub create_constants {
3535
'-M^(HWND|WM|SC|SWP|WC|PROG|QW|EDI|WS|QWS|QWP|QWL|FF|FI|LS|FS|FCF|BS|MS|TBM|CF|CFI|FID|MB|MBID|CF|CFI|SPTR)_',
3636
'-F', '-DINCL_NLS -DINCL_BASE -DINCL_PM', # Define more symbols
3737
'os2emx.h' # EMX version of OS/2 API
38-
and warn("Can't build module with contants, falling back to no constants"),
38+
and warn("Can't build module with constants, falling back to no constants"),
3939
return;
4040
rename 'OS2/Process/Const', 'Process_constants'
4141
or warn("Error renaming module, falling back to no constants: $!"),

pad.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ associated with the C<PARENT_FAKELEX_FLAGS> field of a fake pad name.
10701070
Note that C<pad_findlex()> is recursive; it recurses up the chain of CVs,
10711071
then comes back down, adding fake entries
10721072
as it goes. It has to be this way
1073-
because fake names in anon protoypes have to store in C<xpadn_low> the
1073+
because fake names in anon prototypes have to store in C<xpadn_low> the
10741074
index into the parent pad.
10751075
10761076
=cut

plan9/config.plan9

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@
299299

300300
/* HAS_MBLEN:
301301
* This symbol, if defined, indicates that the mblen routine is available
302-
* to find the number of bytes in a multibye character.
302+
* to find the number of bytes in a multibyte character.
303303
*/
304304
#define HAS_MBLEN /**/
305305

plan9/config_h.sample

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@
224224

225225
/* HAS_MBLEN:
226226
* This symbol, if defined, indicates that the mblen routine is available
227-
* to find the number of bytes in a multibye character.
227+
* to find the number of bytes in a multibyte character.
228228
*/
229229
#define HAS_MBLEN /**/
230230

pod/perl5100delta.pod

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ Cwd::cwd() may return a short directory name, and glob() may return short
290290
names as well. On the NTFS file system these short names can always be
291291
represented in the ANSI codepage. This will not be true for all other file
292292
system drivers; e.g. the FAT filesystem stores short filenames in the OEM
293-
codepage, so some files on FAT volumes remain unaccessible through the
293+
codepage, so some files on FAT volumes remain inaccessible through the
294294
ANSI APIs.
295295

296296
Similarly, $^X, @INC, and $ENV{PATH} are preprocessed at startup to make

pod/perl5180delta.pod

+1-1
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ Perl's future on them, please contact us.
792792

793793
We believe that Perl has long been unable to build on mixed endian
794794
architectures (such as PDP-11s), and intend to remove any remaining
795-
support code. Similarly, code supporting the long umaintained GNU
795+
support code. Similarly, code supporting the long unmaintained GNU
796796
dld will be removed soon if no-one makes themselves known as an
797797
active user.
798798

pod/perl5200delta.pod

+3-3
Original file line numberDiff line numberDiff line change
@@ -2497,7 +2497,7 @@ a NULL C<sv> being passed to sv_2*v* functions, is if XS code defines its own
24972497
getter type Sv*V* macros, which check for NULL B<before> dereferencing and
24982498
checking the SV's flags through public API Sv*OK* macros or directly using
24992499
private API C<SvFLAGS>, and if C<sv> is NULL, then calling the sv_2*v functions
2500-
with a NULL litteral or passing the C<sv> containing a NULL value.
2500+
with a NULL literal or passing the C<sv> containing a NULL value.
25012501

25022502
=item *
25032503

@@ -2914,7 +2914,7 @@ to, even when the subroutine was not an lvalue sub. This has been fixed.
29142914
In Perl v5.18.0 dualvars that had an empty string for the string part but a
29152915
non-zero number for the number part starting being treated as true. In
29162916
previous versions they were treated as false, the string representation
2917-
taking precedeence. The old behaviour has been restored. [RT #118159]
2917+
taking precedence. The old behaviour has been restored. [RT #118159]
29182918

29192919
=item *
29202920

@@ -3544,7 +3544,7 @@ An initial C<{> at the beginning of a format argument line was always
35443544
interpreted as the beginning of a block prior to v5.18. In Perl v5.18, it
35453545
started being treated as an ambiguous token. The parser would guess
35463546
whether it was supposed to be an anonymous hash constructor or a block
3547-
based on the contents. Now the previous behavious has been restored.
3547+
based on the contents. Now the previous behaviour has been restored.
35483548
[perl #119973]
35493549

35503550
=item *

pod/perl5220delta.pod

+2-2
Original file line numberDiff line numberDiff line change
@@ -683,8 +683,8 @@ C<qr//blahblah> op.
683683
C<B::PMOP> now provides a C<pmregexp> method returning a C<B::REGEXP> object.
684684
Two new classes, C<B::PADNAME> and C<B::PADNAMELIST>, have been introduced.
685685

686-
A bug where, after an ithread creation or psuedofork, special/immortal SVs in
687-
the child ithread/psuedoprocess did not have the correct class of
686+
A bug where, after an ithread creation or pseudofork, special/immortal SVs in
687+
the child ithread/pseudoprocess did not have the correct class of
688688
C<B::SPECIAL>, has been fixed.
689689
The C<id> and C<outid> PADLIST methods have been added.
690690

pod/perldata.pod

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ rules apply:
126126
That is, a "start" character followed by any number of "continue"
127127
characters. Perl requires every character in an identifier to also
128128
match C<\w> (this prevents some problematic cases); and Perl
129-
additionally accepts identfier names beginning with an underscore.
129+
additionally accepts identifier names beginning with an underscore.
130130

131131
If not under C<use utf8>, the source is treated as ASCII + 128 extra
132132
generic characters, and identifiers should match

pod/perldiag.pod

+1-1
Original file line numberDiff line numberDiff line change
@@ -3409,7 +3409,7 @@ The other common cause is for the characters
34093409

34103410
$ + < = > ^ ` | ~
34113411

3412-
These are probematic. The C standard says that these should be
3412+
These are problematic. The C standard says that these should be
34133413
considered punctuation in the C locale (and the POSIX standard defers to
34143414
the C standard), and Unicode is generally considered a superset of
34153415
the C locale. But Unicode has added an extra category, "Symbol", and

0 commit comments

Comments
 (0)