diff options
author | James E Keenan <jkeenan@cpan.org> | 2022-12-24 20:35:02 +0000 |
---|---|---|
committer | James E Keenan <jkeenan@cpan.org> | 2022-12-29 09:39:58 -0500 |
commit | 0c6362adf0496a5a25d8b78534541f988ac9ce16 (patch) | |
tree | 2568e25b5103297354fd1cdd9f80b8ec71871b76 /av.c | |
parent | f4ae97d054e8c75132cb621539374553cf48f64d (diff) | |
download | perl-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 'av.c')
-rw-r--r-- | av.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -287,11 +287,11 @@ Perl_av_fetch(pTHX_ AV *av, SSize_t key, I32 lval) if ((Size_t)key >= (Size_t)size) { if (UNLIKELY(neg)) return NULL; - goto emptyness; + goto emptiness; } if (!AvARRAY(av)[key]) { - emptyness: + emptiness: return lval ? av_store(av,key,newSV_type(SVt_NULL)) : NULL; } @@ -655,7 +655,7 @@ void Perl_av_undef(pTHX_ AV *av) { bool real; - SSize_t orig_ix = PL_tmps_ix; /* silence bogus warning about possible unitialized use */ + SSize_t orig_ix = PL_tmps_ix; /* silence bogus warning about possible uninitialized use */ PERL_ARGS_ASSERT_AV_UNDEF; assert(SvTYPE(av) == SVt_PVAV); |