[Perl/perl5] 7465f8: locale.c: Add commit number to comments

2023-07-17 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 7465f862296e7293142576ca204e0d23f52a5f9d
  
https://github.com/Perl/perl5/commit/7465f862296e7293142576ca204e0d23f52a5f9d
  Author: Karl Williamson 
  Date:   2023-07-17 (Mon, 17 Jul 2023)

  Changed paths:
M locale.c

  Log Message:
  ---
  locale.c: Add commit number to comments

to refer to details of the problem




[Perl/perl5] 1710c1: perl.h: White space, comments only

2023-07-17 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 1710c1f7a8731fcf35d76d1fccb8937d954e6234
  
https://github.com/Perl/perl5/commit/1710c1f7a8731fcf35d76d1fccb8937d954e6234
  Author: Karl Williamson 
  Date:   2023-07-17 (Mon, 17 Jul 2023)

  Changed paths:
M perl.h

  Log Message:
  ---
  perl.h: White space, comments only




[Perl/perl5] 88576f: Remove the duplicate "to"

2023-07-17 Thread Elvin Aslanov via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 88576f3ebc35e648ca154ea7a8bb1a7f8b07da64
  
https://github.com/Perl/perl5/commit/88576f3ebc35e648ca154ea7a8bb1a7f8b07da64
  Author: Elvin Aslanov 
  Date:   2023-07-17 (Mon, 17 Jul 2023)

  Changed paths:
M gv.c
M locale.c
M perlio.c

  Log Message:
  ---
  Remove the duplicate "to"

Correct spelling in comments




[Perl/perl5] a21a2d: pp.c: Use utf8_hop_back instead of rolling our own

2023-07-17 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: a21a2dda119c764ed17277d02fcc79e8e7a0a025
  
https://github.com/Perl/perl5/commit/a21a2dda119c764ed17277d02fcc79e8e7a0a025
  Author: Karl Williamson 
  Date:   2023-07-17 (Mon, 17 Jul 2023)

  Changed paths:
M pp.c

  Log Message:
  ---
  pp.c: Use utf8_hop_back instead of rolling our own

This is inlined, so shouldn't be any slower, and fixing bugs will be
done in a single place




[Perl/perl5] ef4802: utf8_hop_back: Check before derefencing

2023-07-17 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: ef4802ef98d93b7e79e66c7b4682cbbf6a50214f
  
https://github.com/Perl/perl5/commit/ef4802ef98d93b7e79e66c7b4682cbbf6a50214f
  Author: Karl Williamson 
  Date:   2023-07-17 (Mon, 17 Jul 2023)

  Changed paths:
M inline.h

  Log Message:
  ---
  utf8_hop_back: Check before derefencing

This conditional derefenced before checking if it is safe to dereference




[Perl/perl5] a5fea3: locale.c: Add missing mutex locks

2023-07-17 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: a5fea3d62850346b762a77145cd0318378c48d2d
  
https://github.com/Perl/perl5/commit/a5fea3d62850346b762a77145cd0318378c48d2d
  Author: Karl Williamson 
  Date:   2023-07-17 (Mon, 17 Jul 2023)

  Changed paths:
M locale.c

  Log Message:
  ---
  locale.c: Add missing mutex locks

This adds locks around mbrtowc and reading the environment that a code
review indicated were missing.  The mbrtowc lock is currently a no-op,
but a future commit will change that.  The other lock is in code rarely
compiled.




[Perl/perl5] fe1a8f: t/porting/podcheck.t - some verbatim text is copie...

2023-07-17 Thread Yves Orton via perl5-changes
  Branch: refs/heads/yves/fixup_perlreapi_pod
  Home:   https://github.com/Perl/perl5
  Commit: fe1a8f18cdaabbd861cd3963b9b403d3ccb39716
  
https://github.com/Perl/perl5/commit/fe1a8f18cdaabbd861cd3963b9b403d3ccb39716
  Author: Yves Orton 
  Date:   2023-07-17 (Mon, 17 Jul 2023)

  Changed paths:
M t/porting/podcheck.t

  Log Message:
  ---
  t/porting/podcheck.t - some verbatim text is copied from the source

So we should check if it is still in sync with the source, and ignore
any line length issues as the source needs to be changed, not the copy.

To enable this simply put "file source: FILENAME" or
"copied from: FILENAME" in the first line of the verbatim text.


  Commit: cf5c279505c924f9273919d7e876f214624efa6e
  
https://github.com/Perl/perl5/commit/cf5c279505c924f9273919d7e876f214624efa6e
  Author: Yves Orton 
  Date:   2023-07-17 (Mon, 17 Jul 2023)

  Changed paths:
M pod/perlreapi.pod
M regexp.h

  Log Message:
  ---
  regexp.h/perlreapi.pod - synchronize struct regexp documentation with source

and update the individual struct members documentation accordingly,
some time ago this structure was synchonize with the SV structure,
so some members that used to be documented are now actually macros.

This also includes a couple of field reordering to make the struct
easier to understand and also to cluster the 32 bit fields together
so that the structure is a minimal size.

Thanks to Tony C for noticing this and calling it to my attention.


Compare: https://github.com/Perl/perl5/compare/c1298638e49e...cf5c279505c9