develooper Front page | perl.perl5.changes | Postings from August 2022

[Perl/perl5] ef6b2b: perl.c - remove code for reporting state ofnon-ex...

Thread Previous
Yves Orton via perl5-changes
August 6, 2022 22:00
[Perl/perl5] ef6b2b: perl.c - remove code for reporting state ofnon-ex...
Message ID:
  Branch: refs/heads/yves/reduce_tech_debt_perl_c
  Commit: ef6b2b73e7bba637f101cc96f2d59dba7dab76f3
  Author: Yves Orton <>
  Date:   2022-08-06 (Sat, 06 Aug 2022)

  Changed paths:
    M hv_func.h
    M perl.c

  Log Message:
  perl.c - remove code for reporting state of non-existent defines in -V

Most of the hash based defines are no longer supported, so remove them.
Also at the same time introduce a new simpler way to track which hash
function we are using. Also add the info about if SBOX32 is in use.

This removes the need to keep the list of hash functions supported in
two places, hv_func.h and perl.c. Instead hv_func.h drives the whole
process and perl.c just does what it is told.

Previously the way to control SBOX32 was to use a define with a value
but our perl -V output currently doesnt support that, so this adds some
two new defines PERL_HASH_USE_SBOX32 and PERL_HASH_NO_SBOX32 which map
to the older PERL_HASH_USE_SBOX32_ALSO flag define (integer 1/0).
Both are still supported, this just makes everything more consistent.

This also includes minor doc changes to INSTALL to mention -Accflags
as being the way to set these defines during the Configure process.

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About