summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorJames E Keenan <jkeenan@cpan.org>2022-12-24 20:35:02 +0000
committerJames E Keenan <jkeenan@cpan.org>2022-12-29 09:39:58 -0500
commit0c6362adf0496a5a25d8b78534541f988ac9ce16 (patch)
tree2568e25b5103297354fd1cdd9f80b8ec71871b76 /perl.c
parentf4ae97d054e8c75132cb621539374553cf48f64d (diff)
downloadperl-0c6362adf0496a5a25d8b78534541f988ac9ce16.tar.gz
Correct typos as per GH 20435
In GH 20435 many typos in our C code were corrected. However, this pull request was not applied to blead and developed merge conflicts. I extracted diffs for the individual modified files and applied them with 'git apply', excepting four files where patch conflicts were reported. Those files were: handy.h locale.c regcomp.c toke.c We can handle these in a subsequent commit. Also, had to run these two programs to keep 'make test_porting' happy: $ ./perl -Ilib regen/uconfig_h.pl $ ./perl -Ilib regen/regcomp.pl regnodes.h
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl.c b/perl.c
index b19578c828..14b3d1b634 100644
--- a/perl.c
+++ b/perl.c
@@ -388,7 +388,7 @@ perl_construct(pTHXx)
PERL_HASH_WITH_STATE(PL_hash_state,PL_hash_chars[256],str,0);
}
#endif
- /* at this point we have initialezed the hash function, and we can start
+ /* at this point we have initialized the hash function, and we can start
* constructing hashes */
PL_hash_seed_set= TRUE;
}
@@ -3475,7 +3475,7 @@ Perl_get_debug_opts(pTHX_ const char **s, bool givehelp)
* If there is a free slot available marked with '?' feel
* free to reuse it for something else.
*
- * Regardles remember to update DEBUG_MASK in perl.h, and
+ * Regardless remember to update DEBUG_MASK in perl.h, and
* update the documentation above AND in pod/perlrun.pod.
*
* Note that the ? indicates an unused slot. As the code below