From f1460a6600d0790c237adf97bee973eae35630bf Mon Sep 17 00:00:00 2001 From: Samanta Navarro Date: Sat, 3 Oct 2020 12:39:08 +0000 Subject: [PATCH] Fix typos For: https://github.com/Perl/perl5/pull/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'. --- AUTHORS | 1 + NetWare/config_H.wc | 2 +- Porting/Glossary | 6 +++--- Porting/config_H | 4 ++-- README.irix | 2 +- README.qnx | 2 +- README.win32 | 4 ++-- config_h.SH | 4 ++-- dist/ExtUtils-ParseXS/lib/perlxs.pod | 2 +- dist/I18N-LangTags/lib/I18N/LangTags.pm | 4 ++-- dist/Locale-Maketext/lib/Locale/Maketext/TPJ13.pod | 6 +++--- dist/Storable/Storable.pm | 4 ++-- dist/base/t/fields-5_6_0.t | 2 +- ext/Amiga-ARexx/ARexx.pm | 4 ++-- ext/Devel-Peek/Peek.pm | 4 ++-- ext/XS-APItest/t/clone-with-stack.t | 2 +- handy.h | 4 ++-- hints/aix.sh | 2 +- locale.c | 2 +- metaconfig.SH | 2 +- op.h | 2 +- os2/OS2/OS2-Process/Makefile.PL | 2 +- pad.c | 2 +- plan9/config.plan9 | 2 +- plan9/config_h.sample | 2 +- pod/perl5100delta.pod | 2 +- pod/perl5180delta.pod | 2 +- pod/perl5200delta.pod | 6 +++--- pod/perl5220delta.pod | 4 ++-- pod/perldata.pod | 2 +- pod/perldiag.pod | 2 +- pod/perlfunc.pod | 2 +- pod/perllocale.pod | 2 +- pod/perlmodstyle.pod | 4 ++-- pod/perlpacktut.pod | 2 +- pod/perlsec.pod | 2 +- pod/perluniintro.pod | 2 +- regen/reentr.pl | 2 +- t/op/tr_latin1.t | 2 +- t/re/reg_eval_scope.t | 2 +- t/win32/popen.t | 2 +- uconfig.h | 6 +++--- utf8.c | 2 +- util.c | 2 +- win32/config_H.gc | 4 ++-- win32/config_H.vc | 4 ++-- zaphod32_hash.h | 2 +- 47 files changed, 67 insertions(+), 66 deletions(-) diff --git a/AUTHORS b/AUTHORS index 9014eb6c5d39..4ed0aee2c2f4 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1124,6 +1124,7 @@ Salvador Ortiz Garcia Sam Kimbrel Sam Tregar Sam Vilain +Samanta Navarro Samuel Smith Samuel Thibault Samuli Kärkkäinen diff --git a/NetWare/config_H.wc b/NetWare/config_H.wc index cd53f165f36e..51784ef0211f 100644 --- a/NetWare/config_H.wc +++ b/NetWare/config_H.wc @@ -242,7 +242,7 @@ /* HAS_MBLEN: * This symbol, if defined, indicates that the mblen routine is available - * to find the number of bytes in a multibye character. + * to find the number of bytes in a multibyte character. */ #define HAS_MBLEN /**/ diff --git a/Porting/Glossary b/Porting/Glossary index ce3a86b0c83e..0f7523a7625c 100644 --- a/Porting/Glossary +++ b/Porting/Glossary @@ -1610,7 +1610,7 @@ d_long_double_style_ieee_extended (d_longdbl.U): This variable conditionally defines LONG_DOUBLE_STYLE_IEEE_EXTENDED if the long double is the 80-bit IEEE 754 extended precision. Note that despite the 'extended' this is less than the 'std', - since thisis an extension of the double precision. + since this is an extension of the double precision. d_long_double_style_ieee_std (d_longdbl.U): This variable conditionally defines LONG_DOUBLE_STYLE_IEEE_STD @@ -1679,7 +1679,7 @@ d_malloc_usable_size (d_malloc_size.U): d_mblen (d_mblen.U): This variable conditionally defines the HAS_MBLEN symbol, which indicates to the C program that the mblen() routine is available - to find the number of bytes in a multibye character. + to find the number of bytes in a multibyte character. d_mbrlen (d_mbrlen.U): This variable conditionally defines the HAS_MBRLEN symbol if the @@ -1704,7 +1704,7 @@ d_mbtowc (d_mbtowc.U): d_memmem (d_memmem.U): This variable conditionally defines the HAS_MEMMEM symbol, which indicates to the C program that the memmem() routine is available - to return a pointer to the start of the first occurance of a + to return a pointer to the start of the first occurrence of a substring in a memory area (or NULL if not found). d_memrchr (d_memrchr.U): diff --git a/Porting/config_H b/Porting/config_H index 6b59f5b3af2a..9fea835569a5 100644 --- a/Porting/config_H +++ b/Porting/config_H @@ -224,7 +224,7 @@ /* HAS_MBLEN: * This symbol, if defined, indicates that the mblen routine is available - * to find the number of bytes in a multibye character. + * to find the number of bytes in a multibyte character. */ #define HAS_MBLEN /**/ @@ -2984,7 +2984,7 @@ /* HAS_MEMMEM: * This symbol, if defined, indicates that the memmem routine is - * available to return a pointer to the start of the first occurance + * available to return a pointer to the start of the first occurrence * of a substring in a memory area (or NULL if not found). */ #define HAS_MEMMEM /**/ diff --git a/README.irix b/README.irix index 2968a6072b8f..368235d6fe3b 100644 --- a/README.irix +++ b/README.irix @@ -57,7 +57,7 @@ Some Irix cc versions, e.g. 7.3.1.1m (try cc -version) have been known to have issues (coredumps) when compiling perl.c. If you've used -OPT:fast_io=ON and this happens, try removing it. If that fails, or you didn't use that, then try adjusting other optimization options -(-LNO, -INLINE, -O3 to -O2, etcetera). The compiler bug has been +(-LNO, -INLINE, -O3 to -O2, et cetera). The compiler bug has been reported to SGI. (Allen Smith ) =head2 Linker Problems in Irix diff --git a/README.qnx b/README.qnx index c16072eecb58..f677c203c6ec 100644 --- a/README.qnx +++ b/README.qnx @@ -173,7 +173,7 @@ we will pass to Configure through -Dsysroot. =head3 Preparing the target system It's quite possible that the target system doesn't have a readily -available /tmp, so it's generall safer to do something like this: +available /tmp, so it's generally safer to do something like this: $ ssh $TARGETUSER@$TARGETHOST 'rm -rf perl; mkdir perl; mkdir perl/tmp' $ export TARGETDIR=`ssh $TARGETUSER@$TARGETHOST pwd`/perl diff --git a/README.win32 b/README.win32 index 128d517d6cbf..73d74bdee8ab 100644 --- a/README.win32 +++ b/README.win32 @@ -127,7 +127,7 @@ build usually works in this circumstance, but some tests will fail. The nmake that comes with Visual C++ will suffice for building. Visual C++ requires that certain things be set up in the console before Visual C++ will -sucessfully run. To make a console box be able to run the C compiler, you will +successfully run. To make a console box be able to run the C compiler, you will need to beforehand, run C to compile for x86-32 and for x86-64 C. On a typical install of a Microsoft C++ compiler product, these batch files will already be in your C @@ -135,7 +135,7 @@ environment variable so you may just type them without an absolute path into your console. If you need to find the absolute path to the batch file, it is usually found somewhere like C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC. -With some newer Micrsoft C products (released after ~2004), the installer will +With some newer Microsoft C products (released after ~2004), the installer will put a shortcut in the start menu to launch a new console window with the console already set up for your target architecture (x86-32 or x86-64 or IA64). With the newer compilers, you may also use the older batch files if you choose diff --git a/config_h.SH b/config_h.SH index c8313ecce987..fb3fba2cf5a3 100755 --- a/config_h.SH +++ b/config_h.SH @@ -255,7 +255,7 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un /* HAS_MBLEN: * This symbol, if defined, indicates that the mblen routine is available - * to find the number of bytes in a multibye character. + * to find the number of bytes in a multibyte character. */ #$d_mblen HAS_MBLEN /**/ @@ -3021,7 +3021,7 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un /* HAS_MEMMEM: * This symbol, if defined, indicates that the memmem routine is - * available to return a pointer to the start of the first occurance + * available to return a pointer to the start of the first occurrence * of a substring in a memory area (or NULL if not found). * In glibc, memmem is a GNU extension. The function is visible in * libc, but the prototype is only visible if _GNU_SOURCE is #defined. diff --git a/dist/ExtUtils-ParseXS/lib/perlxs.pod b/dist/ExtUtils-ParseXS/lib/perlxs.pod index 4cc0d6824cd7..6a48d7e23ad6 100644 --- a/dist/ExtUtils-ParseXS/lib/perlxs.pod +++ b/dist/ExtUtils-ParseXS/lib/perlxs.pod @@ -2273,7 +2273,7 @@ per-thread locales. Perl makes this transparent to perl-space code. It continues to use C, and the interpreter translates that into the per-thread functions. -All other locale-senstive functions automatically use the per-thread +All other locale-sensitive functions automatically use the per-thread locale, if that is turned on, and failing that, the global locale. Thus calls to C are ineffective on POSIX systems for the current thread if that thread is using a per-thread locale. If perl is compiled diff --git a/dist/I18N-LangTags/lib/I18N/LangTags.pm b/dist/I18N-LangTags/lib/I18N/LangTags.pm index 35751bce03a4..14741b6621f7 100644 --- a/dist/I18N-LangTags/lib/I18N/LangTags.pm +++ b/dist/I18N-LangTags/lib/I18N/LangTags.pm @@ -18,7 +18,7 @@ our @EXPORT_OK = qw(is_language_tag same_language_tag ); our %EXPORT_TAGS = ('ALL' => \@EXPORT_OK); -our $VERSION = "0.44"; +our $VERSION = "0.45"; our %Panic; sub uniq { my %seen; return grep(!($seen{$_}++), @_); } # a util function @@ -677,7 +677,7 @@ sub alternate_language_tags { # And the panic languages for English is, of course, nil! # My guesses at Slavic intelligibility: - ([qw(ru be uk)]) x 2, # Russian, Belarusian, Ukranian + ([qw(ru be uk)]) x 2, # Russian, Belarusian, Ukrainian ([qw(sr hr bs)]) x 2, # Serbian, Croatian, Bosnian 'cs' => 'sk', 'sk' => 'cs', # Czech + Slovak diff --git a/dist/Locale-Maketext/lib/Locale/Maketext/TPJ13.pod b/dist/Locale-Maketext/lib/Locale/Maketext/TPJ13.pod index 761af6c18aea..9ba7a32e04fc 100644 --- a/dist/Locale-Maketext/lib/Locale/Maketext/TPJ13.pod +++ b/dist/Locale-Maketext/lib/Locale/Maketext/TPJ13.pod @@ -460,13 +460,13 @@ numbers from the beginning of this article; obviously, you'd want to write only once the hairy code that, given a numeric value, would return some specification of which case and number a given quantified noun should use. But suppose that you discover, while localizing an -interface for, say, Ukranian (a Slavic language related to Russian, +interface for, say, Ukrainian (a Slavic language related to Russian, spoken by several million people, many of whom would be relieved to find that your Web site's or software's interface is available in -their language), that the rules in Ukranian are the same as in Russian +their language), that the rules in Ukrainian are the same as in Russian for quantification, and probably for many other grammatical functions. While there may well be no phrases in common between Russian and -Ukranian, you could still choose to have the Ukranian module inherit +Ukrainian, you could still choose to have the Ukrainian module inherit from the Russian module, just for the sake of inheriting all the various grammatical methods. Or, probably better organizationally, you could move those functions to a module called C<_E_Slavic> or diff --git a/dist/Storable/Storable.pm b/dist/Storable/Storable.pm index 661b5860f013..27c9cf54c345 100644 --- a/dist/Storable/Storable.pm +++ b/dist/Storable/Storable.pm @@ -28,7 +28,7 @@ our @EXPORT_OK = qw( our ($canonical, $forgive_me); BEGIN { - our $VERSION = '3.22'; + our $VERSION = '3.23'; } our $recursion_limit; @@ -1423,7 +1423,7 @@ Murray Nesbitt made Storable thread-safe. Marc Lehmann added overloading and references to tied items support. Benjamin Holzman added a performance improvement for overloaded classes; thanks to Grant Street Group for footing the bill. -Reini Urban took over maintainance from p5p, and added security fixes +Reini Urban took over maintenance from p5p, and added security fixes and huge object support. =head1 AUTHOR diff --git a/dist/base/t/fields-5_6_0.t b/dist/base/t/fields-5_6_0.t index 1f7d96785178..5f6be5297641 100644 --- a/dist/base/t/fields-5_6_0.t +++ b/dist/base/t/fields-5_6_0.t @@ -182,7 +182,7 @@ ok( fstr($ph) eq 'a:1,b:2,c:3' ); $ph = fields::phash([qw/a b c/], [1, 2, 3]); ok( fstr($ph) eq 'a:1,b:2,c:3' ); -# The way exists() works with psuedohashes changed from 5.005 to 5.6 +# The way exists() works with pseudohashes changed from 5.005 to 5.6 $ph = fields::phash([qw/a b c/], [1]); if( $] > 5.006 ) { ok( !( exists $ph->{b} or exists $ph->{c} or !exists $ph->{a} ) ); diff --git a/ext/Amiga-ARexx/ARexx.pm b/ext/Amiga-ARexx/ARexx.pm index 44057680f307..85e8f39b98d5 100644 --- a/ext/Amiga-ARexx/ARexx.pm +++ b/ext/Amiga-ARexx/ARexx.pm @@ -26,7 +26,7 @@ our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); our @EXPORT = qw( ); -our $VERSION = '0.04'; +our $VERSION = '0.05'; require XSLoader; XSLoader::load('Amiga::ARexx', $VERSION); @@ -309,7 +309,7 @@ Send the "commandstring" to host "desthost" for execution. Commandstring might b $m = $msg->message(); -Retreive the message "command" as a string; +Retrieve the message "command" as a string; =head2 reply diff --git a/ext/Devel-Peek/Peek.pm b/ext/Devel-Peek/Peek.pm index b5743d2a4353..1879bf9d6edd 100644 --- a/ext/Devel-Peek/Peek.pm +++ b/ext/Devel-Peek/Peek.pm @@ -3,7 +3,7 @@ package Devel::Peek; -$VERSION = '1.29'; +$VERSION = '1.30'; $XS_VERSION = $VERSION; $VERSION = eval $VERSION; @@ -119,7 +119,7 @@ All output is to STDERR. The C function takes one or two arguments: something to dump, and an optional limit for recursion and array elements (default is 4). The -first argument is evaluted in rvalue scalar context, with exceptions for +first argument is evaluated in rvalue scalar context, with exceptions for @array and %hash, which dump the array or hash itself. So C works, as does C. And C will call C in rvalue context, whereas C will call it in lvalue context. diff --git a/ext/XS-APItest/t/clone-with-stack.t b/ext/XS-APItest/t/clone-with-stack.t index 10fa036dc73b..2f95d2dd55d9 100644 --- a/ext/XS-APItest/t/clone-with-stack.t +++ b/ext/XS-APItest/t/clone-with-stack.t @@ -10,7 +10,7 @@ use XS::APItest; # clone_with_stack creates a clone of the perl interpreter including # the stack, then destroys the original interpreter and runs the # remaining code using the new one. -# This is like doing a psuedo-fork and exiting the parent. +# This is like doing a pseudo-fork and exiting the parent. use Config; if (not $Config{'useithreads'}) { diff --git a/handy.h b/handy.h index 59ffba552ada..76664638bf76 100644 --- a/handy.h +++ b/handy.h @@ -834,7 +834,7 @@ the variants. =cut -Here and below, we add the protoypes of these macros for downstream programs +Here and below, we add the prototypes of these macros for downstream programs that would be interested in them, such as Devel::PPPort =for apidoc Am|bool|isALPHANUMERIC|UV ch @@ -2408,7 +2408,7 @@ typedef U32 line_t; #define OCTAL_VALUE(c) (__ASSERT_(isOCTAL(c)) (7 & (c))) /* Efficiently returns a boolean as to if two native characters are equivalent - * case-insenstively. At least one of the characters must be one of [A-Za-z]; + * case-insensitively. At least one of the characters must be one of [A-Za-z]; * the ALPHA in the name is to remind you of that. This is asserted() in * DEBUGGING builds. Because [A-Za-z] are invariant under UTF-8, this macro * works (on valid input) for both non- and UTF-8-encoded bytes. diff --git a/hints/aix.sh b/hints/aix.sh index 7880ed3c806c..9f9b32c97460 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -566,7 +566,7 @@ fi # * Does not fully support the IEEE special numbers NaN and INF. # * Does not support IEEE status flags for overflow, underflow, # and other conditions. These flags have no meaning for the 128-bit -# long double inplementation. +# long double implementation. # * The 128-bit long double data type does not support the following math # APIs: atanhl, cbrtl, copysignl, exp2l, expm1l, fdiml, fmal, fmaxl, # fminl, hypotl, ilogbl, llrintl, llroundl, log1pl, log2l, logbl, diff --git a/locale.c b/locale.c index 5d6566f8f243..fa2c68f28874 100644 --- a/locale.c +++ b/locale.c @@ -2528,7 +2528,7 @@ the other advantages of C; not keeping C in the C =item * The system function it replaces can have its static return buffer trashed, -not only by a subesequent call to that function, but by a C, +not only by a subsequent call to that function, but by a C, C, or other locale change. The returned buffer of this function is not changed until the next call to it, so the buffer is never in a trashed state. diff --git a/metaconfig.SH b/metaconfig.SH index 7cc35a431fab..039a87f52f08 100755 --- a/metaconfig.SH +++ b/metaconfig.SH @@ -15,7 +15,7 @@ # H.Merijn Brand [17 Feb 2004] # This comment is just to ensure that Configure will find variables that # are removed/replaced in patches on blead, but are still needed in the -# 5.8.x, 5.6.x and 5.005.x maintainance tracks. +# 5.8.x, 5.6.x and 5.005.x maintenance tracks. # metaconfig -m will scan all .SH files on this level (not deeper), and # not in other subfolders. This file is as good as any .SH # patch references diff --git a/op.h b/op.h index e286f8b30420..f5cda92ecfa3 100644 --- a/op.h +++ b/op.h @@ -859,7 +859,7 @@ Return a member of the XOP structure. C is a cpp token indicating which entry to return. If the member is not set this will return a default value. The return type depends on C. This macro evaluates its arguments more than -once. If you are using C to retreive a +once. If you are using C to retrieve a C from a C, use the more efficient L instead. =for apidoc Am||XopENTRYCUSTOM|const OP *o|which diff --git a/os2/OS2/OS2-Process/Makefile.PL b/os2/OS2/OS2-Process/Makefile.PL index c24af0c1ed5d..3184130c0cd6 100644 --- a/os2/OS2/OS2-Process/Makefile.PL +++ b/os2/OS2/OS2-Process/Makefile.PL @@ -35,7 +35,7 @@ sub create_constants { '-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)_', '-F', '-DINCL_NLS -DINCL_BASE -DINCL_PM', # Define more symbols 'os2emx.h' # EMX version of OS/2 API - and warn("Can't build module with contants, falling back to no constants"), + and warn("Can't build module with constants, falling back to no constants"), return; rename 'OS2/Process/Const', 'Process_constants' or warn("Error renaming module, falling back to no constants: $!"), diff --git a/pad.c b/pad.c index 7e5e2365f70c..7e681386f616 100644 --- a/pad.c +++ b/pad.c @@ -1070,7 +1070,7 @@ associated with the C field of a fake pad name. Note that C is recursive; it recurses up the chain of CVs, then comes back down, adding fake entries as it goes. It has to be this way -because fake names in anon protoypes have to store in C the +because fake names in anon prototypes have to store in C the index into the parent pad. =cut diff --git a/plan9/config.plan9 b/plan9/config.plan9 index c5b427e6f452..b6408b06c011 100644 --- a/plan9/config.plan9 +++ b/plan9/config.plan9 @@ -299,7 +299,7 @@ /* HAS_MBLEN: * This symbol, if defined, indicates that the mblen routine is available - * to find the number of bytes in a multibye character. + * to find the number of bytes in a multibyte character. */ #define HAS_MBLEN /**/ diff --git a/plan9/config_h.sample b/plan9/config_h.sample index 651817827cc0..5ecf2632bfd6 100644 --- a/plan9/config_h.sample +++ b/plan9/config_h.sample @@ -224,7 +224,7 @@ /* HAS_MBLEN: * This symbol, if defined, indicates that the mblen routine is available - * to find the number of bytes in a multibye character. + * to find the number of bytes in a multibyte character. */ #define HAS_MBLEN /**/ diff --git a/pod/perl5100delta.pod b/pod/perl5100delta.pod index 6728559a95e3..de7affdd2c07 100644 --- a/pod/perl5100delta.pod +++ b/pod/perl5100delta.pod @@ -290,7 +290,7 @@ Cwd::cwd() may return a short directory name, and glob() may return short names as well. On the NTFS file system these short names can always be represented in the ANSI codepage. This will not be true for all other file system drivers; e.g. the FAT filesystem stores short filenames in the OEM -codepage, so some files on FAT volumes remain unaccessible through the +codepage, so some files on FAT volumes remain inaccessible through the ANSI APIs. Similarly, $^X, @INC, and $ENV{PATH} are preprocessed at startup to make diff --git a/pod/perl5180delta.pod b/pod/perl5180delta.pod index 79d2af3604a9..668e860ee05c 100644 --- a/pod/perl5180delta.pod +++ b/pod/perl5180delta.pod @@ -792,7 +792,7 @@ Perl's future on them, please contact us. We believe that Perl has long been unable to build on mixed endian architectures (such as PDP-11s), and intend to remove any remaining -support code. Similarly, code supporting the long umaintained GNU +support code. Similarly, code supporting the long unmaintained GNU dld will be removed soon if no-one makes themselves known as an active user. diff --git a/pod/perl5200delta.pod b/pod/perl5200delta.pod index 427a2a017cb9..d9e398fdbec2 100644 --- a/pod/perl5200delta.pod +++ b/pod/perl5200delta.pod @@ -2497,7 +2497,7 @@ a NULL C being passed to sv_2*v* functions, is if XS code defines its own getter type Sv*V* macros, which check for NULL B dereferencing and checking the SV's flags through public API Sv*OK* macros or directly using private API C, and if C is NULL, then calling the sv_2*v functions -with a NULL litteral or passing the C containing a NULL value. +with a NULL literal or passing the C containing a NULL value. =item * @@ -2914,7 +2914,7 @@ to, even when the subroutine was not an lvalue sub. This has been fixed. In Perl v5.18.0 dualvars that had an empty string for the string part but a non-zero number for the number part starting being treated as true. In previous versions they were treated as false, the string representation -taking precedeence. The old behaviour has been restored. [RT #118159] +taking precedence. The old behaviour has been restored. [RT #118159] =item * @@ -3544,7 +3544,7 @@ An initial C<{> at the beginning of a format argument line was always interpreted as the beginning of a block prior to v5.18. In Perl v5.18, it started being treated as an ambiguous token. The parser would guess whether it was supposed to be an anonymous hash constructor or a block -based on the contents. Now the previous behavious has been restored. +based on the contents. Now the previous behaviour has been restored. [perl #119973] =item * diff --git a/pod/perl5220delta.pod b/pod/perl5220delta.pod index 52df04b92da2..ca7918147673 100644 --- a/pod/perl5220delta.pod +++ b/pod/perl5220delta.pod @@ -683,8 +683,8 @@ C op. C now provides a C method returning a C object. Two new classes, C and C, have been introduced. -A bug where, after an ithread creation or psuedofork, special/immortal SVs in -the child ithread/psuedoprocess did not have the correct class of +A bug where, after an ithread creation or pseudofork, special/immortal SVs in +the child ithread/pseudoprocess did not have the correct class of C, has been fixed. The C and C PADLIST methods have been added. diff --git a/pod/perldata.pod b/pod/perldata.pod index b50f817dcaa8..c13a9ddd6cd5 100644 --- a/pod/perldata.pod +++ b/pod/perldata.pod @@ -126,7 +126,7 @@ rules apply: That is, a "start" character followed by any number of "continue" characters. Perl requires every character in an identifier to also match C<\w> (this prevents some problematic cases); and Perl -additionally accepts identfier names beginning with an underscore. +additionally accepts identifier names beginning with an underscore. If not under C, the source is treated as ASCII + 128 extra generic characters, and identifiers should match diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 2b83931de4a5..d7a57d86d008 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -3409,7 +3409,7 @@ The other common cause is for the characters $ + < = > ^ ` | ~ -These are probematic. The C standard says that these should be +These are problematic. The C standard says that these should be considered punctuation in the C locale (and the POSIX standard defers to the C standard), and Unicode is generally considered a superset of the C locale. But Unicode has added an extra category, "Symbol", and diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 6a983e78cbf8..5bffea73bb96 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -6971,7 +6971,7 @@ is the moral equivalent of these two: print(uc($bar), $baz); See L for more details on unary operators and the comma operator, -and L for details on evaluating a hash in scalar contex. +and L for details on evaluating a hash in scalar context. =item seek FILEHANDLE,POSITION,WHENCE X X X diff --git a/pod/perllocale.pod b/pod/perllocale.pod index e03dc84371e7..f2c5206fc3a2 100644 --- a/pod/perllocale.pod +++ b/pod/perllocale.pod @@ -377,7 +377,7 @@ example, use locale ':!ctype'; use locale ':not_ctype'; -both of which mean to enable locale awarness of all categories but +both of which mean to enable locale awareness of all categories but C. Only one category argument may be specified in a S> if it is of the negated form. diff --git a/pod/perlmodstyle.pod b/pod/perlmodstyle.pod index 74672acdb318..7629dd7a254d 100644 --- a/pod/perlmodstyle.pod +++ b/pod/perlmodstyle.pod @@ -119,7 +119,7 @@ Document purpose, scope and target applications =item * -Document each publically accessible method or subroutine, including params and return values +Document each publicly accessible method or subroutine, including params and return values =item * @@ -497,7 +497,7 @@ The purpose, scope and target applications of your module =item * -Use of each publically accessible method or subroutine, including +Use of each publicly accessible method or subroutine, including parameters and return values =item * diff --git a/pod/perlpacktut.pod b/pod/perlpacktut.pod index bf8f93a810c9..229d39523bc3 100644 --- a/pod/perlpacktut.pod +++ b/pod/perlpacktut.pod @@ -1033,7 +1033,7 @@ C standardese). Neither using offsets nor adding C's to bridge the gaps is satisfactory. (Just imagine what happens if the structure changes.) What we really need is a way of saying "skip as many bytes as required to the next multiple of N". -In fluent Templatese, you say this with C where N is replaced by the +In fluent templates, you say this with C where N is replaced by the appropriate value. Here's the next version of our struct packaging: my $gappy = pack( 'c x!2 s c x!4 l!', $c1, $s, $c2, $l ); diff --git a/pod/perlsec.pod b/pod/perlsec.pod index c110324876e2..d5e1c0ba0a88 100644 --- a/pod/perlsec.pod +++ b/pod/perlsec.pod @@ -608,7 +608,7 @@ take its own security precautions such as turning on taint mode. Where C configuration dictates exactly which command can be run, the approved command may include a C<-T> option to perl to enable taint mode. -In general, it is necessary to evaluate the suitaility of a script to +In general, it is necessary to evaluate the suitability of a script to run under C specifically with that kind of execution environment in mind. It is neither necessary nor sufficient for the same script to be suitable to run in a traditional set-id arrangement, though many of diff --git a/pod/perluniintro.pod b/pod/perluniintro.pod index 14e8c513f0cc..16f349fed7b8 100644 --- a/pod/perluniintro.pod +++ b/pod/perluniintro.pod @@ -151,7 +151,7 @@ serious Unicode work. The maintenance release 5.6.1 fixed many of the problems of the initial Unicode implementation, but for example regular expressions still do not work with Unicode in 5.6.1. Perl v5.14.0 is the first release where Unicode support is -(almost) seamlessly integrable without some gotchas. (There are a few +(almost) seamlessly integratable without some gotchas. (There are a few exceptions. Firstly, some differences in L were fixed starting in Perl 5.16.0. Secondly, some differences in L were fixed starting in diff --git a/regen/reentr.pl b/regen/reentr.pl index ba2e1c8fa643..9d93fdf1fff5 100644 --- a/regen/reentr.pl +++ b/regen/reentr.pl @@ -192,7 +192,7 @@ sub open_print_header { my %seenm; # all the types my %seenu; # the length of the argument list of this function -while () { # Read in the protoypes. +while () { # Read in the prototypes. next if /^\s+$/; chomp; my ($func, $hdr, $type, @p) = split(/\s*\|\s*/, $_, -1); diff --git a/t/op/tr_latin1.t b/t/op/tr_latin1.t index 9d08652aaf37..46a29906f863 100644 --- a/t/op/tr_latin1.t +++ b/t/op/tr_latin1.t @@ -9,7 +9,7 @@ BEGIN { plan tests => 2; -{ # This test is malloc senstive. Right now on some platforms anyway, space +{ # This test is malloc sensitive. Right now on some platforms anyway, space # for the final \xff needs to be mallocd, and that's what caused the # problem, because the '-' had already been parsed and was later added # without making space for it diff --git a/t/re/reg_eval_scope.t b/t/re/reg_eval_scope.t index 3bf937d251e0..d702dead6ae2 100644 --- a/t/re/reg_eval_scope.t +++ b/t/re/reg_eval_scope.t @@ -223,7 +223,7 @@ CODE { - local $::TODO = "goto doesn't yet work in pseduo blocks"; + local $::TODO = "goto doesn't yet work in pseudo blocks"; fresh_perl_is <<'CODE', my $a=4; my $b=5; "a" =~ /(?{ goto FOO; print "X"; FOO: print "Y"; })a/; diff --git a/t/win32/popen.t b/t/win32/popen.t index eca0a1d67cf5..07ac390a51bb 100644 --- a/t/win32/popen.t +++ b/t/win32/popen.t @@ -6,7 +6,7 @@ BEGIN { require "./test.pl"; require Config; $Config::Config{d_pseudofork} - or skip_all("no psuedo-fork"); + or skip_all("no pseudo-fork"); eval 'use Errno'; die $@ if $@ and !is_miniperl(); } diff --git a/uconfig.h b/uconfig.h index 0d11b39c5a1c..21a06cafc35b 100644 --- a/uconfig.h +++ b/uconfig.h @@ -220,7 +220,7 @@ /* HAS_MBLEN: * This symbol, if defined, indicates that the mblen routine is available - * to find the number of bytes in a multibye character. + * to find the number of bytes in a multibyte character. */ /*#define HAS_MBLEN / **/ @@ -2986,7 +2986,7 @@ /* HAS_MEMMEM: * This symbol, if defined, indicates that the memmem routine is - * available to return a pointer to the start of the first occurance + * available to return a pointer to the start of the first occurrence * of a substring in a memory area (or NULL if not found). * In glibc, memmem is a GNU extension. The function is visible in * libc, but the prototype is only visible if _GNU_SOURCE is #defined. @@ -5269,6 +5269,6 @@ #endif /* Generated from: - * 01e063baa480bd3d905cba5dd04b87cd95a1053e64a1cc35884563a66548975e config_h.SH + * c61677bd68360e1b03a0e5fd070cc1a739c01e71988872c4e414e3c69328bc9b config_h.SH * 4c3159a6a9875b7811c2a920d7936d5199193afdb163473c313b9531ba2c0648 uconfig.sh * ex: set ro: */ diff --git a/utf8.c b/utf8.c index 7dc7e75c53fc..dc343cce8d79 100644 --- a/utf8.c +++ b/utf8.c @@ -1481,7 +1481,7 @@ directly. This function is for code that needs to know what the precise malformation(s) are when an error is found, and wants the corresponding warning and/or error messages to be returned to the caller rather than be displayed. All messages -that would have been displayed if all lexcial warnings are enabled will be +that would have been displayed if all lexical warnings are enabled will be returned. It is just like C> but it takes an extra parameter diff --git a/util.c b/util.c index a03c54e84038..df43cdd237e4 100644 --- a/util.c +++ b/util.c @@ -6446,7 +6446,7 @@ Perl_get_c_backtrace(pTHX_ int depth, int skip) /* =for apidoc free_c_backtrace -Deallocates a backtrace received from get_c_bracktrace. +Deallocates a backtrace received from get_c_backtrace. =cut */ diff --git a/win32/config_H.gc b/win32/config_H.gc index e00c00d87c66..72b7013d4da6 100644 --- a/win32/config_H.gc +++ b/win32/config_H.gc @@ -220,7 +220,7 @@ /* HAS_MBLEN: * This symbol, if defined, indicates that the mblen routine is available - * to find the number of bytes in a multibye character. + * to find the number of bytes in a multibyte character. */ #define HAS_MBLEN /**/ @@ -2961,7 +2961,7 @@ /* HAS_MEMMEM: * This symbol, if defined, indicates that the memmem routine is - * available to return a pointer to the start of the first occurance + * available to return a pointer to the start of the first occurrence * of a substring in a memory area (or NULL if not found). */ /*#define HAS_MEMMEM / **/ diff --git a/win32/config_H.vc b/win32/config_H.vc index 510d364e06d4..be0d90a96468 100644 --- a/win32/config_H.vc +++ b/win32/config_H.vc @@ -220,7 +220,7 @@ /* HAS_MBLEN: * This symbol, if defined, indicates that the mblen routine is available - * to find the number of bytes in a multibye character. + * to find the number of bytes in a multibyte character. */ #define HAS_MBLEN /**/ @@ -2952,7 +2952,7 @@ /* HAS_MEMMEM: * This symbol, if defined, indicates that the memmem routine is - * available to return a pointer to the start of the first occurance + * available to return a pointer to the start of the first occurrence * of a substring in a memory area (or NULL if not found). */ /*#define HAS_MEMMEM / **/ diff --git a/zaphod32_hash.h b/zaphod32_hash.h index 2fb391a2337d..aea3532383fe 100644 --- a/zaphod32_hash.h +++ b/zaphod32_hash.h @@ -145,7 +145,7 @@ void zaphod32_seed_state ( if (!state[0]) state[0] = 1; if (!state[1]) state[1] = 2; if (!state[2]) state[2] = 4; - /* these are pseduo-randomly selected primes between 2**31 and 2**32 + /* these are pseudo-randomly selected primes between 2**31 and 2**32 * (I generated a big list and then randomly chose some from the list) */ ZAPHOD32_SCRAMBLE32(state[0],0x9fade23b); ZAPHOD32_SCRAMBLE32(state[1],0xaa6f908d);